DarklightGames / io_scene_psk_psa

A Blender extension for importing and exporting Unreal PSK and PSA files
GNU General Public License v3.0
310 stars 20 forks source link

Unable to install addon #90

Closed jkerman2000 closed 2 months ago

jkerman2000 commented 2 months ago

Versions Blender: 4.0.2 io_scene_psk_psa: 7.0.0

Describe the bug The addon "installs," but when clicking the activation box it gives the following error:

Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 364, in enable mod = importlib.import_module(module_name) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Users\xxxxx\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_scene_pskpsa__init__.py", line 61, in from .psk.import import operators as psk_import_operators File "C:\Program Files\Pixar\RenderManProServer-25.2\lib\python3.10\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature__.py", line 142, in _import return original_import(name, *args, **kwargs) File "C:\Users\xxxxx\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_scene_pskpsa\psk\import\operators.py", line 5, in from bpy.types import Operator, FileHandler, Context ImportError: cannot import name 'FileHandler' from 'bpy.types' (unknown location)

jkerman2000 commented 2 months ago

Note: no idea why my Renderman install is part of the error. I removed the Renderman addon, and it still threw the error at me. Edit: removed renderman entirely and that part of the error disappears. I now get the following:

Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 364, in enable mod = importlib.import_module(module_name) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Users\xxxxx\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_scene_psk_psa\init_.py", line 61, in from .psk.import import operators as psk_import_operators File "C:\Users\xxxxx\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_scene_pskpsa\psk\import\operators.py", line 5, in from bpy.types import Operator, FileHandler, Context ImportError: cannot import name 'FileHandler' from 'bpy.types' (unknown location)

jkerman2000 commented 2 months ago

Never mind, I'm just a big doofus. I should have installed version 6 to blender 4.0