Bug#1027860: hamster-time-tracker: cannot start because module 'gettext' has no attribute 'bind_textdomain_codeset'

2023-01-04 Thread Matthijs Kooijman
forwarded 1027860 https://github.com/projecthamster/hamster/issues/710
thanks

Hi,

> AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'

Thanks for reporting this. There is also an upstream issue about this,
with a suggested workaround:
https://github.com/projecthamster/hamster/issues/710

Gr.

Matthijs


signature.asc
Description: PGP signature


Bug#1027860: hamster-time-tracker: cannot start because module 'gettext' has no attribute 'bind_textdomain_codeset'

2023-01-04 Thread Michael Ott
Package: hamster-time-tracker
Version: 3.0.2-3
Severity: important

Dear Maintainer,

starting hamster send me this error

$ hamster
Traceback (most recent call last):
  File "/usr/bin/hamster", line 415, in 
i18n.setup_i18n()
  File "/usr/lib/python3/dist-packages/hamster/lib/i18n.py", line 24, in
setup_i18n
module.bind_textdomain_codeset('hamster','utf8')
^^
AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (710, 'unstable'), (670, 'testing'), (660, 'experimental'), (600, 
'stable'), (500, 'stable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 6.1.0-0-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hamster-time-tracker depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-4
ii  gir1.2-gtk-3.0   3.24.35-3
ii  libjs-jquery 3.6.1+dfsg+~3.5.14-1
ii  libjs-jquery-ui  1.13.2+dfsg-1
ii  python3  3.11.1-1
ii  python3-cairo1.20.1-5
ii  python3-dbus 1.3.2-3
ii  python3-distutils3.10.8-1
ii  python3-gi   3.42.2-3
ii  python3-xdg  0.28-2

Versions of packages hamster-time-tracker recommends:
ii  gnome-shell-extension-hamster  0.10.0+git20210628-4
ii  yelp   42.2-1

hamster-time-tracker suggests no packages.

-- no debconf information