KhronosGroup / glTF-Blender-IO

Blender glTF 2.0 importer and exporter
https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html
Apache License 2.0
1.49k stars 317 forks source link

glTF Addon can not be enabled with blender 2.8 Release Cadidate #592

Closed naotaro0123 closed 5 years ago

naotaro0123 commented 5 years ago

Describe the bug The following error appears when enabling the glTF add-on.

Traceback(most recent call last):
File "/Applications/blender-2.80.0/Blender.app/Contents/Resources/2.80/scripts/modules/addon_util.py", line 351, in enable mod = __import__(module_name)
File "/Applications/blender-2.80.0/Blender.app/Contents/Resources/2.80/scripts/addons/io_scene_gltf2/__init_py", line 63, in <module> from io_scene_gltf2.io.exp import gltf2_io_draco_comression_extension
File "/Applications/blender-2.80.0/Blender.app/Contents/Resources/2.80/scripts/addons/io_scene_gltf2/io/exp/gltf2_io_draco_compression_extension.py", line 17, in from ctypes import *
File "/Applications/blender-2.80.0/Blender.app/Contents/Resources/2.80/python3.7/ctypes/__init__.py", line 543, in <module> _reset_cache()
File "/Applications/blender-2.80.0/Blender.app/Contents/Resources/2.80/python3.7/ctypes/__init__.py", line 273, in _reset_cache CFUNCTYPE(c_int)(lambda: None)
MemoryError

To Reproduce Steps to reproduce the behavior:

  1. Open the blender app. Menu does not have gltf menu in [File]-[Export / Import]

Expected behavior glTF menu is displayed.

Screenshots I get the following error when enabling glTF 2.0 Addon.

screenshot01

Version

Additional context Blender 2.8 Beta used glTF Addon.

naotaro0123 commented 5 years ago

I tried on the following Spec of Mac. glTF Addon worked without problems. Is the cause insufficient memory?

Version

emackey commented 5 years ago

@UX3D-nopper Can you look at this? It's Draco-related and I don't have access to MacOS to test it.

ZanQdo commented 5 years ago

Uh oh! Getting the same on Windows 10

OS: Windows 10 CPU: Intel Core i7 Memory: 16GB GPU: GTX 1080 Blender 2.80 Release Cadidate

https://pastebin.com/CcTNQqj2

LazyDodo commented 5 years ago

The initial release of the RC for mac had code sign issues and has been silently updated (which i admit is not great) try re-downloading it from https://download.blender.org/release/Blender2.80/ and see if that improves the situation.

for details on (one of) the codesign issue(s) see https://developer.blender.org/T66986

naotaro0123 commented 5 years ago

Thank you! After try re-downloading it, the problem is solved with MacOS Mojave(10.14.5).