-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
GSettings schema for org.gtimelog is missing #172
Comments
The current git master should work right after a clone, with no build steps required, if you have all the necessary dependencies. Does Do you have Does Do you have a Let's figure this out. |
When doing make (I tried
glib-compile-schemas presents. Finally, I could run it with this variable set to nothing:
Still nothing changes, because repeating Edit: One more note, when running in-source, it is live git version. But when I try from ebuild, it is 0.11 release. Edit2: Runs without errors/tracebacks with
That's from previous versions, but they where ok. Not related though, I simply faced this problem after trying GSETTINGS_SCHEMA_DIR trick for system install. |
On my system all (most) schemas are at Edit: It finally began to work from desktop command launcher (xfrun4 or xfce4-appfinder) after installing schema into mentioned path. For terminal I still had to start new terminal instance (just used st aka simpleterm) for same effect (it had original problem when started from already working xfce4-terminal). About schema compilation, such option is known to present in original cmake-based (now meson) projects from/for elementary-os, such nas NaSC, go-for-it, etc. |
The idea is that a distro packager will build a package that installs the schema into /usr/share/blahblah, but I also tried to make things work out of the box for people running from source. Making things work requires two things:
Why do you have GSETTINGS_SCHEMA_DIR set in your environment? Is this a distribution default, or something you've customized for your own reasons? I've opted not to override this variable if it's already set in fear of breaking something else (like GTK itself), since I don't think it supports multiple directories separated by a colon? But maybe it does? Augh software is hard. (This is why I want to get the Flatpak done, which is also hard. But hopefully it would be hard once.) |
I wanted to install gtimelog into a conda environment which has glib installed. glib (as installed by conda) sets the So what I did is copy the gtimelog schema over and compile them: conda activate environment
cp $CONDA_PREFIX/lib/python3.9/site-packages/gtimelog/data/org.gtimelog.gschema.xml $CONDA_PREFIX/share/glib-2.0/schemas/
glib-compile-schemas $CONDA_PREFIX/share/glib-2.0/schemas/ (What I don't entirely understand - on my personal computer it works just fine and |
I under gentoo, packaged in personal overlay. Versions before 0.11 were ok. But since 0.11 (including current git head) it makes this:
WARNING: GSettings schema for org.gtimelog is missing! If you're running from a source checkout, be sure to run 'make'.
I also tried right in source tree, still with same error:
The text was updated successfully, but these errors were encountered: