[Reportbug-maint] Bug#711404: reportbug's GTK interface crashes if spelling dictionaries for the current locale are missing

Juan Luis Boya ntrrgc at gmail.com
Thu Jun 6 19:04:02 UTC 2013


Package: reportbug
Version: 6.4.4
Severity: important

If python-gtkspell is installed (as recommended by reportbug assistant) but
dictionaries are missing, it crashes without putting any hint to the user
except in the case he ran reportbug from a terminal.

This is the backtrace put in the terminal.

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2206, in <module>
    main()
  File "/usr/bin/reportbug", line 1080, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 2123, in user_interface
    package, severity, mode, charset=charset, tags=tags)
  File "/usr/bin/reportbug", line 169, in handle_editing
    editor, charset)
  File "/usr/lib/pymodules/python2.7/reportbug/ui/gtk2_ui.py", line 1496, in
func
    op = klass (parent)
  File "/usr/lib/pymodules/python2.7/reportbug/ui/gtk2_ui.py", line 506, in
__init__
    self.widget = self.create_widget ()
  File "/usr/lib/pymodules/python2.7/reportbug/ui/gtk2_ui.py", line 1118, in
create_widget
    gtkspell.Spell (self.view)
glib.GError: enchant error for language: es_ES.UTF-8

A workaround is to install aspell-es (or the package which matches your
locale).

I uploaded a video demonstrating the bug while I was attempting to report
another. By the way, that madison version check thing takes ages to complete.



-- Package-specific info:
** Environment settings:
INTERFACE="gtk2"

** /home/ntrrgc/.reportbugrc:
reportbug_version "6.4.4"
mode novice
ui text
realname "Juan Luis Boya"
email "ntrrgc at gmail.com"
no-cc
header "X-Debbugs-CC: ntrrgc at gmail.com"
smtphost reportbug.debian.org

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt               0.9.7.8
ii  python            2.7.3-4
ii  python-reportbug  6.4.4

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
pn  debconf-utils                              <none>
pn  debsums                                    <none>
pn  dlocate                                    <none>
pn  emacs22-bin-common | emacs23-bin-common    <none>
ii  exim4                                      4.80-7
ii  exim4-daemon-light [mail-transport-agent]  4.80-7
ii  file                                       5.11-2
ii  gnupg                                      1.4.12-7
ii  python-gtk2                                2.24.0-3+b1
ii  python-gtkspell                            2.25.3-12
pn  python-urwid                               <none>
ii  python-vte                                 1:0.28.2-5
ii  xdg-utils                                  1.1.0~rc1+git20111210-6

Versions of packages python-reportbug depends on:
ii  apt               0.9.7.8
ii  python            2.7.3-4
ii  python-debian     0.1.21
ii  python-debianbts  1.11
ii  python-support    1.0.15

python-reportbug suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reportbug1.ogv
Type: application/ogg
Size: 7117080 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20130606/8db0be22/attachment-0001.ogx>


More information about the Reportbug-maint mailing list