[Bug 1310053] Re: 13.10 to 14.04 upgrade: UnicodeEncodeError: 'ascii' codec can't encode character u'\xab' in position 13: ordinal not in range(128) Logged from file DistUpgradeCache.py, line 661 in apt.log
    Sebastian "Nait" Kacprzak 
    naicik at gmail.com
       
    Tue Apr 22 18:19:12 UTC 2014
    
    
  
Well I can confirm that line 661 was the one that tried to log error, but changing 
logging.error("Dist-upgrade failed: '%s'", e)
to 
logging.error("Dist-upgrade failed: '%s'", unicode(e))
only results in correctly printing 'Dist-upgrade' failed error to log
file:
2014-04-22 20:06:46,539 DEBUG The package 'update-manager-kde' is marked for removal but it's in the removal blacklist
2014-04-22 20:06:49,343 ERROR Dist-upgrade failed: 'Pakiet "update-manager-kde" jest oznaczony do usunięcia, lecz znajduje się na liście pakietów, których nie należy usuwać.'
2014-04-22 20:06:49,345 DEBUG abort called
and does NOT fix the root cause.  (Meaning that this change only adds
one line to logfile).
-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1310053
Title:
  13.10 to 14.04 upgrade: UnicodeEncodeError: 'ascii' codec can't encode
  character u'\xab' in position 13: ordinal not in range(128) Logged
  from file DistUpgradeCache.py, line 661 in apt.log
Status in “ubuntu-release-upgrader” package in Ubuntu:
  Confirmed
Bug description:
  .
  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: ubuntu-release-upgrader-core 1:0.205.4
  ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
  Uname: Linux 3.11.0-15-generic i686
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: i386
  CrashDB: ubuntu
  Date: Sat Apr 19 19:50:56 2014
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to saucy on 2014-04-19 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1310053/+subscriptions
    
    
More information about the foundations-bugs
mailing list