IndexError: list index out of range while importing wrl file #51334
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#51334
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 10 and Windows 7 (Intel GPU)
Blender Version
Broken: 2.78c
Short description of error
Addon: Import VRML/X3D
IndexError: list index out of range while importing wrl file
Exact steps for others to reproduce the error
Traceback (most recent call last):
IndexError: list index out of range
location: :-1
With MeshLab 2016.12 I can open the file.
unita65_XXX.wrl
Changed status to: 'Open'
Added subscriber: @FabrizioPelosi
Added subscribers: @mont29, @ideasman42, @Sergey
@ideasman42, guess this one is again for you? Or maybe @mont29? :)
Added subscriber: @BrendonMurphy
Changed status from 'Open' to: 'Archived'
no activity 2017, closing as archived
Added subscriber: @davidbgh
[exported from SolidWorks 2013] [VRML 97] [Blender 2.83.2]
This happens for me, if the .wrl contains only one object/part. (if the solidworks assembly contains only one part then it fails, but succeed when contains two)
Added subscriber: @ilya.methot.3ds
I have this exact same problem and it has made it impossible to import any of my VRML files
Changed status from 'Archived' to: 'Needs Triage'
Re-opening, because lack of activity was from the developer team.
We should not ship addon which can not handle simple files import. We should either fix the code, or remove support of legacy files which are not supported due to issues in the code anyway.
@BrendonMurphy, Could you please help evaluating the state of this addon?
Added subscriber: @rjg
The issue appears to be that there is only a single color defined while there are a number of faces. Trying to enumerate the faces and using the index of the face to access a color is therefore expected to fail. While I have only taken a quick look at the the X3D and VRML specification, I think the file is potentially invalid.
Changed status from 'Needs Triage' to: 'Archived'
Based on the following section of the specification about the
IndexedFaceSet
the file is invalid:The file contains an
IndexedFaceSet
, thecolorPerVertex
is set toFALSE
, yet there is only one color defined:For the record, PR #1 will fix the issue and load this invalid file.
@Hombre57 What exact PR you're referring to? The current link to it appears to be broken.
Hi @Sergey, I finally find out how to make a proper link to a subproject PR : extensions/io_scene_x3d#1 Sorry for the inconvenience.