s-leger / archipack

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

Archipack 2.4 not working on blender 4.0.1 #410

Closed byroncos closed 2 months ago

byroncos commented 2 months ago

Archipack version: 2.4

Blender version: 4.0.1

Os version: windows 11

Description of the issue: 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\byroncos\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\archipack20__init__.py", line 128, in glob["archipack{}".format(sub)] = imp.importmodule(".archipack{}".format(sub), package) 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\byroncos\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\archipack_20\archipack_manipulator.py", line 4298, in class Manipulable: File "C:\Users\byroncos\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\archipack_20\archipack_manipulator.py", line 4336, in Manipulable manipulable_area = GlCursorArea() File "C:\Users\byroncos\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\archipack_20\archipack_gl.py", line 1541, in init__ self.border = GlPolyline(bordercolour, d=2, n_pts=4) File "C:\Users\byroncos\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\archipack_20\archipack_gl.py", line 920, in init GlBaseLine.init(self, d, n_pts=n_pts) File "C:\Users\byroncos\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\archipack_20\archipack_gl.py", line 535, in init Gl.init(self, d) File "C:\Users\byroncos\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\archipack_20\archipack_gl.py", line 239, in init g_image = GPU_Image() File "C:\Users\byroncos\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\archipack_20\archipack_gl.py", line 174, in init__ self.shader = gpu.shader.from_builtin('2D_IMAGE') ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_IMAGE'

s-leger commented 2 months ago

sent download link for updated release.

byroncos commented 2 months ago

Thank you sir

On Sat, Jul 13, 2024, 1:01 PM s-leger @.***> wrote:

Closed #410 https://github.com/s-leger/archipack/issues/410 as completed.

— Reply to this email directly, view it on GitHub https://github.com/s-leger/archipack/issues/410#event-13495953877, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZMQFPGAB2YD56KBR3CFDPTZMFTPPAVCNFSM6AAAAABK2NSEKCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGQ4TKOJVGM4DONY . You are receiving this because you authored the thread.Message ID: @.***>

byroncos commented 2 months ago

I didn't had chance to dowload materials... looks like the link it's one time

On Sat, Jul 13, 2024, 1:02 PM byroncos @.***> wrote:

Thank you sir

On Sat, Jul 13, 2024, 1:01 PM s-leger @.***> wrote:

Closed #410 https://github.com/s-leger/archipack/issues/410 as completed.

— Reply to this email directly, view it on GitHub https://github.com/s-leger/archipack/issues/410#event-13495953877, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZMQFPGAB2YD56KBR3CFDPTZMFTPPAVCNFSM6AAAAABK2NSEKCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGQ4TKOJVGM4DONY . You are receiving this because you authored the thread.Message ID: @.***>