archipack icon indicating copy to clipboard operation
archipack copied to clipboard

Blender 3.0 with archipack 2.4.0 Pro error

Open JamieMcIlweMCLH opened this issue 2 years ago • 10 comments

Archipack version: archipack_2.4.0 Pro

Blender version: 3.0

Os version: Windows 10

Description of the issue: archipack was working great in Blender 3.0 but I started getting error messages when I was using the Kill parameters command found under tools. Now I can't add fences at all, when I click on the fence button I get the error message below. I have uninstalled and reinstalled the addon but that doesn't seem to have fixed the problem.

Error Code: Python: Traceback (most recent call last): File "C:\Users\jamie.mcilwee\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\archipack_20\archipack_preset.py", line 477, in invoke self.report({'WARNING'}, "Active object must be a " + self.preset_subdir.split("_")[1].capitalize()) File "C:\Users\jamie.mcilwee\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\archipack_20\archipack_preset.py", line 229, in init self.menuItems = [ File "C:\Users\jamie.mcilwee\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\archipack_20\archipack_iconmanager.py", line 342, in menuitems def enum(self, context, category, format="json"): File "C:\Users\jamie.mcilwee\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\archipack_20\archipack_iconmanager.py", line 233, in load_presets else: TypeError: script_paths() takes 0 positional arguments but 1 was given

location: :-1

JamieMcIlweMCLH avatar Mar 03 '22 10:03 JamieMcIlweMCLH

I'm getting the same error.

script_paths() takes 0 positional arguments but 1 was given
Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/3.1/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/Users/rwl4/Library/Application Support/Blender/3.1/scripts/addons/archipack_20/__init__.py", line 112, in <module>
    glob["archipack_{}".format(sub)] = imp.import_module(".archipack_{}".format(sub), __package__)
  File "/Applications/Blender.app/Contents/Resources/3.1/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/Users/rwl4/Library/Application Support/Blender/3.1/scripts/addons/archipack_20/archipack_preset.py", line 44, in <module>
    preset_paths = bpy.utils.script_paths("presets")
TypeError: script_paths() takes 0 positional arguments but 1 was given

UPDATE: I was able to install the beta which support Blender 3.X.

rwl4 avatar Mar 19 '22 14:03 rwl4

hi,

Do you find the problem ?

nicolas34fr avatar Mar 20 '22 13:03 nicolas34fr

No fix yet, I am going to try the beta suggested above

JamieMcIlweMCLH avatar Mar 22 '22 09:03 JamieMcIlweMCLH

You should find download link for latest archipack version in e-mail from blender-archipack.org, download, setup over and restart blender.

s-leger avatar Mar 22 '22 09:03 s-leger

Hi Stephen

I have the latest version and I installed using the email link. When I try and kill parameters I get the following error code.

Python: Traceback (most recent call last): File "C:\Users\jamie.mcilwee\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\archipack_20\archipack_reference_point.py", line 696, in execute self.apply(context, objects) File "C:\Users\jamie.mcilwee\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\archipack_20\archipack_reference_point.py", line 665, in apply for key in keys: RuntimeError: IDPropertyGroup changed size during iteration

location: :-1

Capture 1 Capture 2

JamieMcIlweMCLH avatar Mar 22 '22 09:03 JamieMcIlweMCLH

I'm getting the same issue as OP when I tried to install 2.40 PRO on Blender 3.1.1 using windows 10, 64 bit. My error code was as follows: archipack error

Any info on a fix coming out some time?

Magetroll avatar Apr 25 '22 04:04 Magetroll

Hi Magetroll

This might fix your issue but I think it is a different bug to my original post, make sure all your collections are turned on. I was getting an import error with archipack where I had the collection turned off but once I turned the collection back on it imported without any problems.

JamieMcIlweMCLH avatar Apr 25 '22 06:04 JamieMcIlweMCLH

Hi Jamie,

Many thanks for your reply, I appreciate you getting back to me. I am not 100% sure of what you mean by turning collections on and off, as my only understanding of collections in blender is in the outliner window. Were you referring to these?

Kind regards, Jeff

On Mon, Apr 25, 2022 at 4:22 PM JamieMcIlweMCLH @.***> wrote:

Hi Magetroll

This might fix your issue but I think it is a different bug to my original post, make sure all your collections are turned on. I was getting an import error with archipack where I had the collection turned off but once I turned the collection back on it imported without any problems.

— Reply to this email directly, view it on GitHub https://github.com/s-leger/archipack/issues/305#issuecomment-1108142372, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY4BMIH2FRGPKHZ5N4T6GV3VGY6LPANCNFSM5P2BGWIA . You are receiving this because you commented.Message ID: @.***>

--

Jeff, Jodie & Caitlin Osborn

Magetroll avatar Apr 25 '22 09:04 Magetroll

Hi, Just downloaded archipack_20.9.zip (from the purchase page) and archipack_2.4.0.zip (from the email that followed) and both gave an error Screenshot 2022-04-29 at 17 56 00

Any help, please

Regards

Fran

Update:

I restarted Blender and Archipack is working now

franegido avatar Apr 29 '22 17:04 franegido

I still can't use "kill parameters" on Blender 3.3.0 using windows 10 and archipack 2.5.0. Got the following message: Cattura

steveDotCom avatar Sep 13 '22 11:09 steveDotCom