software-properties-gtk (TypeError) detect_drivers → system_device_drivers → system_driver_packages → packages_for_modalias

Bug #1759134 reported by errors.ubuntu.com bug bridge
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding software-properties. This problem was most recently seen with package version 0.96.24.24, the problem page at https://errors.ubuntu.com/problem/a98c6a0ffa437bac3d8c239431e0eedecffdbdfe contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1205, in detect_drivers
    self.devices = detect.system_device_drivers(self.apt_cache)
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 390, in system_device_drivers
    for pkg, pkginfo in system_driver_packages(apt_cache).items():
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 294, in system_driver_packages
    for p in packages_for_modalias(apt_cache, alias):
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 145, in packages_for_modalias
    apt_cache_hash = hash(apt_cache)
TypeError: unhashable type: 'Cache'

Tags: bionic
summary: - /usr/bin/software-properties-
- gtk:TypeError:detect_drivers:system_device_drivers:system_driver_packages:packages_for_modalias
+ software-properties-gtk (TypeError) detect_drivers →
+ system_device_drivers → system_driver_packages → packages_for_modalias
description: updated
tags: removed: kylin-18.04
Revision history for this message
Andrea Azzarone (azzar1) wrote :

This will be fixed once the version of python-apt in proposed gets in main.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-properties (Ubuntu):
status: New → Confirmed
Changed in software-properties (Ubuntu):
status: Confirmed → Fix Committed
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :
affects: software-properties (Ubuntu) → python-apt (Ubuntu)
Changed in python-apt (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.