Bug 265985 - graphics/inkscape: Manage Extensions crashes
Summary: graphics/inkscape: Manage Extensions crashes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-22 01:14 UTC by Tomoyuki Sakurai
Modified: 2022-08-22 01:29 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoyuki Sakurai 2022-08-22 01:14:13 UTC
1. open inkscape.
2. [Extensions] -> [Manage Extensions].

see the trace below.

a quick fix: pkg install devel/py-appdirs

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/local/share/inkscape/extensions/inkman/inkman/inkman
inkscape-extension-manager: 1.0

Not done
Traceback (most recent call last):
  File "/usr/local/share/inkscape/extensions/inkman/inkman/manage_extensions.py", line 61, in recovery_run
    run(args)
  File "/usr/local/share/inkscape/extensions/inkman/inkman/manage_extensions.py", line 36, in run
    from inkman.targets import TARGETS
  File "/usr/local/share/inkscape/extensions/inkman/inkman/inkman/targets.py", line 5, in <module>
    from .target import ExtensionsTarget, BasicTarget
  File "/usr/local/share/inkscape/extensions/inkman/inkman/inkman/target.py", line 32, in <module>
    from .remote import RemoteArchive, LocalFile
  File "/usr/local/share/inkscape/extensions/inkman/inkman/inkman/remote.py", line 38, in <module>
    from .utils import INKSCAPE_VERSION, CACHE_DIR
  File "/usr/local/share/inkscape/extensions/inkman/inkman/inkman/utils.py", line 26, in <module>
    from appdirs import user_cache_dir
ModuleNotFoundError: No module named 'appdirs'
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-08-22 01:29:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5bafa680250c2773dd28ea8e33b274c383adf5fd

commit 5bafa680250c2773dd28ea8e33b274c383adf5fd
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-08-22 01:26:10 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-08-22 01:26:10 +0000

    graphics/inkscape: fix runtime crash on "manage extensions" menu call (+)

    Extensions manager cannot fint py-appdirs module.
    Add it ro RUN_DEPENDENCIES

    PR:     265985

 graphics/inkscape/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 2 Dima Panov freebsd_committer freebsd_triage 2022-08-22 01:29:40 UTC
Fixed, thanks!