Package Details: python-hamster-gtk 0.11.0-2

Git Clone URL: https://aur.archlinux.org/python-hamster-gtk.git (read-only)
Package Base: python-hamster-gtk
Description: [In heavy development] A GTK interface to the hamster time tracker.
Upstream URL: https://github.com/projecthamster/hamster-gtk
Keywords: hamster time-tracking
Licenses: GPL3
Submitter: jtojnar
Maintainer: jtojnar
Last Packager: jtojnar
Votes: 2
Popularity: 0.000030
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 <jtojnar@gmail.com>
_pkgname='hamster-gtk'
pkgname='python-hamster-gtk'
pkgver='aa55a047a244e6a3d9c656bc5e03ede8ba1b3115'
pkgrel=1
pkgdesc="[In heavy development] A GTK interface to the hamster time tracker."
url="https://github.com/projecthamster/hamster-gtk"
depends=('gtk3' 'python' 'python-gobject' 'python-orderedset' 'python-hamster-lib>=0.13')
makedepends=('python-setuptools')
license=('GPL3')
arch=('any')
source=("https://github.com/projecthamster/${_pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('c9961c134151aa89ff02664dd7d5d7c74a3b4775c4416b832b96c6b7b87fb577')

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 setup.py
make resources
python setup.py 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/__init__.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2649, in load_entry_point
return ep.load()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2303, in load
return self.resolve()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2309, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3.6/site-packages/hamster_gtk/hamster_gtk.py", 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/hamster_gtk.py", line 389, in _main
app = HamsterGTK()
File "/usr/lib/python3.6/site-packages/hamster_gtk/hamster_gtk.py", line 181, in __init__
self._config = self._reload_config()
File "/usr/lib/python3.6/site-packages/hamster_gtk/hamster_gtk.py", line 238, in _reload_config
config = self._get_config_from_file()
File "/usr/lib/python3.6/site-packages/hamster_gtk/hamster_gtk.py", 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/helpers.py", 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/config_helpers.py", 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'