Package Details: gtimelog 0.12.0-1

Git Clone URL: https://aur.archlinux.org/gtimelog.git (read-only, click to copy)
Package Base: gtimelog
Description: Small GTK+ app for keeping track of your time
Upstream URL: https://gtimelog.org/
Licenses: GPL
Submitter: None
Maintainer: adsun
Last Packager: adsun
Votes: 13
Popularity: 0.009284
First Submitted: 2009-10-02 12:22 (UTC)
Last Updated: 2024-04-03 19:35 (UTC)

Latest Comments

1 2 Next › Last »

adrianlzt commented on 2023-08-07 07:59 (UTC)

Thanks @adsun.

I finally found the issue. It was particular to my case, but I leave here what I found in case anyone has the same case.

gio does not load extra gschemes if the setuid is set1:

      /* Disallow loading extra schemas if running as setuid, as that could
       * allow reading privileged files. */
      if (!is_setuid && (path = g_getenv ("GSETTINGS_SCHEMA_DIR")) != NULL)

And my python binary had "cap_net_admin=eip" set (old testing stuff). Testing with and without the capability:

➜ GSETTINGS_SCHEMA_DIR=/usr/lib/python3.11/site-packages/gtimelog/data ./python3.11 -c 'from gi.repository import Gio; print(Gio.SettingsSchemaSource.get_default().lookup("org.gtimelog", False))'
<Gio.SettingsSchema object at 0x7f145e7c4110 (GSettingsSchema at 0x559f2bbcafa0)>

➜ sudo setcap cap_net_admin=eip ./python3.11

➜ GSETTINGS_SCHEMA_DIR=/usr/lib/python3.11/site-packages/gtimelog/data ./python3.11 -c 'from gi.repository import Gio; print(Gio.SettingsSchemaSource.get_default().lookup("org.gtimelog", False))'
None

adsun commented on 2023-08-01 18:02 (UTC)

@adrianlzt I rebuilt this package in a clean chroot and ran gtimelog, I did not get your error. Have you tried building in a clean chroot?

adrianlzt commented on 2023-07-31 17:38 (UTC)

I have this error trying to run gtimelog:

WARNING: GSettings schema for org.gtimelog is missing!  If you're running from a source checkout, be sure to run 'make'.

I have fixed it with:

sudo cp /usr/lib/python3.11/site-packages/gtimelog/data/org.gtimelog.gschema.xml /usr/share/glib-2.0/schemas
sudo /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas

I don't know much about how this gschema things works, but maybe some modification to the PKGBUILD could fix it.

More info here: https://github.com/gtimelog/gtimelog/issues/172

dulice commented on 2023-05-18 06:51 (UTC)

rebuilding worked to me too. Thanks

mbudde commented on 2023-05-10 13:39 (UTC)

@adsun: I got the same error and fixed it by rebuilding and reinstalling the package. I believe it is caused by the recent upgrade from Python 3.10 to 3.11. The package installs into /usr/lib/python<python version>, so after upgrading Python to a new version the module can no longer be found.

adsun commented on 2023-05-10 13:25 (UTC)

@dulice I built this in a clean chroot without issues, and it runs fine when I run it. When and how do you get this error, exactly?

dulice commented on 2023-05-04 08:36 (UTC)

with last update

Traceback (most recent call last): File "/usr/lib/python3.11/importlib/metadata/init.py", line 563, in from_name return next(cls.discover(name=name)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/bin/gtimelog", line 33, in <module> sys.exit(load_entry_point('gtimelog==0.11.3', 'gui_scripts', 'gtimelog')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/gtimelog", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/init.py", line 981, in distribution return Distribution.from_name(distribution_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/init.py", line 565, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: No package metadata was found for gtimelog

ryuzy commented on 2019-05-23 12:06 (UTC)

There is version 0.11.3 now and this package has been flagged as out of date nearly 7 months ago :(

mxmehl commented on 2018-05-18 22:07 (UTC)

Version 0.11 has been released a few months ago with many improvements. It would be awesome if you could take care of gtimelog in AUR. Thanks!

Freso commented on 2017-01-18 07:26 (UTC) (edited on 2017-01-21 12:54 (UTC) by Freso)

Yes, it's just been a bit on the backburner. I'll try and get it all fixed up later today. Edit: Didn't get fixed up "today", but this is the first tab I see every time I load up Firefox now, so it should be enough in front of my mind to get fixed Soon™. :)