Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object does not support item assignment #369

Open
hesic73 opened this issue Nov 1, 2024 · 1 comment
Open

TypeError: 'NoneType' object does not support item assignment #369

hesic73 opened this issue Nov 1, 2024 · 1 comment

Comments

@hesic73
Copy link

hesic73 commented Nov 1, 2024

No informative error message, no detailed bug report. But I suspect this is because phobos doesn't support importing .glb files.

Python: Traceback (most recent call last):
  File "/home/sichengh/.config/blender/3.3/scripts/addons/phobos/blender/operators/io.py", line 324, in execute
    createRobot(robot)
  File "/home/sichengh/.config/blender/3.3/scripts/addons/phobos/blender/io/phobos2blender.py", line 549, in createRobot
    newlink = createLink(link)
  File "/home/sichengh/.config/blender/3.3/scripts/addons/phobos/blender/io/phobos2blender.py", line 210, in createLink
    geom = createGeometry(viscol, 'visual')
  File "/home/sichengh/.config/blender/3.3/scripts/addons/phobos/blender/io/phobos2blender.py", line 82, in createGeometry
    newgeom.data = geometry.load_mesh()
  File "/home/sichengh/.config/blender/3.3/scripts/addons/phobos/io/representation.py", line 870, in load_mesh
    self._mesh_object["input_file"] = self.input_file
TypeError: 'NoneType' object does not support item assignment
@mirkow
Copy link

mirkow commented Feb 12, 2025

I have the same error when using a glb mesh file. Would be great to have glb support. Blender itself can import the glb files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants