attach_drm_info falls over with weird DRM connector names
Bug #597558 reported by
Chris Halse Rogers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Binary package hint: apport
There's no guarantee that DRM connector names are valid apport keys. On my system, for example, one of my connectors is “card0-HDMI Type A-1”. The space causes attach_drm_info to die with an AssertionError in __setitem__.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apport 1.14-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-4-generic x86_64
Architecture: amd64
Date: Wed Jun 23 16:08:24 2010
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_AU.utf8
SHELL=/bin/zsh
SourcePackage: apport
Related branches
lp:~raof/apport/drm-info-fix
- Apport upstream developers: Pending requested
-
Diff: 17 lines (+6/-1)1 file modifiedapport/hookutils.py (+6/-1)
To post a comment you must log in.
Nice catch, thanks! I committed a slightly different version to trunk r1780.