[Bug 839005] Re: software-properties-gtk crashed with UnicodeEncodeError in exists(): 'ascii' codec can't encode character u'\xe9' in position 13: ordinal not in range(128)

Thierry Mallard contact.launchpad at mallard.fr
Mon Oct 8 05:19:21 UTC 2012


I suspect this is the same bug for me. I just can't launch software-
properties-gtk :

lilo at lilo-Vostro-3360:~$ software-properties-gtk 
gpg: /tmp/tmpnd5xe1/trustdb.gpg: base de confiance créée
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 162, in packages_for_modalias
    cache_map = packages_for_modalias.cache_maps[apt_cache_hash]
KeyError: 4252617

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 103, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 178, in __init__
    self.init_drivers()
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1097, in init_drivers
    self.devices = detect.system_device_drivers()
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 415, in system_device_drivers
    for pkg, pkginfo in system_driver_packages(apt_cache).items():
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 319, in system_driver_packages
    for p in packages_for_modalias(apt_cache, alias):
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 164, in packages_for_modalias
    cache_map = _apt_cache_modalias_map(apt_cache)
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 129, in _apt_cache_modalias_map
    m = package.candidate.record['Modaliases']
  File "/usr/lib/python3/dist-packages/apt/package.py", line 429, in record
    return Record(self._records.record)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 114: invalid continuation byte

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/839005

Title:
  software-properties-gtk crashed with UnicodeEncodeError in exists():
  'ascii' codec can't encode character u'\xe9' in position 13: ordinal
  not in range(128)

Status in “software-properties” package in Ubuntu:
  Confirmed

Bug description:
  install in synaptic ubuntugames ppa, add key public bug  :

  -----BEGIN PGP PUBLIC KEY BLOCK-----
  Version: GnuPG v1.4.9 (GNU/Linux)

  mQGiBEzFMy4RBADBKpxsRAMJDjP/DAgqNuxC20/Xf4DXEtg0emp3NzoDcKBFhUkz
  qGGH0dsuUGHC98ZhLWlDQOu3FEYDp1zbg3qUjJ+yeMI1z5CXwf5T0T5qAmIkbq7c
  YM/9y8BzuCgn0Oskacl9mRed42uSyvHGcWZVnI6MrQBWlOw0DvmNjYM/JwCg63Ut
  Tjsk197brfXX2X9FGxCDgSUD/RPk+aW9xGBoJiwiYjGBo5SAtG5M0Uwp9gse5+my
  dML5pUedMKMsAWdO9cNeZSSNwPPs7YClswPwDw2pjd1FJK52lJ2MNeo9OCUec51S
  yZkH4r4AN8CrSMswh4w6hDy98tLVTtpWdc14rhhAyvlLikEsh8oUtxE6NaQ0MW7m
  FQoqBACt/hP0tScK7DcB8uUjTQU2H543zJ+RfBNOmRTIplZQdmmfklVbniMTKEgR
  pL5SpvWWM8wRlQf2lUJJln9mEXjDLJxyPIt0noWbnBTsqz9SMWlplM80p1Kj1xjP
  YNtdcK+mNUoHhU3mjppqYssrnGXsGpi8LFtcbsPEwcoMGLzP+7Q1VWJ1bnR1IEdh
  bWVzIChSZXBvc2l0b3JpbykgPGNvcmluZ2FvQHVidW50dWdhbWVzLm9yZz6IYAQT
  EQIAIAUCTMUzLgIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEOK7uUFR53B5
  jUEAoIsVPxJ3BenwBtn2wMm02mJRXHvpAKCrB9RS7HXHkWaS0skIM0t4hEZx87kC
  DQRMxTMuEAgA3WN0G2Q/49KBCXt3TGOraAyvukaUrAHehq6dAqOJcpXKJmphJcQ1
  Mdb2Q/fRZIoxJ6RmDpYPYF93f1NG07Lk0sltSi+GgMcR1ZU/2WN6XuDMunJL4RCi
  cgi1w3zobf65eVaaF1TcGJm82rPGgoAp4xqC42ui0ijCYEnBtrB9uAaV73r/zJLj
  Bzsr+SPzgZHo0qSvCf/8fqpdpQN/Jif8N8Xl84r5qYHIx+mC4F95V/FZoIBPmhDJ
  uw3NRVwl32AaJjem/7Qy0Xm0pJlP2NzxM9zdISGDkK9icEX99zGm/s7XSj/KYVvv
  kfSwt8cVROfPnxgrxRSCyi0K3Yei2lnwCwADBQf+LnoGeWepWrCtwHkH5MtzX8G0
  vtahqv2qgt5ygynAd1YLiGW1XPvvmso1EeQcEgeSQNXWot9C5zOCEqfJXYTzQUfX
  YdRLaX9gHMU3heZl7SHogv2PETJNa4hEpH1skj912KbYr2onu6WQiw9ifavVR5tR
  Q25uld79csRAjXP3QSkWXJyDUbMkpC7eDq019Gkgay6fgZ6JjAYxHc3qFdbvezAJ
  wdb2bbrddmjWRgmGr+oJwK9r1bNrq0+bLX/NVLA6yVUlQ+eFDLd+FRB8VCa3bi6h
  EuFUxr6kZVUSEEvbPhExTJjTMJZb6R59a7LA36S4oaUYgZ08AknvzFDA6IkDmYhJ
  BBgRAgAJBQJMxTMuAhsMAAoJEOK7uUFR53B5gp4An1jpefc66pBYkMs3y+kbWsBg
  XyZ0AKC+n3BSwhDcgm2aQIjYxRHrL1uDpQ==
  =W9Hr
  -----END PGP PUBLIC KEY BLOCK-----

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-properties-gtk 0.81.9
  ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Thu Sep  1 20:48:04 2011
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64+mac (20110830)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 62914689
  ProcEnviron:
   SHELL=/bin/bash
   LANG=fr_FR.UTF-8
   PATH=(custom, no user)
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '62914689']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with UnicodeEncodeError in exists(): 'ascii' codec can't encode character u'\xe9' in position 13: ordinal not in range(128)
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/839005/+subscriptions




More information about the foundations-bugs mailing list