[Reportbug-maint] Bug#623150: python-reportbug: reportbug crashes when replying to existing bug report

frank fzambrini at gmail.com
Sun Apr 17 19:29:20 UTC 2011

Package: python-reportbug
Version: 5.0
Severity: important

The reportbug gui crashes when replying to an existing bug report using
"reportbug --ui gtk2". The crash happens after selecting "Yes" or "No" at the
"Does this bug still exist in version X.X.X-X of this package??" prompt.

Steps to reproduce: Enter package name -> select existing report -> click
"Retrieve and submit bug information" -> click "Reply" -> enter a subject ->
click Yes or No at prompt.

Here is the terminal output from the crash:
frank at frank-laptop:~$ reportbug --ui gtk2
/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py:410: GtkWarning:
gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)'
  view.get_buffer().set_text (body)
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2127, in <module>
  File "/usr/bin/reportbug", line 1052, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 2019, in user_interface
  File "/usr/lib/pymodules/python2.6/reportbug/utils.py", line 756, in
    return unicode(rep)
  File "/usr/lib/pymodules/python2.6/reportbug/bugreport.py", line 131, in
    self.followup, reportto, self.package, headers)
TypeError: %d format: a number is required, not str

Note: This issue does not apply to the command line version of reportbug.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-reportbug depends on:
ii  apt                    Advanced front-end for dpkg
ii  python                        2.6.6-12   interactive high-level object-orie
ii  python-support                1.0.11     automated rebuilding support for P

python-reportbug recommends no packages.

Versions of packages python-reportbug suggests:
ii  reportbug                     5.0        reports bugs in the Debian distrib

-- no debconf information

More information about the Reportbug-maint mailing list