Advertisement
Andy3153

Blender error importing .gltf

Dec 22nd, 2020
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. Python: Traceback (most recent call last):
  2. File "/usr/share/blender/2.91/scripts/addons/io_scene_gltf2/__init__.py", line 974, in execute
  3. return self.import_gltf2(context)
  4. File "/usr/share/blender/2.91/scripts/addons/io_scene_gltf2/__init__.py", line 988, in import_gltf2
  5. if self.unit_import(path, import_settings) == {'FINISHED'}:
  6. File "/usr/share/blender/2.91/scripts/addons/io_scene_gltf2/__init__.py", line 1002, in unit_import
  7. gltf_importer.read()
  8. File "/usr/share/blender/2.91/scripts/addons/io_scene_gltf2/io/imp/gltf2_io_gltf.py", line 144, in read
  9. gltf, self.glb_buffer = self.load_glb(content)
  10. File "/usr/share/blender/2.91/scripts/addons/io_scene_gltf2/io/imp/gltf2_io_gltf.py", line 114, in load_glb
  11. gltf = glTFImporter.load_json(json_bytes)
  12. File "/usr/share/blender/2.91/scripts/addons/io_scene_gltf2/io/imp/gltf2_io_gltf.py", line 64, in load_json
  13. return json.loads(bytes(content), encoding='utf-8', parse_constant=bad_constant)
  14. File "/usr/lib/python3.9/json/__init__.py", line 359, in loads
  15. return cls(**kw).decode(s)
  16. TypeError: __init__() got an unexpected keyword argument 'encoding'
  17.  
  18. location: <unknown location>:-1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement