[Python-modules-team] Bug#918912: python3-gtkspellcheck: Causes reportbug-gtk to crash when no dictionary found
David Essam
beardy at mxstuff.org
Thu Jan 10 14:38:14 GMT 2019
Package: python3-gtkspellcheck
Version: 4.0.5-1
Severity: normal
Dear Maintainer,
Attempting to report a bug in another package reportbug-gtk crashed with the
following terminal output:
no dictionaries found
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2275, in <module>
main()
File "/usr/bin/reportbug", line 1111, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 2191, in user_interface
package, severity, mode, charset=charset, tags=tags)
File "/usr/bin/reportbug", line 182, in handle_editing
editor, charset)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1761, in func
op = application.call_in_main_thread(klass, parent)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 584, in call_in_main_thread
raise ret
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 571, in callback
ret = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 622, in __init__
self.widget = self.create_widget()
File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1323, in create_widget
gtkspellcheck.SpellChecker(self.view)
File "/usr/lib/python3/dist-packages/gtkspellcheck/spellcheck.py", line 211, in __init__
raise NoDictionariesFound()
gtkspellcheck.spellcheck.NoDictionariesFound
As no guidence is offered which of Debian's many dictionary types and packages
might be appropriate, I switched to the text interface.
As a workarund I switched to using the text interface to report bugs!
* What outcome did you expect instead?
I expected the gtk interface to work without crashing, and spewing errors into the
terminal I launced reporrtbug from. Surely if python3-gtkspellcheck is going to
crash without a dictionary, it should list dictionaries as a depend so one gets
installed if none are present, rather than relying on blind luck that one might be
installed? Especially since it renders other packages unuseable.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.19.0-1-686 (SMP w/1 CPU core)
Locale: LANG=, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=: (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages python3-gtkspellcheck depends on:
ii gir1.2-gtk-3.0 3.24.2-3
ii python3 3.7.1-3
ii python3-enchant 2.0.0-1
ii python3-gi 3.30.4-1
Versions of packages python3-gtkspellcheck recommends:
ii iso-codes 4.1-1
Versions of packages python3-gtkspellcheck suggests:
pn python-gtkspellcheck-doc <none>
-- no debconf information
More information about the Python-modules-team
mailing list