jockey-gtk crashed with SystemError in markInstall()

Bug #274639 reported by Jaakan Shorter
708
This bug affects 3 people
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Fix Released
High
Martin Pitt
Intrepid
Fix Released
High
Martin Pitt

Bug Description

Description: Ubuntu intrepid (development branch)
Release: 8.10

jockey-gtk:
  Installed: 0.5~alpha1-0ubuntu6
  Candidate: 0.5~alpha1-0ubuntu6
  Version table:
 *** 0.5~alpha1-0ubuntu6 0
        500 http://us.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

I tried to install ati's drivers for ATI Radeon Xpress 1150 with jockey
and it crashed

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/jockey-gtk
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: wl
Package: jockey-gtk 0.5~alpha1-0ubuntu6
PackageArchitecture: all
ProcAttrCurrent: unconfined
ProcCmdline: /usr/bin/python /usr/bin/jockey-gtk
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/jockey-gtk']
SourcePackage: jockey
Title: jockey-gtk crashed with SystemError in markInstall()
Uname: Linux 2.6.27-4-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy kvm libvirtd lpadmin netdev plugdev powerdev sambashare scanner video

Tags: apport-crash
Revision history for this message
Jaakan Shorter (jaakanshorter) wrote :
Martin Pitt (pitti)
Changed in jockey:
assignee: nobody → pitti
importance: Undecided → High
status: New → In Progress
Revision history for this message
Alexander Rødseth (alexanro) wrote :

I got the same problem.

This command returns no packages:
dpkg --get-selections | grep -v install

Installing and upgrading packages works perfectly fine, I have no held or broken packages that I know of.

And here's the command line output for jocky-gtk:
% jockey-gtk
Traceback (most recent call last):
  File "/usr/bin/jockey-gtk", line 346, in on_button_toggle_clicked
    'toggle', False):
  File "/usr/lib/python2.5/site-packages/jockey/ui.py", line 574, in set_handler_enable
    handler_id, enable)
  File "/usr/lib/python2.5/site-packages/jockey/backend.py", line 116, in polkit_auth_wrapper
    return fn(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/jockey/backend.py", line 87, in dbus_sync_call_signal_wrapper
    raise _h_exception_exc
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.SystemError: Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/dbus/service.py", line 696, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.5/site-packages/jockey/backend.py", line 309, in _f_result_wrapper
    self._f_result = f()
  File "/usr/lib/python2.5/site-packages/jockey/xorg_driver.py", line 157, in enable
    KernelModuleHandler.enable(self)
  File "/usr/lib/python2.5/site-packages/jockey/handlers.py", line 439, in enable
    Handler.enable(self)
  File "/usr/lib/python2.5/site-packages/jockey/handlers.py", line 224, in enable
    self.backend.install_package(self.package)
  File "/usr/lib/python2.5/site-packages/jockey/backend.py", line 543, in install_package
    hasattr(self, '_locations') and self.install_progress or None)
  File "/usr/lib/python2.5/site-packages/jockey/oslib.py", line 220, in install_package
    c[package].markInstall()
  File "/usr/lib/python2.5/site-packages/apt/package.py", line 421, in markInstall
    fixer.Resolve(True)
SystemError: E:Unable to correct problems, you have held broken packages.

lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10

Martin Pitt (pitti)
Changed in jockey:
milestone: none → ubuntu-8.10
Martin Pitt (pitti)
Changed in jockey:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.5~beta1-0ubuntu5

---------------
jockey (0.5~beta1-0ubuntu5) intrepid; urgency=low

  * Merge bug fixes from trunk:
    - ui.py: Explicitly set encoding of stdout and stderr to the locale's
      preferred encoding. Thanks to Colin Watson for the approach.
      (LP: #280147)
    - ui.py, set_handler_enabled(): Show SystemErrors in dialog instead of
      crashing. (LP: #274639)
    - jockey-kde: Make --check notifications actually work again.
  * jockey/oslib.py: Clean up error handling on package installation/removal.
  * jockey-kde: Work around the lack of a PolicyKit KDE user agent by starting
    the UI through kdesu when clicking on the notification. Add
    kdebase-runtime dependency for this. (LP: #274189)

 -- Martin Pitt <email address hidden> Mon, 13 Oct 2008 14:40:43 +0200

Changed in jockey:
status: Fix Committed → Fix Released
Revision history for this message
Bryn Hughes (linux-nashira) wrote :

Tested on 0.5~beta2-0ubuntu1 - bug still exsists exactly as described above

Revision history for this message
Martin Pitt (pitti) wrote :

Some more duplicates just confirmed that this isn't fixed yet, reopening.

Changed in jockey:
status: Fix Released → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed upstream, r494.

Changed in jockey:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.5~beta3-0ubuntu3

---------------
jockey (0.5~beta3-0ubuntu3) intrepid; urgency=low

  * Merge bug fixes from trunk:
    - jockey/backend.py, polkit_auth_wrapper(): Also intercept SystemError and
      other standard exceptions in the case of a PermissionDeniedByPolicy, i.
      e. when popping up the PK auth dialog. Fixes (LP: #274639) for real.
    - po/de.po: Unfuzzify.

 -- Martin Pitt <email address hidden> Fri, 17 Oct 2008 19:51:42 +0200

Changed in jockey:
status: Fix Committed → Fix Released
To post a comment you must log in.