niacdoial / blemd

BMD importer for blender (BDL format also partially supported)
GNU General Public License v3.0
32 stars 13 forks source link

When I attempt to enable the addon in Blender, I get this error: #6

Closed altprogrammer closed 7 years ago

altprogrammer commented 7 years ago

Traceback (most recent call last): File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.78\scripts\modules\addon_utils.py", line 330, in enable mod = import(module_name) File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.78\scripts\addons_contrib\blemd-master__init.py", line 15, in from .BModel import BModel File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.78\scripts\addons_contrib\blemd-master\BModel.py", line 17, in MModule = import_module('.Matrix44', "blemd") File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.78\python\lib\importlib\init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 981, in _gcd_import File "", line 931, in _sanity_check SystemError: Parent module 'blemd' not loaded, cannot perform relative import

altprogrammer commented 7 years ago

I tried using normal Blender, but I got the same error:

Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\modules\addon_utils.py", line 330, in enable mod = import(module_name) File "C:\Users\altprogrammer\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\blemd-master__init__.py", line 15, in from .BModel import BModel File "C:\Users\altprogrammer\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\blemd-master\BModel.py", line 17, in MModule = import_module('.Matrix44', "blemd") File "C:\Program Files\Blender Foundation\Blender\2.78\python\lib\importlib__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 981, in _gcd_import File "", line 931, in _sanity_check SystemError: Parent module 'blemd' not loaded, cannot perform relative import

niacdoial commented 7 years ago

Er... I think you made a couple mistakes, but that probably just means I wasn't precise enough in the docs. Here are a couple tips to fix it:

-if that fails, then correct the following yourself (in the addons\ or addons_contrib\ folder) move "blemd-masterinit.py" into the "blemd" folder as "init.py" (with two underscores on each end)

Hope that fixes it. Will add that to the docs... soon? Anyways, have a nice day.

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2017-06-15 1:10 GMT+02:00 altprogrammer notifications@github.com:

I tried using normal Blender, but I got the same error:

AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead found bundled python: C:\Program Files\Blender Foundation\Blender\2.78\python reloading addon: blemd-master 1497478932.6213627 1497481697.8504083 C:\Users\Aiden\AppData\Roaming\Blender Foundation\Blender\2.78\ scripts\addons\blemd-masterinit.py Modules Installed from 'C:\Users\Aiden\Downloads\blemd-master.zip' into 'C:\Users\Aiden\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons' () Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender\2.78\ scripts\modules\addon_utils.py", line 330, in enable mod = import(modulename) File "C:\Users\Aiden\AppData\Roaming\Blender Foundation\Blender\2.78\ scripts\addons\blemd-masterinit_.py", line 15, in from .BModel import BModel File "C:\Users\Aiden\AppData\Roaming\Blender Foundation\Blender\2.78\ scripts\addons\blemd-master\BModel.py", line 17, in MModule = importmodule('.Matrix44', "blemd") File "C:\Program Files\Blender Foundation\Blender\2.78\ python\lib\importlibinit_.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 981, in _gcd_import File "", line 931, in _sanity_check SystemError: Parent module 'blemd' not loaded, cannot perform relative import

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/niacdoial/blemd/issues/6#issuecomment-308583500, or mute the thread https://github.com/notifications/unsubscribe-auth/AQR7vTtxj3v7L0MZomuozSUKz0_RPZulks5sEGhSgaJpZM4N6hxr .

niacdoial commented 7 years ago

Is the problem fixed? (lack of answer will be taken as yes and issue will be closed untill further notice)

niacdoial commented 7 years ago

issue assumed fixed