[Bug 1122788] Re: software-properties-gtk crash, different than other bugs (position 796 vs position 4)

Sigurd Rodlig sigurdr.ss at gmail.com
Sun Feb 24 12:57:15 UTC 2013


gpg: /tmp/tmp0_mowo/trustdb.gpg: trustdb created
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: -1061940670

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 0xe9 in position 796: invalid continuation byte

In my case, the bug is somehow fixed by removing the 2 software sources
for hardy main universe.

-- 
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/1122788

Title:
  software-properties-gtk crash, different than other bugs (position 796
  vs position 4)

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

Bug description:
  pandertroc at pandertroc-VirtualBox:~$ software-properties-gtk
  gpg: /tmp/tmpq7cjpz/trustdb.gpg: trustdb created
  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: -1063010738

  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 0xe9 in position 796: invalid continuation byte

  
  #Instead of position 114 as stated in bugs
  Bug #1053749    
  Bug #1059531
  Bug #1062793
  Bug #1069048

  it is position 796, the gedit solution does not work.

  Description:	Ubuntu 12.10
  Release:	12.10
  package: software-properties

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




More information about the foundations-bugs mailing list