Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error cannot import name 'BaseDirectory' from 'xdg' #44

Closed
ad1cted opened this issue Jun 2, 2021 · 5 comments
Closed

Error cannot import name 'BaseDirectory' from 'xdg' #44

ad1cted opened this issue Jun 2, 2021 · 5 comments

Comments

@ad1cted
Copy link

ad1cted commented Jun 2, 2021

this error happens on Ubuntu 21.04 and can be solved installing pyxdg==0.25

with :
pip install pyxdg==0.25

@eliostvs
Copy link
Owner

eliostvs commented Jun 2, 2021

Hi. tomate-gtk depends on python3-xdg on Ubuntu. Did you install tomate from the repository? If so, could you confirm that the package python3-xdg is installed?

@ad1cted
Copy link
Author

ad1cted commented Jun 5, 2021

I have installed it from repositories, the error occurs in ubuntu 21.04 with the python version that forces to install pyxdg in its latest version but this is not supported by tomato-gtk

@eliostvs
Copy link
Owner

eliostvs commented Jun 6, 2021

I tested it on a clean and updated Ubuntu 21.04 virtual machine and had no problems. The python3-xdg is the native package of pyxdg. The tomate-gtk package metadata was wrong for some time, maybe you have a bad version. You can execute the command apt show tomate-gtk | grep Depends and check if python3-xdg is listed.

@eliostvs
Copy link
Owner

eliostvs commented Mar 3, 2022

Hi, Do you still have problems?

@eliostvs
Copy link
Owner

Please open a new issue if you still have problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants