Package: reportbug Version: 3.29.5 Severity: important
I tried to report a bug in "apt", using "reportbug apt" 'reportbug' then wanted to icnlude /etc/apt/sources.list in the report, which is reasonable. Then this happened: I can automatically include various information about your apt configuration in your bug report. This information may help to diagnose your problem. May I include your apt configuration (/etc/apt/apt.conf et al)? [Y/n] Y May I include your /etc/apt/preferences configuration file? [Y/n] Y May I include your /etc/apt/sources.list configuration file? [Y/n] Y 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 1615, in user_interface addinfo = "\n-- Package-specific info:\n"+file(filename).read().decode('utf-8') File "encodings/utf_8.py", line 16, in decode UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2393-2395: invalid data Now, myx sources.list files contain lots of comments written by me (in Norwegian, which uses non-ascii letters). Some are from before I switches to UTF-8, so they are invalid unicode. I see no need for reportbug to trip up over some unreadable *comments* in a file. It really should forward the file as-is. Note that it is even possible to have file/directory names that are invalid unicode, so stripping comments won't help. -- Package-specific info: ** Environment settings: INTERFACE="text" ** /home/helgehaf/.reportbugrc: reportbug_version "2.58" mode standard ui text realname "Helge Hafting" email "[EMAIL PROTECTED]" smtphost "mail.aitel.hist.no" -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (900, 'testing'), (800, 'unstable'), (800, 'stable'), (700, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.19-rc1 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages reportbug depends on: ii python 2.4.3-11 An interactive high-level object-o ii python-central 0.5.5 register and build utility for Pyt Versions of packages reportbug recommends: pn python-cjkcodecs | python-ico <none> (no description available) -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]