Web3D importer fails to import some .wrl files #104399

Closed
opened 2023-02-08 13:55:15 +01:00 by gerard · 1 comment

System Information
Operating system: macOS-13.2-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Apple 4.1 Metal - 83

Blender Version
Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: rB55485cb379f7
Worked: never?

Addon Information
Name: Web3D X3D/VRML2 format (2, 3, 1)
Author: Campbell Barton, Bart, Bastien Montagne, Seva Alekseyev

Short description of error

Report: Error

Python: Traceback (most recent call last):
File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/_init_-py",line 60, in execute retum import ×3d.load(context, **keywords)
File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/mport_›3d.py",line3635,inload load web3d(context, filepath,
File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/mport_›3d.py",line3534,inloadweb3d
importShape(bpycollection, node, ancestry, global matrix)
File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/mport_›3d.py",line3148,inimportShape
bpydata = geom fn(geom, ancestry)
File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/mport_›3d.py",line1900,inimportMeshIndexedFaceSet if len(points) >= 2 * len(index): # Need to cull
TypeError: object of type 'NoneType' has no len()

Exact steps for others to reproduce the error

Import attached "ABS07-32.768KHZ-T.wrl" file.

The file loads and renders just fine in https://www.instantreality.org/ viewer app.

**System Information** Operating system: macOS-13.2-arm64-arm-64bit 64 Bits Graphics card: Apple M1 Apple 4.1 Metal - 83 **Blender Version** Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: `rB55485cb379f7` Worked: never? **Addon Information** Name: Web3D X3D/VRML2 format (2, 3, 1) Author: Campbell Barton, Bart, Bastien Montagne, Seva Alekseyev **Short description of error** Report: Error ``` Python: Traceback (most recent call last): File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/_init_-py",line 60, in execute retum import ×3d.load(context, **keywords) File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/mport_›3d.py",line3635,inload load web3d(context, filepath, File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/mport_›3d.py",line3534,inloadweb3d importShape(bpycollection, node, ancestry, global matrix) File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/mport_›3d.py",line3148,inimportShape bpydata = geom fn(geom, ancestry) File "/sers/gerard/Desktop/Blender3.4.1.app/Contents/Resources/3.4/scripts/addons/o_scene_›3d/mport_›3d.py",line1900,inimportMeshIndexedFaceSet if len(points) >= 2 * len(index): # Need to cull TypeError: object of type 'NoneType' has no len() ``` **Exact steps for others to reproduce the error** Import attached "ABS07-32.768KHZ-T.wrl" file. The file loads and renders just fine in https://www.instantreality.org/ viewer app.
gerard added the
Type
Report
label 2023-02-08 13:55:15 +01:00
Germano Cavalcante added the
Status
Confirmed
label 2023-02-08 14:10:45 +01:00
Germano Cavalcante changed title from inimportMeshIndexedFaceSet if len(points) >= 2 * len(index): # Need to cull TypeError: object of type 'NoneType' has no len() to Web3D importer fails to import some .wrl files 2023-02-08 14:13:24 +01:00

I can confirm, however this issue has been reported before, see #98442.
Will merge reports.
Please subscribe in #98442 if you want to see further updates

I can confirm, however this issue has been reported before, see #98442. Will merge reports. Please subscribe in #98442 if you want to see further updates
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-02-08 14:15:45 +01:00
Germano Cavalcante added
Status
Duplicate
and removed
Status
Archived
labels 2023-02-08 14:15:57 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#104399
No description provided.