← Back to team overview

desktop-packages team mailing list archive

[Bug 910017] Re: [Precise] jockey-gtk crashed with AttributeError in available(): 'Backend' object has no attribute 'handlers'

 

** Visibility changed to: Public

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to jockey in Ubuntu.
https://bugs.launchpad.net/bugs/910017

Title:
  [Precise] jockey-gtk crashed with AttributeError in available():
  'Backend' object has no attribute 'handlers'

Status in “jockey” package in Ubuntu:
  Confirmed

Bug description:
  Get crash if "additional drivers" is checked from System Settings
  menu, or from a terminal:

  
  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
  Exception in thread thread_call_progress_dialog:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner   self.run()
    File "/usr/lib/python2.7/threading.py", line 505, in run   self.__target(*self.__args, **self.__kwargs)
    File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__    **keywords)
    File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking   message, timeout)
  DBusException: org.freedesktop.DBus.Python.EOFError: Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 702, in _message_cb  retval = candidate_method(self, *args, **keywords)
    File "/usr/lib/python2.7/dist-packages/jockey/backend.py", line 174, in detect   self.db_init()
    File "/usr/lib/python2.7/dist-packages/jockey/backend.py", line 196, in db_init  detection.OpenPrintingDriverDB()]
    File "/usr/lib/python2.7/dist-packages/jockey/detection.py", line 487, in __init__  DriverDB.__init__(self, use_cache=True)
    File "/usr/lib/python2.7/dist-packages/jockey/detection.py", line 172, in __init__  self.cache = pickle.load(open(self.cache_path, 'rb'))
  EOFError

  
  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 143, in __call__   **keywords)
    File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, 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 702, 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'

  
  oem@oem-desktop:~$ 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 143, in __call__    **keywords)
    File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, 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 702, 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'

  oem@oem-desktop:~$ gksu jockey-gtk
  produce a new crash

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: jockey-gtk 0.9.6-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-7.13-generic-pae 3.2.0-rc7
  Uname: Linux 3.2.0-7-generic-pae i686
  NonfreeKernelModules: nvidia
  .var.log.jockey.log:
   2011-12-30 08:59:30,847 DEBUG: updating <jockey.detection.LocalKernelModulesDriverDB instance at 0x9f19fac>
   2011-12-30 08:59:32,088 DEBUG: reading modalias file /lib/modules/3.2.0-7-generic-pae/modules.alias
   2011-12-30 08:59:32,176 DEBUG: reading modalias file /usr/share/jockey/modaliases/b43
   2011-12-30 08:59:32,184 DEBUG: reading modalias file /usr/share/jockey/modaliases/disable-upstream-nvidia
  ApportVersion: 1.90-0ubuntu1
  Architecture: i386
  Date: Fri Dec 30 09:01:31 2011
  DuplicateOf: https://bugs.launchpad.net/bugs/632750
  ExecutablePath: /usr/bin/jockey-gtk
  InterpreterPath: /usr/bin/python2.7
  MachineType: ASUSTEK COMPUTER INC P5W DH Deluxe
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/jockey-gtk
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-7-generic-pae root=UUID=9e61e83e-bca9-43cf-aa90-5a68892213fa ro vga=791 splash quiet crashkernel=384M-2G:64M,2G-:128M acpi_osi=Linux
  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: adm admin audio avahi avahi-autoipd boinc cdrom couchdb crontab daemon debian-tor dialout disk fuse haldaemon klog kmem libuuid lpadmin mail messagebus mlocate mysql mythtv netdev ntp operator plugdev polkituser pulse root sambashare saned shadow ssh ssl-cert sudo syslog tty users utmp video voice www-data
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/910017/+subscriptions