-
Notifications
You must be signed in to change notification settings - Fork 19
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
gschema and desktop files not copied during setup #25
Comments
Python 2 is not maintained after January 1, 2020. Could you try again using a recent version of Python? |
Close due to inactivity. |
@buzz This problem still happens with python 3.9.2. python3-setuptools version: 52.0.0-4 |
This is expected behavior. As far as I know setuptools won't copy schema files. You're doing a manual installation, so you need to take care of this yourself. It's also stated explicitly in the README.md. If someone would maintain a Debian package for volctl, Debian packaging would take care of this. I won't be able to maintain such a package as I'm not a Debian user. |
Specifically, the files
apps.volctl.gschema.xml
andvolctl.desktop
in thedata_files
in setup.py are not copied to their correct locations during setup. This results in(volctl:10047): GLib-GIO-ERROR **: 21:25:05.356: Settings schema 'apps.volctl' is not installed
. I fixed the issue by copying the files manually.Since the setuptools docs say that
data_files
are relative to eithersite.USER_BASE
orsys.prefix
, I checked these values in a python interpreter. They are/home/[username]/.local
and/usr
respectively. I checked the directories relative to both of these locations and the files were not copied. I also checked the standard GSettings schema directories listed in theXDG_DATA_DIRS
environment variable and did not find the schema file in them.Environment: Debian Buster 10.2.0, XFCE 4.12, Python 2.7.16, setuptools 40.8.0 (installed from the python-setuptools 40.8.0-1 debian package).
Installation log:
This setuptools issue might be related since I noticed that it created a .egg file in
/usr/local/lib/python2.7/dist-packages
. I'm new to Linux so I might be missing something obvious.The text was updated successfully, but these errors were encountered: