0.9.7 : jockey-gtk crashed with AttributeError in available(): 'Backend' object has no attribute 'handlers'

Bug #946973 reported by dino99
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Precise i386 logged as gnome-classic

crash, terminal output:

oem@oem-desktop:~$ sudo jockey-gtk

Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed
Traceback (most recent call last):
  File "/usr/bin/jockey-gtk", line 415, in <module>
    sys.exit(u.run())
  File "/usr/lib/python2.7/dist-packages/jockey/ui.py", line 468, in run
    self.ui_show_main()
  File "/usr/bin/jockey-gtk", line 94, in ui_show_main
    self.update_tree_model()
  File "/usr/bin/jockey-gtk", line 271, in update_tree_model
    for h_id in self.get_displayed_handlers():
  File "/usr/lib/python2.7/dist-packages/jockey/ui.py", line 819, in get_displayed_handlers
    return self.backend().available(self.argv_options.mode)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.7/dist-packages/jockey/backend.py", line 212, in available
    return self.handlers.keys()
AttributeError: 'Backend' object has no attribute 'handlers'

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: jockey-gtk 0.9.7-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-18.28pre201203030400-generic-pae 3.2.9
Uname: Linux 3.2.0-18-generic-pae i686
NonfreeKernelModules: nvidia
.var.log.jockey.log:
 2012-03-05 10:45:22,174 DEBUG: updating <jockey.detection.LocalKernelModulesDriverDB instance at 0xb7231cec>
 2012-03-05 10:45:23,828 DEBUG: reading modalias file /lib/modules/3.2.0-18-generic-pae/modules.alias
 2012-03-05 10:45:23,946 DEBUG: reading modalias file /usr/share/jockey/modaliases/b43
 2012-03-05 10:45:23,946 DEBUG: reading modalias file /usr/share/jockey/modaliases/disable-upstream-nvidia
ApportVersion: 1.94-0ubuntu1
Architecture: i386
Date: Mon Mar 5 10:45:24 2012
ExecutablePath: /usr/bin/jockey-gtk
ExecutableTimestamp: 1330926751
InterpreterPath: /usr/bin/python2.7
MachineType: ASUSTEK COMPUTER INC P5W DH Deluxe
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/jockey-gtk
ProcCwd: /home/oem
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-18-generic-pae root=UUID=9e61e83e-bca9-43cf-aa90-5a68892213fa ro quiet splash vt.handoff=7 crashkernel=384M-2G:64M,2G-:128M intel_idle.max_cstate=0
PythonArgs: ['/usr/bin/jockey-gtk']
SourcePackage: jockey
Title: jockey-gtk crashed with AttributeError in available(): 'Backend' object has no attribute 'handlers'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: admin audio avahi avahi-autoipd crontab debian-tor fuse haldaemon klog libuuid lpadmin messagebus mythtv plugdev polkituser pulse root ssh ssl-cert syslog users voice
dmi.bios.date: 10/22/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3001
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5W DH Deluxe
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3001:bd10/22/2009:svnASUSTEKCOMPUTERINC:pnP5WDHDeluxe:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5WDHDeluxe:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5W DH Deluxe
dmi.product.version: System Version
dmi.sys.vendor: ASUSTEK COMPUTER INC

Revision history for this message
dino99 (9d9) wrote :
visibility: private → public
summary: - jockey-gtk crashed with AttributeError in available(): 'Backend' object
- has no attribute 'handlers'
+ 0.9.7-0ubuntu2 : jockey-gtk crashed with AttributeError in available():
+ 'Backend' object has no attribute 'handlers'
tags: added: 0.9.7-0ubuntu2
tags: removed: need-duplicate-check
Revision history for this message
dino99 (9d9) wrote : Re: 0.9.7-0ubuntu2 : jockey-gtk crashed with AttributeError in available(): 'Backend' object has no attribute 'handlers'

Have logged out/in several times, also made a cold boot & reconfigure the system, but still get a crash either with System Settings or with a terminal.

Revision history for this message
dino99 (9d9) wrote :

Have purgeg then reinstalled : jockey* nvidia-current, then log out/in, and finally got a popup saying that a graphic driver was available.
Its also possible to run jockey now from System Settings without getting a crash, but it is very slow for opening its screen (takes 3 4 seconds). So its better than a crash but something seems to be incorrect with python

Revision history for this message
dino99 (9d9) wrote :

From a terminal, still get:

oem@oem-desktop:~$ sudo jockey-gtk

Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

Revision history for this message
dino99 (9d9) wrote :

Only gksu jockey-gtk does not warns

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

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

Changed in jockey (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

Feedback as now Precise have a newer jockey-gtk 0.9.7-0ubuntu5

oem@oem-desktop:~$ sudo jockey-gtk
[sudo] password for oem:

(jockey-gtk:15934): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

only that error, then the jocket dialog box open as it have to.

Revision history for this message
Samuel Leathwick (s-leathwick) wrote :

I am experiencing the same error. Unfortunately the fix above didn't work for me. I purged and re-installed jockey*, but not nvidia-current, as that only exists as a virtual package for me (perhaps because I am a PPC user). But no luck there.

Still haven't been able to get jockey to run, leaving the drivers I need out of reach, grr.

dino99 (9d9)
summary: - 0.9.7-0ubuntu2 : jockey-gtk crashed with AttributeError in available():
- 'Backend' object has no attribute 'handlers'
+ 0.9.7 : jockey-gtk crashed with AttributeError in available(): 'Backend'
+ object has no attribute 'handlers'
tags: removed: 0.9.7-0ubuntu2
Changed in jockey (Ubuntu):
importance: Undecided → Medium
Revision history for this message
dino99 (9d9) wrote :

Actual terminal output on Quantal i386:

oem@dub:~$ sudo jockey-gtk

(jockey-gtk:29848): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(jockey-gtk:29848): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

That's it, no crash now.

Revision history for this message
dino99 (9d9) wrote :

but still a borked entries list :
 get several unneeded grayed entries,
and some others replicated multiple times, like nvidia-vdpau
and some others outdated and non installed packages, like nvidia-96

its very strange that nvidia-96 is listed on a non compatible hardware, when the compatible one is installed & activated (nvidia-current aka 302.17

Revision history for this message
dino99 (9d9) wrote :

Jockey has been superseded by software-properties, which now handles
third-party driver configuration.

Changed in jockey (Ubuntu):
status: Confirmed → 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.