Package: reportbug
Version: 3.29.5
I think that pasting includes some kind of control character
that normally should be ignored by reportbug. Instead, it crashes...
very annoying when you're in the middle of providing information :/
Traceback (most recent call last):
File "/usr/bin/reportbug", line 1745, in ?
main()
File "/usr/bin/reportbug", line 778, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1461, in user_interface
'option specified."', force_prompt=True)
File "/usr/share/reportbug/reportbug_ui_urwid.py", line 352, in get_string
code, text = box.main(ui)
File "/usr/share/reportbug/reportbug_ui_urwid.py", line 196, in main
return self.ui.run_wrapper(self.run)
File "/var/lib/python-support/python2.4/urwid/raw_display.py", line 186, in
run_wrapper
return fn()
File "/usr/share/reportbug/reportbug_ui_urwid.py", line 160, in run
k = self.view.keypress( size, k )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1240, in
keypress
return self.body.keypress( (maxcol,maxrow-top-bottom), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1091, in
keypress
return self.w.keypress(maxvals, key)
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1688, in
keypress
return self.body.keypress( (maxcol, remaining), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 2421, in
keypress
key = w.keypress( (mc,)+size[1:], key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1688, in
keypress
return self.body.keypress( (maxcol, remaining), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1240, in
keypress
return self.body.keypress( (maxcol,maxrow-top-bottom), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1091, in
keypress
return self.w.keypress(maxvals, key)
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1688, in
keypress
return self.body.keypress( (maxcol, remaining), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1237, in
keypress
return self.body.keypress( (maxcol,), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 2012, in
keypress
key = self.focus_item.keypress( tsize, key )
File "/var/lib/python-support/python2.4/urwid/listbox.py", line 595, in
keypress
key = focus_widget.keypress((maxcol,),key)
File "/var/lib/python-support/python2.4/urwid/widget.py", line 347, in
keypress
if self.valid_char(key):
File "/var/lib/python-support/python2.4/urwid/widget.py", line 257, in
valid_char
return is_wide_char(ch,0) or (len(ch)==1 and ord(ch) >= 32)
File "/var/lib/python-support/python2.4/urwid/util.py", line 480, in
is_wide_char
assert type(text) == type("")
AssertionError
The above happened while I was trying to paste "--ltdl", by double clicking on
it
in an xchat window, where this word resides at the end of a line (this could
have
caused the double click to include a "new-line" control sequence), into
reportbug's
one-line input field, asking for 'Please describe briefly...'.
Oh, and while I'm at it - it just crashed again while I was trying to COPY the
the 'Please describe briefly...' by left-clicking on the reportbug window:
Traceback (most recent call last):
File "/usr/bin/reportbug", line 1745, in ?
main()
File "/usr/bin/reportbug", line 778, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1461, in user_interface
'option specified."', force_prompt=True)
File "/usr/share/reportbug/reportbug_ui_urwid.py", line 352, in get_string
code, text = box.main(ui)
File "/usr/share/reportbug/reportbug_ui_urwid.py", line 196, in main
return self.ui.run_wrapper(self.run)
File "/var/lib/python-support/python2.4/urwid/raw_display.py", line 186, in
run_wrapper
return fn()
File "/usr/share/reportbug/reportbug_ui_urwid.py", line 160, in run
k = self.view.keypress( size, k )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1240, in
keypress
return self.body.keypress( (maxcol,maxrow-top-bottom), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1091, in
keypress
return self.w.keypress(maxvals, key)
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1688, in
keypress
return self.body.keypress( (maxcol, remaining), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 2421, in
keypress
key = w.keypress( (mc,)+size[1:], key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1688, in
keypress
return self.body.keypress( (maxcol, remaining), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1240, in
keypress
return self.body.keypress( (maxcol,maxrow-top-bottom), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1091, in
keypress
return self.w.keypress(maxvals, key)
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1688, in
keypress
return self.body.keypress( (maxcol, remaining), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 1237, in
keypress
return self.body.keypress( (maxcol,), key )
File "/var/lib/python-support/python2.4/urwid/widget.py", line 2012, in
keypress
key = self.focus_item.keypress( tsize, key )
File "/var/lib/python-support/python2.4/urwid/listbox.py", line 595, in
keypress
key = focus_widget.keypress((maxcol,),key)
File "/var/lib/python-support/python2.4/urwid/widget.py", line 347, in
keypress
if self.valid_char(key):
File "/var/lib/python-support/python2.4/urwid/widget.py", line 257, in
valid_char
return is_wide_char(ch,0) or (len(ch)==1 and ord(ch) >= 32)
File "/var/lib/python-support/python2.4/urwid/util.py", line 480, in
is_wide_char
assert type(text) == type("")
AssertionError
I'm using debian testing, that is - gnome 2.14.3 as desktop.
--
Carlo Wood <[EMAIL PROTECTED]>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]