Bug 2295055

Summary: Inkscape extension manager requires python module "appdirs"
Product: [Fedora] Fedora Reporter: locness3
Component: inkscapeAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: duffy, gwync, lkundrak, rlerch
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: inkscape-1.3.2-8.fc40 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-05 06:21:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description locness3 2024-07-01 20:58:25 UTC
Tbe extension manager in Inkscape requires the python3 module "appdirs" to function. The inkscape rpm package doesn't seem to have a dependency on it. Installing the rpm package "python3-appdirs" fixes the problem.

Reproducible: Always

Steps to Reproduce:
1. dnf install inkscape
2. skip the welcome screen and create a new document
3. open the Extensions menu and select Manage extensions (last item)
Actual Results:  
error dialog that says :

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 36, 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 32, in <module>
    from .remote import RemoteArchive, LocalFile
  File "/usr/share/inkscape/extensions/inkman/inkman/inkman/remote.py", line 38, in <module>
    from .utils import INKSCAPE_VERSION, CACHE_DIR
  File "/usr/share/inkscape/extensions/inkman/inkman/inkman/utils.py", line 26, in <module>
    from appdirs import user_cache_dir
ModuleNotFoundError: No module named 'appdirs'


Expected Results:  
The extension manager should open

Comment 1 Fedora Update System 2024-07-03 22:00:25 UTC
FEDORA-2024-8c0cc1e369 (inkscape-1.3.2-8.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8c0cc1e369

Comment 2 Fedora Update System 2024-07-04 01:59:19 UTC
FEDORA-2024-8c0cc1e369 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8c0cc1e369`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8c0cc1e369

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-07-05 06:21:51 UTC
FEDORA-2024-8c0cc1e369 (inkscape-1.3.2-8.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.