Public bug reported:

software-properties-gtk doesn't start. When I start it manually from a
terminal (with sudo) it gives me this:

$sudo software-properties-gtk
gpg: /tmp/tmpikq74o/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: -1063478128

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


---------------------------------------------
Description:    Ubuntu 12.10
Release:        12.10

software-properties-gtk:
  Installed: 0.92.9
  Candidate: 0.92.9
  Version table:
 *** 0.92.9 0
        500 http://hu.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
        100 /var/lib/dpkg/status

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- It doesn't start. When I start it manually from a terminal (with sudo)
- it gives me this:
+ software-properties-gtk doesn't start. When I start it manually from a
+ terminal (with sudo) it gives me this:
  
+ $sudo software-properties-gtk
  gpg: /tmp/tmpikq74o/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]
+   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: -1063478128
  
  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)
+   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
  
  
+ ---------------------------------------------
  Description:  Ubuntu 12.10
  Release:      12.10
  
  software-properties-gtk:
-   Installed: 0.92.9
-   Candidate: 0.92.9
-   Version table:
-  *** 0.92.9 0
-         500 http://hu.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
-         100 /var/lib/dpkg/status
+   Installed: 0.92.9
+   Candidate: 0.92.9
+   Version table:
+  *** 0.92.9 0
+         500 http://hu.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
+         100 /var/lib/dpkg/status

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

Title:
  "Software Sources" crash

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to