Pullusb / greasepencil-addon

Blender addon - Pack of extended tool for Grease pencil
GNU General Public License v3.0
38 stars 8 forks source link

enabling grease pencil tools causes blender to crash #2

Open klankschap opened 3 years ago

klankschap commented 3 years ago

while trying to eable the grease pencil tools add-on, blender will crash and the core is dumped.

Pullusb commented 3 years ago

Ok can you give more information : What is your version of blender ? your OS ? Can you provide the crash-log ?

klankschap commented 3 years ago

hat is your version of blender ? all blender 2.9 versions seems to have the issue.

$ ./blender --factory-startup --debug-all

system-info.txt

blender-crash-log.txt

klankschap commented 3 years ago

Maybe this is related? In blender8 I can import numpy without any problem in the console. In blender9 however, it will crash blender.

blender8 uses

~ PYTHON INTERACTIVE CONSOLE 3.8.6 (default, Sep 25 2020, 09:36:53) [GCC 10.2.0]

blender9 seems to use an older version: PYTHON INTERACTIVE CONSOLE 3.7.7 (default, Jul 9 2020, 12:52:49) [GCC 9.3.1 20200408 (Red Hat 9.3.1-2)]

Pullusb commented 3 years ago

importing numpy crash blender ? So the crash is not related to the addon (that work fine for me) but to this specific event (the addon import indeed numpy). I think you might have another numpy module somewhere that cause the crash.

Check if you have any of it in modules folders. (have you installed some modules manually ?)

klankschap commented 3 years ago

a plain vanilla blender9 will crash importing numpy and there are other add-ons that will cause a crash too. like animation-nodes if I look at the blender info path, it only shows its own libraries, no references to my own python environment.

Python:

version: 3.7.7 (default, Jul 9 2020, 12:52:49) [GCC 9.3.1 20200408 (Red Hat 9.3.1-2)] file system encoding: utf-8:surrogateescape paths: '/home/vm/blender-2.9x/2.92/scripts/startup' '/home/vm/blender-2.9x/2.92/scripts/modules' '/home/vm/blender-2.9x/2.92/python/lib/python37.zip' '/home/vm/blender-2.9x/2.92/python/lib/python3.7' '/home/vm/blender-2.9x/2.92/python/lib/python3.7/lib-dynload' '/home/vm/blender-2.9x/2.92/python/lib/python3.7/site-packages' '/home/vm/blender-2.9x/2.92/scripts/freestyle/modules' '/home/vm/blender-2.9x/2.92/scripts/addons/modules' '/home/vm/.config/blender/2.92/scripts/addons/modules' '/home/vm/blender-2.9x/2.92/scripts/addons' '/home/vm/blender-2.9x/2.92/scripts/addons_contrib'

Python (External Binary):

binary path: '/home/vm/blender-2.9x/2.92/python/bin/python3.7m' version: Python 3.7.7

Directories:

scripts: '/home/vm/blender-2.9x/2.92/scripts/modules' '/home/vm/blender-2.9x/2.92/scripts' user scripts: '/home/vm/.config/blender/2.92/scripts' pref scripts: None datafiles: '/home/vm/.config/blender/2.92/datafiles' config: '/home/vm/.config/blender/2.92/config' scripts : '/home/vm/.config/blender/2.92/scripts' autosave: '/home/vm/.config/blender/2.92/autosave' tempdir: '/tmp/blender_vxko9N/'

Pullusb commented 3 years ago

Yeah but you can have a numpy module in thos listed path for exemple in the listed path : /home/vm/.config/blender/2.92/scripts/addons/modules check in there

and also in scripts : '/home/vm/.config/blender/2.92/scripts (if there is a modules folder in there)

klankschap commented 3 years ago

[~/.config/blender/2.92 $ tree . └── config ├── bookmarks.txt ├── platform_support.txt └── userpref.blend

1 directory, 3 files

Pullusb commented 3 years ago

Ok so sadly I can't help you on this matter. It's not related to the addon. You should head to blender.chat to get a more expert leads, or else file a bug report...

Hope you will resolve it soon.