question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exported file fails to be imported.

See original GitHub issue

Describe the bug

Hi I exported a file with the add-on and when I try to import the file into Blender I can’t because it reports an error.

The only way is opening the glb exported and save the file again with CAD Assistant in glb format and import the model saved by CAD Assistant, below the error in the python console.

I cannot share the file because it is 470mb and private

I hope you can understand from this information what the problem may be with the add-on

Python: Traceback (most recent call last):
  File "/home/paf/Software/blender-2.93.5/2.93/scripts/addons/io_scene_gltf2/__init__.py", line 1050, in execute
    return self.import_gltf2(context)
  File "/home/paf/Software/blender-2.93.5/2.93/scripts/addons/io_scene_gltf2/__init__.py", line 1064, in import_gltf2
    if self.unit_import(path, import_settings) == {'FINISHED'}:
  File "/home/paf/Software/blender-2.93.5/2.93/scripts/addons/io_scene_gltf2/__init__.py", line 1084, in unit_import
    BlenderGlTF.create(gltf_importer)
  File "/home/paf/Software/blender-2.93.5/2.93/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py", line 42, in create
    BlenderGlTF._create(gltf)
  File "/home/paf/Software/blender-2.93.5/2.93/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py", line 49, in _create
    BlenderScene.create(gltf)
  File "/home/paf/Software/blender-2.93.5/2.93/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_scene.py", line 37, in create
    compute_vnodes(gltf)
  File "/home/paf/Software/blender-2.93.5/2.93/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_vnode.py", line 26, in compute_vnodes
    init_vnodes(gltf)
  File "/home/paf/Software/blender-2.93.5/2.93/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_vnode.py", line 129, in init_vnodes
    assert gltf.vnodes[child].parent is None
AssertionError

location: <unknown location>:-1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:29 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
juliendurourecommented, Oct 7, 2021

Ok, so seems the problem will be fixed by #1378 Tagging the ticket as duplicate. Don’t hesitate to open a new ticket if you found another bug

1reaction
scurestcommented, Sep 8, 2021

I can trigger NODE_PARENT_OVERRIDE with the following setup

Outliner screenshot

  • There is a Cube object. The Cube is contained in a collection named “Collection”.
  • There is a Collection Instance of “Collection”. The Collection Instance is contained in a collection named “SuperCollection”.
  • There is a Collection Instance of “SuperCollection”.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when importing or exporting files - Outlook
This issue occurs if certain translator files or certain database converters are not available because they were not installed during Setup.
Read more >
How to troubleshoot issues with imported/exported files
Go back to the database from where you got the file and get it again, possibly using a different format. Open the file...
Read more >
Recovering from a failed import or export - IBM
When a file import or export stops unexpectedly, you can continue the operation by reissuing the original command with the appropriate -continue option....
Read more >
Import/Export File Problem
If you are importing and the import file contains errors, go to the application where you created the import file, then correct the...
Read more >
Common Errors with Exporting and Importing Translation Files
Export your file again, and make sure that each key in it is unique. Then import the file again. File contains translation keys...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found