Summary: | media-gfx/inkscape-1.4-r1 crashes Extensions, complains of missing numpy | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Russell Dwiggins <undrwater> |
Component: | Current packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | undrwater, zhixu.liu |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=924747 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Russell Dwiggins
2025-01-08 19:39:40 UTC
Created attachment 916159 [details]
emerge --info
unable to reproduce yet, can you try: INKSCAPE_PROFILE_DIR=~/.config/inkscape PYTHONPATH=/usr/share/inkscape/extensions:/usr/share/inkscape/extensions/inkex/deprecated-simple python3 /usr/share/inkscape/extensions/inkman/inkman/manage_extensions.py (In reply to Zhixu Liu from comment #2) > unable to reproduce yet, can you try: > > INKSCAPE_PROFILE_DIR=~/.config/inkscape > PYTHONPATH=/usr/share/inkscape/extensions:/usr/share/inkscape/extensions/ > inkex/deprecated-simple python3 > /usr/share/inkscape/extensions/inkman/inkman/manage_extensions.py I lost the drive on the previous gentoo install, so this is relatively fresh: russell@apollo ~ $ INKSCAPE_PROFILE_DIR=~/.config/inkscape PYTHONPATH=/usr/share/inkscape/extensions:/usr/share/inkscape/extensions/inkex/deprecated-simple python3 /usr/share/inkscape/extensions/inkman/inkman/manage_extensions.py An error occured with the extensions manager! Trying to self-update the package... Failed to update! Please delete the package manually! (see location below) Please report this error ------------------------ Report URL: https://gitlab.com/inkscape/extras/extension-manager/-/issues Location: /usr/share/inkscape/extensions/inkman/inkman/inkman inkscape-extension-manager: 1.0 Not done Traceback (most recent call last): File "/usr/share/inkscape/extensions/inkman/inkman/manage_extensions.py", line 61, in recovery_run run(args) File "/usr/share/inkscape/extensions/inkman/inkman/manage_extensions.py", line 34, in run from inkman.targets import TARGETS File "/usr/share/inkscape/extensions/inkman/inkman/inkman/targets.py", line 5, in <module> from .target import ExtensionsTarget, BasicTarget File "/usr/share/inkscape/extensions/inkman/inkman/inkman/target.py", line 28, in <module> from inkex.command import call File "/usr/share/inkscape/extensions/inkex/__init__.py", line 11, in <module> from .extensions import * File "/usr/share/inkscape/extensions/inkex/extensions.py", line 32, in <module> from .utils import errormsg, Boolean File "/usr/share/inkscape/extensions/inkex/utils.py", line 34, in <module> import numpy as np ModuleNotFoundError: No module named 'numpy' ok, please run following command: # qfile /usr/share/inkscape/extensions/inkman/inkman/manage_extensions.py # equery check media-gfx/inkscape # equery check numpy # which python3 # cat /var/db/pkg/media-gfx/inkscape-*/RDEPEND # python3 -V # python3 -c "import numpy; print('ok');" (In reply to Zhixu Liu from comment #4) > ok, please run following command: > > # qfile /usr/share/inkscape/extensions/inkman/inkman/manage_extensions.py > # equery check media-gfx/inkscape > # equery check numpy > # which python3 > # cat /var/db/pkg/media-gfx/inkscape-*/RDEPEND > # python3 -V > # python3 -c "import numpy; print('ok');" Thanks! This bug can be closed. The issue was my use of different versions of python for venv's with which I was playing. Just in case someone runs into a similar issue: You can specify the python interpreter for extensions in the: ~/.config/inkscape/preferences.xml file. In my case I have put: <group id="extensions" org.inkscape.output.png.inkscape.png_bitdepth="99" org.inkscape.output.png.inkscape.png_compression="6" org.inkscape.output.png.inkscape.png_antialias="2" python-interpreter="/usr/bin/python3.12" org.ekips.filter.gears.unit="px" org.ekips.filter.gears.__live_effect__="0" /> Hope this helps! thanks for the update |