[Bug 1554365] Re: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2886: ordinal not in range(128)
Marius Gedminas
marius at gedmin.as
Tue Mar 8 06:35:17 UTC 2016
/var/log/unattended-upgrades/unattended-upgrades-
dpkg_2016-02-25_02:06:20.971350.log contains this line:
Adding
debian:TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.pem
the Ü is at byte position 2888 of 10432 according to vim (which uses a
1-based offset and probably points to the last byte of multi-byte
characters).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1554365
Title:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
2886: ordinal not in range(128)
Status in unattended-upgrades package in Ubuntu:
New
Bug description:
I got this in the mail:
From: Cron Daemon <root at ...>
To: root at ...
Subject: Cron <root at lims> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
Date: Thu, 25 Feb 2016 02:11:47 +0200 (EET)
/etc/cron.daily/apt:
Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 1255, in <module>
main(options)
File "/usr/bin/unattended-upgrade", line 1205, in main
pkgs, pkg_install_success, pkgs_kept_back, mem_log, logfile_dpkg)
File "/usr/bin/unattended-upgrade", line 752, in send_summary_mail
body += fp.read()
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2886: ordinal not in range(128)
According to /var/log/apt/history.log.1.gz, the packages upgraded that
day were
Start-Date: 2016-02-25 02:06:22
Upgrade: libgnutls-openssl27:amd64 (2.12.23-12ubuntu2.4, 2.12.23-12ubuntu2.5), libssl1.0.0:amd64 (1.0.1f-1ubuntu2.16, 1.0.1f-1ubuntu2.17), libvirt0:amd64 (1.2.2-0ubuntu13.1.16, 1.2.2-0ubuntu13.1.17), libssl-dev:amd64 (1.0.1f-1ubuntu2.16, 1.0.1f-1ubuntu2.17), ca-certificates:amd64 (20141019ubuntu0.14.04.1, 20160104ubuntu0.14.04.1), libgnutls26:amd64 (2.12.23-12ubuntu2.4, 2.12.23-12ubuntu2.5), libssl-doc:amd64 (1.0.1f-1ubuntu2.16, 1.0.1f-1ubuntu2.17), openssl:amd64 (1.0.1f-1ubuntu2.16, 1.0.1f-1ubuntu2.17)
End-Date: 2016-02-25 02:06:36
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unattended-upgrades 0.82.1ubuntu2.4
Uname: Linux 2.6.32-042stab108.8 x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Tue Mar 8 08:26:05 2016
PackageArchitecture: all
ProcEnviron:
LC_CTYPE=lt_LT.UTF-8
TERM=xterm-256color
PATH=(custom, no user)
LANG=lt_LT.UTF-8
SHELL=/bin/bash
SourcePackage: unattended-upgrades
UpgradeStatus: Upgraded to trusty on 2016-02-06 (30 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1554365/+subscriptions
More information about the foundations-bugs
mailing list