Failure importing x3d file #102383

Closed
opened 2022-11-09 15:46:23 +01:00 by Mark Blair · 5 comments

System Information
Operating system: Windows 10 & 11
Graphics card: NVIDIA T600 Laptop GPU

Blender Version
Broken: 2.9.3, 3.2.2, 3.3.0
Worked: Unknown

Short description of error
Importing file results in error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Projects\Blender\test.py", line 4, in <module>
    bpy.ops.import_scene.x3d(filepath=sourceFilePath)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\bpy\ops.py", line 132, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_x3d\__init__.py", line 78, in execute
    return import_x3d.load(context, **keywords)
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_x3d\import_x3d.py", line 3636, in load
    load_web3d(context, filepath,
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_x3d\import_x3d.py", line 3569, in load_web3d
    bpyob.select_set(True)
NameError: name 'bpyob' is not defined

Exact steps for others to reproduce the error
house.wrl

Import the file.

**System Information** Operating system: Windows 10 & 11 Graphics card: NVIDIA T600 Laptop GPU **Blender Version** Broken: 2.9.3, 3.2.2, 3.3.0 Worked: Unknown **Short description of error** Importing file results in error: ``` Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Projects\Blender\test.py", line 4, in <module> bpy.ops.import_scene.x3d(filepath=sourceFilePath) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\bpy\ops.py", line 132, in __call__ ret = _op_call(self.idname_py(), None, kw) RuntimeError: Error: Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_x3d\__init__.py", line 78, in execute return import_x3d.load(context, **keywords) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_x3d\import_x3d.py", line 3636, in load load_web3d(context, filepath, File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_x3d\import_x3d.py", line 3569, in load_web3d bpyob.select_set(True) NameError: name 'bpyob' is not defined ``` **Exact steps for others to reproduce the error** [house.wrl](https://archive.blender.org/developer/F13876232/house.wrl) Import the file.
Author

Added subscriber: @Mark-Blair

Added subscriber: @Mark-Blair

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Richard Antalik changed title from Failure importing x3d file: name 'bpyob' is not defined to Failure importing x3d file 2022-11-09 20:42:01 +01:00
Author

Submitted Patch to fix: https://developer.blender.org/D16455

Submitted Patch to fix: https://developer.blender.org/D16455
Mark Blair self-assigned this 2022-11-10 19:20:55 +01:00

This issue was referenced by c79b5d9325

This issue was referenced by c79b5d93258cd8eac579d18a268d4a0400b85673

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#102383
No description provided.