Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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 Toolybird (Toolybird) - Monday, 02 January 2023, 21:15 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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/", line 33, in <module>
from hamster.lib.configuration import runtime
File "/usr/lib/python3.10/site-packages/hamster/lib/", 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

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.