software-properties-gtk fails to run

Bug #1038679 reported by Tobiasz Jarczyk
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This happened when I tried to run software-properties-gtk from terminal.

dotnokato@none:~$ software-properties-gtk
gpg: /tmp/tmpizxze2/trustdb.gpg: baza zaufania utworzona
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 180, in __init__
    self.show_drivers()
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1280, in show_drivers
    widget = Gtk.Label("{}: {}".format(self.devices[device]['vendor'], self.devices[device]['model']))
KeyError: 'vendor'

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: software-properties-gtk 0.91
ProcVersionSignature: Ubuntu 3.5.0-9.9-generic 3.5.0
Uname: Linux 3.5.0-9-generic x86_64
ApportVersion: 2.4-0ubuntu8
Architecture: amd64
CheckboxSubmission: ed6b163724c03445b4dd8678117c4efa
CheckboxSystem: b845c366ea09c60efa3a45c1b5b21525
Date: Sun Aug 19 16:52:57 2012
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=pl_PL:pl:en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: Upgraded to quantal on 2012-06-28 (51 days ago)

Revision history for this message
Tobiasz Jarczyk (dotnokato-q) wrote :
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

I have just tried to reproduce, b ut could not.

Can you run from console

apt-get update

and then

apt-get dist-upgrade

and report back if this happends after a system newstart again?

Thank you for reporting so far.

If this happends again, please set the report back to new. When it is gone with the latest updates set it to Fix released.

Changed in software-properties (Ubuntu):
status: New → Incomplete
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Sorry, I have ment

sudo apt-get update

and then

sudo apt-get dist-upgrade

Revision history for this message
Tobiasz Jarczyk (dotnokato-q) wrote :

After upgrading, the bug still occurs.

Changed in software-properties (Ubuntu):
status: Incomplete → New
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
Revision history for this message
4listair (alistair-alistairlang) wrote :

I also encountered this on my second fresh Quantal installation, taken from the Monday 20 Aug night's 'current' build, affecting a Compaq NC6320 laptop. My main installation on a desktop, running with daily updates since ~Alpha-2, shows no such issues.

Revision history for this message
4listair (alistair-alistairlang) wrote :

Now that I am back in front of my laptop, here is the error message I am seeing, which has slight differences from the OP (same message, whether run under sudo or not):

alistair@w201386:~$ sudo software-properties-gtk
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 103: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 138: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/69-language-selector-ja-jp.conf", line 141: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/69-language-selector-zh-tw.conf", line 79: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 9: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 26: Having multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 31: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 40: Having multiple values in <test> isn't supported and may not works as expected
gpg: /tmp/tmpkgyuia/trustdb.gpg: trustdb created
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 180, in __init__
    self.show_drivers()
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1280, in show_drivers
    widget = Gtk.Label("{}: {}".format(self.devices[device]['vendor'], self.devices[device]['model']))
KeyError: 'vendor'

Revision history for this message
4listair (alistair-alistairlang) wrote :

Apport is now picking the crash up but is suggesting it is a duplicate of:

https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1028388
"software-properties-gtk crashed with KeyError in show_drivers(): 'model' "

Revision history for this message
Tobiasz Jarczyk (dotnokato-q) wrote :

Those Fontconfig warnings are a part of a different bug:
 #1034928 Fontconfig warning: Having multiple values in <test> isn't supported and may not works as expected

So the rest looks exactly the same.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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