Skip to content

Instantly share code, notes, and snippets.

@cjac
Created July 25, 2020 20:23
Show Gist options
  • Save cjac/f75adea38c3ffcbbe185a996cc4b9baa to your computer and use it in GitHub Desktop.
Save cjac/f75adea38c3ffcbbe185a996cc4b9baa to your computer and use it in GitHub Desktop.
cjac@cjac:~/src/github/cjac/jenkara/src/mdl/assimp$ blender
Read prefs: /home/cjac/.config/blender/2.82/config/userpref.blend
Warning: property 'release_confirm' not found in keymap item 'OperatorProperties'
File "/usr/share/blender/scripts/addons/io_scene_gltf2/io/com/gltf2_io.py", line 46, in from_union
return f(x)
File "/usr/share/blender/scripts/addons/io_scene_gltf2/io/com/gltf2_io.py", line 1162, in <lambda>
accessors = from_union([lambda x: from_list(Accessor.from_dict, x), from_none], obj.get("accessors"))
File "/usr/share/blender/scripts/addons/io_scene_gltf2/io/com/gltf2_io.py", line 70, in from_list
assert isinstance(x, list)
20:22:57 | ERROR: An error occurred on line 46 in statement return f(x)
20:22:57 | ERROR: An error occurred on line 1162 in statement accessors = from_union([lambda x: from_list(Accessor.from_dict, x), from_none], obj.get("accessors"))
20:22:57 | ERROR: An error occurred on line 70 in statement assert isinstance(x, list)
File "/usr/share/blender/scripts/addons/io_scene_gltf2/io/com/gltf2_io.py", line 46, in from_union
return f(x)
File "/usr/share/blender/scripts/addons/io_scene_gltf2/io/com/gltf2_io.py", line 38, in from_none
assert x is None
20:22:57 | ERROR: An error occurred on line 46 in statement return f(x)
20:22:57 | ERROR: An error occurred on line 38 in statement assert x is None
Traceback (most recent call last):
File "/usr/share/blender/scripts/addons/io_scene_gltf2/__init__.py", line 850, in execute
return self.import_gltf2(context)
File "/usr/share/blender/scripts/addons/io_scene_gltf2/__init__.py", line 864, in import_gltf2
if self.unit_import(path, import_settings) == {'FINISHED'}:
File "/usr/share/blender/scripts/addons/io_scene_gltf2/__init__.py", line 877, in unit_import
success, txt = self.gltf_importer.read()
File "/usr/share/blender/scripts/addons/io_scene_gltf2/io/imp/gltf2_io_gltf.py", line 165, in read
self.data = gltf_from_dict(json.loads(content, parse_constant=glTFImporter.bad_json_value))
File "/usr/share/blender/scripts/addons/io_scene_gltf2/io/com/gltf2_io.py", line 1218, in gltf_from_dict
return Gltf.from_dict(s)
File "/usr/share/blender/scripts/addons/io_scene_gltf2/io/com/gltf2_io.py", line 1162, in from_dict
accessors = from_union([lambda x: from_list(Accessor.from_dict, x), from_none], obj.get("accessors"))
File "/usr/share/blender/scripts/addons/io_scene_gltf2/io/com/gltf2_io.py", line 56, in from_union
assert False
AssertionError
location: <unknown location>:-1
location: <unknown location>:-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment