[Reportbug-maint] Bug#672487: reportbug tells UnicodeDecodeError: codec can't decode byte 0xd0 'ascii'
Alex 'AdUser' Z
ad_user at runbox.com
Mon Apr 21 04:12:33 UTC 2014
Package: reportbug
Version: 6.4.4
Followup-For: Bug #672487
Traced source of bug with this line inserted (near reportbug:1820):
----------------------------------
for f in files:
+ print confinfo[f]
conftext = conftext + u'%s %s\n' % (f, confinfo[f])
----------------------------------
Actual error is:
----------------------------------
[Errno 13] Отказано в доступе: u'/etc/burp/burp-server.conf'
----------------------------------
Workaround: run reportbug with 'C' locale:
----------------------------------
user at localhost ~ $ LANG=C reportbug <package>
----------------------------------
Then error messages becomes strict ansi codepage
[Errno 13] Permission denied: u'/etc/burp/burp-server.conf'
[Errno 13] Permission denied: u'/etc/burp/burp.conf'
[Errno 13] Permission denied: u'/etc/burp/clientconfdir/incexc/example'
[Errno 13] Permission denied: u'/etc/burp/clientconfdir/testclient'
....or run reportbug with sufficient permissions to read needed files.
-- WBR, Alex
-- Package-specific info:
** Environment settings:
EDITOR="vim"
INTERFACE="text"
** /home/alex/.reportbugrc:
reportbug_version "6.4.3"
mode standard
ui text
email "ad_user at runbox.com"
no-cc
header "X-Debbugs-CC: ad_user at runbox.com"
smtphost reportbug.debian.org
-- System Information:
Debian Release: 7.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages reportbug depends on:
ii apt 0.9.7.9+deb7u1
ii python 2.7.3-4+deb7u1
ii python-reportbug 6.4.4
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn dlocate <none>
pn emacs22-bin-common | emacs23-bin-common <none>
ii file 5.11-2+deb7u3
ii gnupg 1.4.12-7+deb7u3
ii postfix [mail-transport-agent] 2.9.6-2
pn python-gtk2 <none>
pn python-gtkspell <none>
pn python-urwid <none>
pn python-vte <none>
pn xdg-utils <none>
Versions of packages python-reportbug depends on:
ii apt 0.9.7.9+deb7u1
ii python 2.7.3-4+deb7u1
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