[patch][hardy] jockey-gtk crashed with NameError in install_package()

Bug #186584 reported by Gabriel Thörnblad
56
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Fix Released
High
Martin Pitt
Declined for Hardy by Brian Murray

Bug Description

Binary package hint: jockey-gtk

Tried to install proprietary driver "ATI accelerated graphics driver" (xorg-fglrx) on my DELL Latitude D810 which has a ATI Mobility Radeon X600 graphics card. Jockey crashed with this report.

ProblemType: Crash
Architecture: i386
Date: Mon Jan 28 11:22:16 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/jockey-gtk
InterpreterPath: /usr/bin/python2.5
Package: jockey-gtk 0.1~r139
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/jockey-gtk
ProcCwd: /home/gabbe
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/jockey-gtk']
SourcePackage: jockey
Title: jockey-gtk crashed with NameError in install_package()
Uname: Linux u-tokaji 2.6.24-5-generic #1 SMP Thu Jan 24 19:45:21 UTC 2008 i686 GNU/Linux
UserGroups:

Related branches

Revision history for this message
Gabriel Thörnblad (gabriel-thornblad) wrote :
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

I can confirm this with jockey-gtk0.1~r139 on Hardy Alpha.

Dell Inspiron 1501 w/ AMD Turion 64 X2 Dual-Core CPU and ATI RADEON Xpress1150 256MB

When attempting to enable the restricted driver, package seems download to down load as expected, but then jockey crashes and the enabled can not be checked off.

Changed in jockey:
status: New → Confirmed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

See Bug #187184 for more out put from my crash. I couldn't figure out how to get the info from Apport with out first posting the bug then marking it as a duplicate of this one.

Revision history for this message
Robertjm (robertjm) wrote :

Can confirm same problem on Hardy Heron w/latest updates. Radeon X1600 w/512Mb

Revision history for this message
Felipe Gil Castiñeira (xil) wrote :

Jockey-gtk crashes because the file "/usr/lib/python2.5/site-packages/jockey/oslib.py", does not import the "time" library.

Revision history for this message
Koen Verweij (kfverweij) wrote :

Patch worked for me. Thanks.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

I can also confirm that the patch works.

Revision history for this message
nekra (nekra) wrote :

confirm patch works. important for install nvidia-drivers to use compiz.

Revision history for this message
John Metcalfe (jb-tamug99) wrote :

I can confirm with NVIDIA driver as well. and on top of that I do not have the oslib.py file at all, so if someone can post the full file, I'd be looking a lot better at it.

Revision history for this message
John Metcalfe (jb-tamug99) wrote :

confirm the same problem that is... need some further instruction on how to apply patch

Revision history for this message
John Metcalfe (jb-tamug99) wrote :

confirm patch works as well. Thanks everyone for helping this newb

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Jockey just got an update. It doesn't seem to include the patch from here, but looks like it has solved the problem in another way. Can any one else confirm that this update has fixed this issue?

jockey (0.1-0ubuntu1) hardy; urgency=low

  * First upstream release 0.1:
    - Add installed_packages status file, so that the ubiquity hook actually
      works.
    - Add test suite for GTK frontend (run through all widgets).
    - Import usable translations from restricted-manager.
    - Some internal code architecture cleanup.
    - Some bug fixes, particularly in FirmwareHandler and build system.
  * debian/rules: Remove POT on clean.

 -- Martin Pitt < <email address hidden>> Thu, 31 Jan 2008 12:53:36 +0100

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

That's still an issue, I think. Thank you!

Changed in jockey:
assignee: nobody → pitti
status: Confirmed → In Progress
Revision history for this message
Thomas Novin (thomasn80) wrote :

I just got this issue on a fresh installed Hardy 4 Alpha.

ii jockey-gtk 0.1-0ubuntu1 GNOME user interface and desktop integration

When I chose reboot the graphics got very messed up and I ended up with the prompt about if I wanted to configure X, run it in failsafe etc. After I manually chose the fglrx driver there it started.

Revision history for this message
Thomas Novin (thomasn80) wrote :

It also crashes when I try to disable my fglrx driver. Martin, maybe this should be increased to critical as this probably affects everyone with a Nvidia card that is using the fglrx driver (that does a fresh install)?

Revision history for this message
Gabriel Thörnblad (gabriel-thornblad) wrote :

Yes, the issue is still here. And yes, the patch works fine. Too bad the driver doesn't - but that's another issue. Off to file another bug report, I guess.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Attached a debdiff for the above patch. One of my first, so please review. Hope this helps.

Martin Pitt (pitti)
Changed in jockey:
importance: Undecided → High
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr head.

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.2-0ubuntu1

---------------
jockey (0.2-0ubuntu1) hardy; urgency=low

  * New upstream bug fix release:
    - Do not create default handlers for nonexisting kernel modules.
      (LP: #187148)
    - Suppress exceptions (like SIGPIPE) in logging. (LP: #188658)
    - Enable UseEdidFreqs for legacy NVidia driver. (LP: #151141)
    - Set proper window icon. (LP: #187073)
    - Clean up strings in .desktop files (LP: #150205)
    - Fix test suite exit code on success.
    - Do not set AddARGB{,GLX}Visuals options in standard and new nVidia
      handler any more (obsolete).
    - Support hiding of help button if help is not available.
  * tests/oslib.py: Add simple tests for Ubuntu implementation of package
    system query functions.
  * jockey/oslib.py, package_description(): Do not crash when apt-cache show
    succeeds, but prints nothing. This works around apt bug #18306.
    (LP: #186943)
  * tests/oslib.py: Add shallow test cases for {install,remove}_packge() to
    ensure that they won't crash for the simplest reasons. This reproduces
    #186584.
  * jockey/oslib.py: Add missing import of time. (LP: #186584, #186883)
  * jockey/oslib.py, ui_help_available(): Only show help if yelp is present.
    (LP: #186179)
  * debian/rules: Run test suite during build (failure causes FTBFS).

 -- Martin Pitt <email address hidden> Mon, 04 Feb 2008 18:53:26 +0100

Changed in jockey:
status: Fix Committed → 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.