Exported file fails to be imported.
See original GitHub issueDescribe 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:
- Created 2 years ago
- Comments:29 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
I can trigger NODE_PARENT_OVERRIDE with the following setup