[Reportbug-maint] Bug#501215: reportbug: report bug crashes when hitting ctrl-down in common issues

Ondrej Certik ondrej at certik.cz
Sun Oct 5 16:40:33 UTC 2008


Package: reportbug
Version: 3.44
Severity: normal

When hitting ctrl-down in the dialog after clicking continue right after
starting reportbug, reportbug crashes with the following stacktrace:

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 1827, in <module>
    main()
  File "/usr/bin/reportbug", line 850, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1506, in user_interface
    "Don't send your debconf settings.", nowrap=True)):
  File "/usr/share/reportbug/reportbuglib/reportbug_ui_urwid.py", line
348, in yes_no
    result = box.main(ui)
  File "/usr/share/reportbug/reportbuglib/reportbug_ui_urwid.py", line
202, in main
    return self.ui.run_wrapper(self.run)
  File "/var/lib/python-support/python2.5/urwid/raw_display.py", line
231, in run_wrapper
    return fn()
  File "/usr/share/reportbug/reportbuglib/reportbug_ui_urwid.py", line
153, in run
    canvas = self.view.render( size, focus=True )
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 2112, in render
    canv = self.w.render(size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 1454, in render
    canv = self.body.render( (maxcol,maxrow-top-bottom),focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 1276, in render
    canv = self.w.render((maxcol,)+size[1:], focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 1976, in render
    focus and self.focus_part == 'body')
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 2639, in render
    focus = focus and self.focus_col == i)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 1976, in render
    focus and self.focus_part == 'body')
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 2112, in render
    canv = self.w.render(size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 1454, in render
    canv = self.body.render( (maxcol,maxrow-top-bottom),focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 1276, in render
    canv = self.w.render((maxcol,)+size[1:], focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 85,
in cached_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 1976, in render
    focus and self.focus_part == 'body')
  File "/var/lib/python-support/python2.5/urwid/widget.py", line 121,
in finalize_render
    canv = fn(self, size, focus=focus)
  File "/var/lib/python-support/python2.5/urwid/listbox.py", line 363, in render
    assert rows <= maxrow, "Listbox contents too long!  Probably
urwid's fault (please report): %s" % `top,middle,bottom`
AssertionError: Listbox contents too long!  Probably urwid's fault
(please report): ((9, []), (-24,
<reportbuglib.reportbug_ui_urwid.SelectableText object at 0x84c6bec>,
0, 37, (0, 27)), (0, []))



Ondrej

-- Package-specific info:
** Environment settings:
DEBEMAIL="ondrej at certik.cz"
INTERFACE="urwid"

** /home/ondra/.reportbugrc:
reportbug_version "3.38"
mode advanced
ui urwid
email "ondrej at certik.cz"
no-cc
header "X-Debbugs-CC: ondrej at certik.cz"
smtphost bugs.debian.org

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (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/bash

Versions of packages reportbug depends on:
ii  apt                           0.7.14+b1  Advanced front-end for dpkg
ii  python                        2.5.2-2    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils                 <none>     (no description available)
ii  debsums                       2.0.36     verification of installed package
pn  dlocate                       <none>     (no description available)
ii  exim4                         4.69-6     metapackage to ease Exim MTA (v4)
ii  exim4-daemon-light [mail-tran 4.69-6     lightweight Exim MTA (v4) daemon
ii  file                          4.25-1     Determines file type using "magic"
ii  gnupg                         1.4.9-3    GNU privacy guard - a free PGP rep
ii  python-urwid                  0.9.8.3-1  curses-based UI/widget library for

-- no debconf information





More information about the Reportbug-maint mailing list