Package: reportbug
Version: 3.31
Followup-For: Bug #292211

When inserting text from clipboard, or using keystrokes (down-arrow), reportbug 
crashes. This only happens, if python-urwid is used. The text-only version 
works.

To use the text-based interface, this line can be commented out in 
$HOME/.reportbugrc:
# default user interface
#ui urwid


Traceback (most recent call last):
  File "/usr/bin/reportbug", line 1747, in ?
^[[M#E*    main()
  File "/usr/bin/reportbug", line 779, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1447, in user_interface
    'stop reportbug.', 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 1291, in 
keypress
    return self.body.keypress( (maxcol,maxrow-top-bottom), key )
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 1142, in 
keypress
    return self.w.keypress(maxvals, key)
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 1792, in 
keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 2525, in 
keypress
    key = w.keypress( (mc,)+size[1:], key )
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 1792, in 
keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 1291, in 
keypress
    return self.body.keypress( (maxcol,maxrow-top-bottom), key )
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 1142, in 
keypress
    return self.w.keypress(maxvals, key)
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 1792, in 
keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 1288, in 
keypress
    return self.body.keypress( (maxcol,), key )
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 2116, 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 389, in 
keypress
    if self.valid_char(key):
  File "/var/lib/python-support/python2.4/urwid/widget.py", line 301, 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



-- Package-specific info:
** /home/martin/.reportbugrc:
reportbug_version "3.31"
mode advanced
email "[EMAIL PROTECTED]"
smtphost "mail.gmx.de"
smtpuser "[EMAIL PROTECTED]"

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-486
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages reportbug depends on:
ii  python                        2.4.4-2    An interactive high-level object-o
ii  python-central                0.5.12     register and build utility for Pyt

Versions of packages reportbug recommends:
pn  python-cjkcodecs | python-ico <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to