chsh2 / nijiGPen

An add-on of Blender focusing on Grease Pencil
GNU General Public License v3.0
290 stars 13 forks source link

Can't install on 4.4.0 #53

Closed noc2art closed 2 months ago

noc2art commented 2 months ago

I'm getting this error right upon installation:

`RuntimeError: Error: 'EDIT_GPENCIL'

Exception in module register(): C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.4\scripts\addons\nijigp__init.py Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 4.4\4.4\scripts\modules\addon_utils.py", line 515, in enable mod.register() File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.4\scripts\addons\nijigp__init__.py", line 69, in register register_viewport_tools() File "C:\Program Files\Blender Foundation\Blender 4.4\4.4\scripts\addons_core\nijigp\ui_viewport_tools.py", line 892, in register_viewport_tools File "C:\Program Files\Blender Foundation\Blender 4.4\4.4\scripts\modules\bpy\utils\init__.py", line 1044, in register_tool tools = cls._tools[context_mode] ~~^^^^^^^^^^^^^^`

And this is what I get when I activate the addon:

KeyError: 'EDIT_GPENCIL'

chsh2 commented 2 months ago

Hi. Can I ask what version of the add-on you are using? Currently only the latest version (v0.12) works with Blender 4.4. Version v0.11 has some minor issues and versions prior to v0.11 will not work with Blender 4.4 at all.

noc2art commented 2 months ago

Hi;

I downloaded the latest build which is 0.12

Image

I tried everything, from installing from the zip file to extracting the contents into the addons core folder, all to no avail :(

noc2art commented 2 months ago

Ah, got it now. I was trying to install Nijipen in an already open Blender session. I closed Blender and restarted it and the addon installed fine. Thank you so much for this great addon, your time and attention.