s-leger / archipack

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

Blender 3.0 with archipack 2.4.0 Pro error #305

Open JamieMcIlweMCLH opened 2 years ago

JamieMcIlweMCLH commented 2 years ago

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.presetsubdir.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

rwl4 commented 2 years ago

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.

nicolas34fr commented 2 years ago

hi,

Do you find the problem ?

JamieMcIlweMCLH commented 2 years ago

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

s-leger commented 2 years ago

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

JamieMcIlweMCLH commented 2 years ago

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

Magetroll commented 2 years ago

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?

JamieMcIlweMCLH commented 2 years ago

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.

Magetroll commented 2 years ago

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

franegido commented 2 years ago

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

steveDotCom commented 2 years ago

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