[Reportbug-maint] Bug#541791: reportbug: TypeError: writelines() argument must be a sequence of strings

Jakub Wilk ubanus at users.sf.net
Sun Aug 16 10:29:22 UTC 2009


Package: reportbug
Version: 4.6
Severity: normal

reportbug crashes on filtering bugreports for screen. The bug is 
reproducible in a clean sid chroot.

$ reportbug screen
*** Welcome to reportbug.  Use ? for help at prompts. ***
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Jakub Wilk <ubanus at users.sf.net>' as your from address.
Getting status for screen...
Verifying package integrity...
Checking for newer versions at packages.debian.org, incoming.debian.org and http://ftp-master.debian.org/new.html
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on screen (source)...
100 bug reports found:

Outstanding bugs -- Important bugs; Patch Available (2 bugs)
     1) #471763  /var/run/screens permissions inconsistency causes screen to refuse to start up
     2) #533866  my /var/run/screen is owned by a different group than utmp, so I get "Directory '/var/run/screen' must 

Outstanding bugs -- Important bugs; Unclassified (7 bugs)
     3) #273816  screen blocks the output in copy/scrollback mode, leading to denial of service
     4) #286063  screen: paste of a large block of text causes random data lost
     5) #331457  screen: Cannot use in Shift_JIS xterm
     6) #468427  vim stock on initialiaing in screen for no reson recently
     7) #491812  Can not use terminfo-entry screen-256color-bce-s
     8) #502490  screen is not redrawn when curses-based apps are started
     9) #524189  Screen corrupts text when it is pasted

Outstanding bugs -- Normal bugs; Patch Available (1 bug)
    10) #533498  screen: fixes from ubuntu: no-beep-on-write-acl, show-encoding-hardstatus

Outstanding bugs -- Normal bugs; Unclassified (20 bugs)
    11) #210975  screen as default shell causes problems with rsync, unison, etc
    12) #212849  screen: Screen doesn't support CP866 (CP855, CP852 etc) encoding
    13) #215955  screen: ja_JP.UTF-8 chars don't work in caption
    14) #242510  screen: spins when pasting
    15) #310448  Konsole termcapinfo fix causes failure to correctly line wrap when connecting via PuTTY.
    16) #344759  screen mishandles xterm control string to set window title
    17) #385737  screen: Screen not properly redrawn when viewing Devanagari script in mutt
    18) #409398  Starting screen with 'screen -dm' gives a crippled TERMCAP
    19) #428305  all running screens froze, clients fail to attach
    20) #440066  screen: man page says -wipe checks hostname, but it does not
    21) #461958  screen: Can't press ctrl+pgup/dn to change tabs in vim
    22) #496180  screen: hardstatus causes trouble after window resize
    23) #496971  screen: resize notification
    24) #499273  Please increase maxwin limit - 40 is too small.
    25) #502360  Race conditions with 'screen -X cmd' and 'screen cmd' cause logging to file to fail
    26) #507817  screen -r still sometimes fails with "WriteMessage: Bad file descriptor"
    27) #525830  screen doesn't always send the correct window size after a resize
    28) #532240  screen with caption SEGVs when resized to 1 line tall
    29) #540045  screen: man page do not show how can use vertical split
    30) #541730  screen: documented ‘defzombie’ command no longer recognised
(1-30/100) Is the bug you found listed above [y|N|b|m|r|q|s|f|?]? f
Enter the search pattern (a Perl-compatible regular expression)
or press ENTER to exit: a
Traceback (most recent call last):
   File "/home/jwilk/bin/reportbug", line 12, in <module>
     execfile('/usr/bin/reportbug')
   File "/usr/bin/reportbug", line 1943, in <module>
     main()
   File "/usr/bin/reportbug", line 947, in main
     return iface.user_interface()
   File "/usr/bin/reportbug", line 1489, in user_interface
     version=pkgversion)
   File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 564, in handle_bts_query
     mirrors, http_proxy, screen, title, package)
   File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 689, in browse_bugs
     http_proxy, screen, title, package)
   File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 850, in search_bugs
     sys.stderr.writelines(lastpage)
TypeError: writelines() argument must be a sequence of strings

-- Package-specific info:
** Environment settings:
VISUAL="/usr/bin/vim -g -f"
DEBEMAIL="ubanus at users.sf.net"
INTERFACE="text"

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

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                           0.7.22.2   Advanced front-end for dpkg
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-reportbug              4.6        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils                 <none>     (no description available)
ii  debsums                       2.0.46     verification of installed package 
ii  dlocate                       1.02       fast alternative to dpkg -L and dp
ii  esmtp-run [mail-transport-age 0.6.0-1    User configurable relay-only MTA
ii  file                          5.03-1     Determines file type using "magic"
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
pn  python-gnome2-extras          <none>     (no description available)
ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+ widge
ii  python-urwid                  0.9.8.4-1  curses-based UI/widget library for
pn  python-vte                    <none>     (no description available)
pn  xdg-utils                     <none>     (no description available)

-- debconf-show failed

-- 
Jakub Wilk





More information about the Reportbug-maint mailing list