[Reportbug-maint] Bug#822522: reportbug: Crash when python-gtkspellcheck is installed
JWM
jwmwalrus at gmail.com
Mon Apr 25 04:55:15 UTC 2016
Package: reportbug
Version: 6.6.6
Severity: important
Dear Maintainer,
While reporting a bug, the reportbug application suggests installing python-
gtkspellcheck, but having that package installed actually makes reportbug crash
with the following traceback:
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2247, in <module>
main()
File "/usr/bin/reportbug", line 1115, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 2163, in user_interface
package, severity, mode, charset=charset, tags=tags)
File "/usr/bin/reportbug", line 181, in handle_editing
editor, charset)
File "/usr/lib/python2.7/dist-packages/reportbug/ui/gtk2_ui.py", line 1543,
in func
op = klass(parent)
File "/usr/lib/python2.7/dist-packages/reportbug/ui/gtk2_ui.py", line 521, in
__init__
self.widget = self.create_widget()
File "/usr/lib/python2.7/dist-packages/reportbug/ui/gtk2_ui.py", line 1150,
in create_widget
gtkspellcheck.SpellChecker(self.view)
File "/usr/lib/python2.7/dist-packages/gtkspellcheck/spellcheck.py", line
165, in __init__
self.languages = SpellChecker._LanguageList.from_broker(self._broker)
File "/usr/lib/python2.7/dist-packages/gtkspellcheck/spellcheck.py", line
118, in from_broker
for language in broker.list_languages()],
File "/usr/lib/python2.7/dist-packages/pylocales/locales.py", line 135, in
code_to_name
country = Country.by_alpha_2(code[1]).translation
File "/usr/lib/python2.7/dist-packages/pylocales/locales.py", line 88, in
by_alpha_2
return Country.get_country(code, 'alpha_2')
File "/usr/lib/python2.7/dist-packages/pylocales/locales.py", line 84, in
get_country
raise CountryNotFound('code: %s, codec: %s' % (code, codec))
pylocales.locales.CountryNotFound: code: ANY, codec: alpha_2
My locale is:
~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
-- Package-specific info:
** Environment settings:
INTERFACE="gtk2"
** /home/jwm/.reportbugrc:
reportbug_version "6.5.1"
mode standard
ui gtk2
email "jwmwalrus at gmail.com"
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing'), (200, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages reportbug depends on:
ii apt 1.2.10
ii python-reportbug 6.6.6
pn python:any <none>
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
ii dlocate 1.02+nmu3
pn emacs23-bin-common | emacs24-bin-common <none>
ii exim4 4.87-1
ii exim4-daemon-light [mail-transport-agent] 4.87-1
ii file 1:5.25-2
ii gnupg 1.4.20-6
ii python-gtk2 2.24.0-4
pn python-gtkspellcheck <none>
pn python-urwid <none>
ii python-vte 1:0.28.2-5+b1
ii xdg-utils 1.1.1-1
Versions of packages python-reportbug depends on:
ii apt 1.2.10
ii file 1:5.25-2
ii python-debian 0.1.27
ii python-debianbts 2.6.0
pn python:any <none>
python-reportbug suggests no packages.
-- no debconf information
More information about the Reportbug-maint
mailing list