Package Details: python-hamster-gtk 0.11.0-2

Git Clone URL: (read-only, click to copy)
Package Base: python-hamster-gtk
Description: [In heavy development] A GTK interface to the hamster time tracker.
Upstream URL:
Keywords: hamster time-tracking
Licenses: GPL3
Submitter: jtojnar
Maintainer: None
Last Packager: jtojnar
Votes: 2
Popularity: 0.000000
First Submitted: 2017-02-14 21:12
Last Updated: 2017-06-27 08:35

Latest Comments

caleb commented on 2018-07-03 08:23

It's been a while since there was a tagged release, and the tagged releases of this package is not compatible with the tagged release of the library package. I've created *-git versions of both packages that build against the respective develop branches of each so they work together. You install python-hamster-gtk-git as an alternative to this package.

mun commented on 2017-06-30 13:50

Yes, this works now, thanks!

jtojnar commented on 2017-06-29 07:22

This seems to work for me:

# Maintainer: Jan Tojnar <>
pkgdesc="[In heavy development] A GTK interface to the hamster time tracker."
depends=('gtk3' 'python' 'python-gobject' 'python-orderedset' 'python-hamster-lib>=0.13')

package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
find hamster_gtk -type f -exec sed -i 's/backports\.//g' {} +
sed "s/find_packages()/find_packages(exclude=['tests'])/" -i
make resources
python install --root="${pkgdir}" --optimize=1

mun commented on 2017-06-29 06:41

Nope. First, the package "python-orderedset" is missing as a dependency. Then, after installing that, I get the following new error:

Traceback (most recent call last):
File "/usr/bin/hamster-gtk", line 11, in <module>
load_entry_point('hamster-gtk==0.11.0', 'gui_scripts', 'hamster-gtk')()
File "/usr/lib/python3.6/site-packages/pkg_resources/", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.6/site-packages/pkg_resources/", line 2649, in load_entry_point
return ep.load()
File "/usr/lib/python3.6/site-packages/pkg_resources/", line 2303, in load
return self.resolve()
File "/usr/lib/python3.6/site-packages/pkg_resources/", line 2309, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3.6/site-packages/hamster_gtk/", line 52, in <module>
resources = Gio.resource_load(resources_path)
GLib.Error: g-file-error-quark: Failed to open file “/usr/lib/python3.6/site-packages/hamster_gtk/resources/hamster-gtk.gresource”: open() failed: No such file or directory (4)

jtojnar commented on 2017-06-27 08:38

Sorry, hamster-gtk is not yet compatible with python-hamster-lib 0.13. You can try setting aa55a047a244e6a3d9c656bc5e03ede8ba1b3115 as a pkgver if you want to use fixed version.

mun commented on 2017-06-27 07:33

Currently fails to start with the following error message:

Traceback (most recent call last):
File "/usr/bin/hamster-gtk", line 11, in <module>
load_entry_point('hamster-gtk==0.11.0', 'gui_scripts', 'hamster-gtk')()
File "/usr/lib/python3.6/site-packages/hamster_gtk/", line 389, in _main
app = HamsterGTK()
File "/usr/lib/python3.6/site-packages/hamster_gtk/", line 181, in __init__
self._config = self._reload_config()
File "/usr/lib/python3.6/site-packages/hamster_gtk/", line 238, in _reload_config
config = self._get_config_from_file()
File "/usr/lib/python3.6/site-packages/hamster_gtk/", line 383, in _get_config_from_file
cp_instance = get_config_instance(get_fallback(), 'hamster-gtk', 'hamster-gtk.conf')
File "/usr/lib/python3.6/site-packages/hamster_gtk/", line 127, in get_config_instance
path = config_helpers.get_config_path(app_name, file_name)
File "/usr/lib/python3.6/site-packages/hamster_lib/helpers/", line 155, in get_config_path
return os.path.join(appdirs.user_config_dir, file_name)
AttributeError: 'str' object has no attribute 'user_config_dir'