s-leger / archipack

Archipack for blender 2.79
https://blender-archipack.org
GNU General Public License v3.0
360 stars 50 forks source link

fail to install on blender 4.1 and 4.0 #412

Closed DAMitchell70 closed 3 months ago

DAMitchell70 commented 3 months ago

Archipack version:2.0.9

Blender version: 4.1 and 4.0

Os version: Windows 10

Description of the issue: attempt to install it on 4.1 and 4.0 and got the following error code

Traceback (most recent call last): File "E:\BlenderFoundation\4.1\scripts\modules\addon_utils.py", line 376, in enable mod = importlib.import_module(module_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\BlenderFoundation\4.1\python\Lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Users\sinpe\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\archipack20__init__.py", line 112, in glob["archipack{}".format(sub)] = imp.importmodule(".archipack{}".format(sub), package) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\BlenderFoundation\4.1\python\Lib\importlib\init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Users\sinpe\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\archipack_20\archipack_preset.py", line 44, in preset_paths = bpy.utils.script_paths("presets") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: script_paths() takes 0 positional arguments but 1 was given

ivicnunez commented 3 months ago

I am also unable to install. I get error

s-leger commented 3 months ago

see https://github.com/s-leger/archipack/issues/368#issuecomment-1536471248