FS#76984 - [hamster-time-tracker] missing python-pyxdg dependency

Attached to Project: Community Packages
Opened by Bjoern Franke (bjo) - Monday, 02 January 2023, 13:42 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Traceback (most recent call last):
File "/usr/bin/hamster", line 40, in <module>
from hamster import client, reports
File "/usr/lib/python3.10/site-packages/hamster/reports.py", line 33, in <module>
from hamster.lib.configuration import runtime
File "/usr/lib/python3.10/site-packages/hamster/lib/configuration.py", line 29, in <module>
from xdg.BaseDirectory import xdg_data_home
ModuleNotFoundError: No module named 'xdg'

Additional info:
hamster-time-tracker 3.0.2-3
Installing python-pyxdg fixes the issue, python-xdg does not.

Steps to reproduce:
start hamster
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:05 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/hamster-time-tracker/i ssues/1
Comment by Toolybird (Toolybird) - Monday, 02 January 2023, 21:15 GMT
This works fine on a fresh install because "python-xdg" is an AUR pkg. But it probably could depend directly on "python-pyxdg" instead of the virtually provided "python-xdg".
Comment by Bjoern Franke (bjo) - Monday, 02 January 2023, 21:47 GMT
I had installed python-xdg from AUR, yes. Which provides python-xdg, and with wich hamster-time-tracker does not work. Directly depending on python-pyxdg would make the dependency more clear.