[Reportbug-maint] Bug#695887: reportbug locks terminal, refuses echo, requires "reset" after viewing followup

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Dec 14 02:11:49 UTC 2012


Package: reportbug
Version: 6.4.3
Severity: normal

if i do "reportbug socat" and then choose the number for following up
on #583164 (currently "8"), read the message with my pager (less), and
then hit enter to see the followup, the screen goes blank and nothing
i type is echoed.

i can get out of this by hitting "q" or ctrl-C several times, but my
terminal is left unable to echo anything.  I have to run "reset" from
the terminal to regain control.  (my terminal emulator is
rxvt-unicode).

If i try to review the problematic bug report directly with 

 reportbug -N 583164

then i see this message after trying to view the second comment:

    fd.write(text)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2010' in position 761: ordinal not in range(128)

(unicode U+2010 is "hyphen", fwiw)

and then hitting "q" leaves me in the following terminal:

0 dkg at alice:~$ reportbug -N 583164
*** Welcome to reportbug.  Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Daniel Kahn Gillmor <dkg at fifthhorseman.net>' as your from address.
Retrieving report #583164 from Debian bug tracking system...
What do you want to do now? [N|x|o|r|b|e|q|?]? 
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 1362, in user_interface
    mbox_reader_cmd=self.options.mbox_reader_cmd)
  File "/usr/lib/pymodules/python2.7/reportbug/ui/text_ui.py", line 441, in show_report
1 dkg at alice:~$ 


  --dkg

-- Package-specific info:
** Environment settings:
DEBEMAIL="dkg at fifthhorseman.net"
EMAIL="dkg at fifthhorseman.net"
INTERFACE="text"

** /home/dkg/.reportbugrc:
reportbug_version "5.0"
mode standard
ui text
no-cc
header "X-Debbugs-CC: dkg at fifthhorseman.net"
smtphost reportbug.debian.org

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

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 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 reportbug depends on:
ii  apt               0.9.7.6
ii  python            2.7.3~rc2-1
ii  python-reportbug  6.4.3

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                      <none>
pn  debconf-utils                   <none>
pn  debsums                         <none>
ii  dlocate                         1.02
ii  emacs23-bin-common              23.4+1-4
ii  file                            5.11-2
ii  gnupg                           1.4.12-6
ii  postfix [mail-transport-agent]  2.9.3-2.1
pn  python-gtk2                     <none>
pn  python-gtkspell                 <none>
pn  python-urwid                    <none>
pn  python-vte                      <none>
ii  xdg-utils                       1.1.0~rc1+git20111210-6

Versions of packages python-reportbug depends on:
ii  apt               0.9.7.6
ii  python            2.7.3~rc2-1
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



More information about the Reportbug-maint mailing list