Jockey does not install anything, help button does nothing

Bug #206169 reported by TheGZeus
20
Affects Status Importance Assigned to Milestone
Jockey
Fix Released
Undecided
Unassigned
jockey (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

backtrace:

Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Traceback (most recent call last):
  File "/usr/bin/jockey-kde", line 271, in on_handler_changed
    if self.toggle_handler(item.handler):
  File "/usr/lib/python2.5/site-packages/jockey/ui.py", line 469, in toggle_handler
    if not self.confirm_action(title, handler.name(), subtext, action):
  File "/usr/bin/jockey-kde", line 178, in confirm_action
    text = unicode(text.replace('\n', '<br/>'), 'UTF-8')
TypeError: decoding Unicode is not supported
Traceback (most recent call last):
  File "/usr/bin/jockey-kde", line 271, in on_handler_changed
    if self.toggle_handler(item.handler):
  File "/usr/lib/python2.5/site-packages/jockey/ui.py", line 469, in toggle_handler
    if not self.confirm_action(title, handler.name(), subtext, action):
  File "/usr/bin/jockey-kde", line 178, in confirm_action
    text = unicode(text.replace('\n', '<br/>'), 'UTF-8')
TypeError: decoding Unicode is not supported

I actually re-installed to get this working, and...nope.

It starts in under 2 hours(hooray) now but it still has no effect on my computer.

Am I doing something wrong? Is there some weird missing...something?

Related branches

Revision history for this message
TheGZeus (gzeusmants) wrote :

 Should I wipe out my /home partition??????????????????
That would be close to the shittiest thing I've had to do in 3 months, and that includes eat crackers for 3 days.
What's going on here?!?
It's also wholly undocumented.
I'm going to file a bug on THAT, too.

Revision history for this message
TheGZeus (gzeusmants) wrote :

output of $ jockey-kde --debug --list 2>&1 | tee /tmp/jockey-debug.txt

Revision history for this message
TheGZeus (gzeusmants) wrote :
Download full text (5.3 KiB)

$ sudo jockey-kde -C
installs video drivers.
$ sudo jockey-kde -e kmod:b43
installed b43-fwcutter.
The video driver works fine, the 4318 card still does nothing. Huzzah.

 Want a backtrace? Wanna respond to a bug?

kapture::PkgSystem::PkgSystem()
WARNING: please edit ~/.scim/global and change /DefaultConfigModule to kconfig
WARNING: unbind/rebind for device ssb0:0 on driver /sys/module/b43/drivers/ssb:b43 failed
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/jockey/handlers.py", line 396, in rebind
    open(os.path.join(driver_path, 'unbind'), 'w').write(device)
IOError: [Errno 13] Permission denied: '/sys/module/b43/drivers/ssb:b43/unbind'
gzeus@gzeus-laptop:~/Desktop/tyuio$ sudo jockey-kde -e kmod:b43
kapture::PkgSystem::PkgSystem()
kdecore (KProcess): WARNING: _attachPty() 28
kapture::PkgSystem::CreatePM()
kapture::DPkgPM::Go ()
DPkgPM::Go()
DPkgPM::runScripts ('DPkg::Pre-Invoke', 0)
DPkgPM::runScripts ('DPkg::Pre-Install-Pkgs', 1)
adept::DPkgPM::forkScript("/usr/sbin/dpkg-preconfigure --apt || true")
QObject::connect: No such signal konsolePart::processExited(const KProcess*)
QObject::connect: (sender name: 'konsolepart')
QObject::connect: (receiver name: 'unnamed')
kdecore (KProcess): WARNING: _attachPty() 29
a process exited!
END: adept::DPkgPM::forkScript("/usr/sbin/dpkg-preconfigure --apt || true")
DPkgPM::setupArgs ()
reading end of the pipe: 11
running '/usr/bin/dpkg --status-fd 28 --unpack /var/cache/apt/archives/b43-fwcutter_1%3a011-1_i386.deb '
adept::DPkgPM::forkDpkg ()
QObject::connect: No such signal konsolePart::processExited(const KProcess*)
QObject::connect: (sender name: 'konsolepart')
QObject::connect: (receiver name: 'unnamed')
kdecore (KProcess): WARNING: _attachPty() 29
updateStatus( b43-fwcutter, half-installed, )
updateStatus: msg = Preparing installation of %1...
updateStatus: seen = 1, total = 5
updateStatus( b43-fwcutter, unpacked, )
updateStatus: msg = Unpacking %1...
updateStatus: seen = 2, total = 5
updateStatus( b43-fwcutter, unpacked, )
updateStatus: msg = Unpacking %1...
updateStatus: seen = 2, total = 5
a process exited!
a process exited!
DPkgPM::runScripts ('DPkg::Post-Invoke', 0)
adept::DPkgPM::forkScript("if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi")
QObject::connect: No such signal konsolePart::processExited(const KProcess*)
QObject::connect: (sender name: 'konsolepart')
QObject::connect: (receiver name: 'unnamed')
kdecore (KProcess): WARNING: _attachPty() 28
a process exited!
a process exited!
a process exited!
END: adept::DPkgPM::forkScript("if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi")
DPkgPM::runScripts ('DPkg::Post-Invoke', 0)
adept::DPkgPM::forkScript("if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi")
QObject::connect: No such signal konsolePart::processExited(const KProcess*)
QObject::connect: (sender name: 'konsolepart')
QObject::connect: (receiver name: 'unnamed')
kdecore (KProcess): WARNING: _attachPty() 28
a process exited!
a process exited!
a process exited!
a process exited!
END: adept::DPkgPM::forkScrip...

Read more...

Revision history for this message
psylem (subnetjet) wrote :

jockey-kde doesn't work for me either, I get this "TypeError: decoding Unicode is not supported" error aswell when I click a check box and then closing and reopening jockey shows that my selections have not been saved.

sam@PORTAL01:~$ sudo jockey-kde
Traceback (most recent call last):
  File "/usr/bin/jockey-kde", line 271, in on_handler_changed
    if self.toggle_handler(item.handler):
  File "/usr/lib/python2.5/site-packages/jockey/ui.py", line 469, in toggle_handler
    if not self.confirm_action(title, handler.name(), subtext, action):
  File "/usr/bin/jockey-kde", line 178, in confirm_action
    text = unicode(text.replace('\n', '<br/>'), 'UTF-8')
TypeError: decoding Unicode is not supported

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

TheGZeus, is the output in comment 3 complete? It's filled with adept stuff, but it does not have any useful debugging information about jockey itself. Maybe you can restart it with "sudo jockey-kde --debug -e kmod:b43"?

The crash that psylem noticed should become a separate bug report, since it's entirely unrelated.

Revision history for this message
TheGZeus (gzeusmants) wrote :

To be perfectly honest, I'm afraid to use this program.
The video driver it installed killed Mplayer, and I don't even know what trying to enable b43 was doing since it certainly wasn't enabling my wireless.

I've re-installed twice because of this program(though the second time I really just had to disable restricted video, but I had no idea how).

Is there a command that would give you the info you want but...not DO ANYTHING to my computer?

Revision history for this message
TheGZeus (gzeusmants) wrote :

I'm considering filing a bug in Ubuntu called 'Jockey.'

The only thing I've seen said about this program that's good is the code is pretty.
Doesn't matter how nicely laid out the engine of a car is if it has no wheels.

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

Sure, you can start it as normal user:

  jockey-gtk --debug -e kmod:b43 2>&1 | tee /tmp/debug.log

and attach /tmp/debug.log. It will produce an error that you started it without admin rights, but the debug info should still tell me something.

Seems that you have particularly bad luck. What do you mean with "video driver killing mplayer"? Which driver did you install? What are the details of the malfunction? (I expect that this is a bug in the installed video driver itself, not in jockey). If it's the ATI fglrx one, then it's likely bug 197639?

b43 problem might be bug 197819.

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

I'll dedicate this button to the Help button (which should not exist in the KDE implementation, since the KDE help does not have the jockey docs yet), and to the weird unicode() error. Please open new bugs for other problems (it's likely that they were already filed, see my previous post).

Changed in jockey:
assignee: nobody → pitti
status: New → In Progress
Revision history for this message
TheGZeus (gzeusmants) wrote :

Luck implies chance, computers only do what you tell them.
It's hard for me to blame anything this does on what it installs and consider it a separate bug when everything else it does is so buggy. -_-

Here's the blamed log file.

Feel free to think of me as a dick, but I'm not the only one affected by this.

BTW, this command does require the sudo command even if I'd sudoed recently, -C does not. So go make that bug valid again.

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

Hm, that debug log looks fine. So I think the failure of b43-fwcutter is a duplicate of bug 197819.

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

Can reproduce the unicode() problem now. PyQt is driving me nuts with that, argh.

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

Both fixed in bzr trunk, will upload to Hardy soon.

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

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

  * New upstream bug fix release:
    - jockey/xorg_driver.py: Check if _row attribute is present, which is not
      the case for Subsections in the "Module" section. (LP: #201160)
    - Make --check-composite ask for confirmation. (LP: #202898)
    - Enable AddARGBGLXVisuals option for standard nvidia driver.
      (LP: #154596)
    - KDE: Do not change check boxes if enabling was cancelled.
    - KDE: Drop unicode() conversion in confirm_action(), strings are already
      unicode (LP: #206169)
    - KDE: Disable help button if help is not available. (LP #206169)

 -- Martin Pitt <email address hidden> Thu, 27 Mar 2008 12:41:53 +0100

Changed in jockey:
status: Fix Committed → Fix Released
Revision history for this message
TheGZeus (gzeusmants) wrote :

You are a god among men.
*ペコ*

Next: doing a ritual dance to get ATI to make fglrx work better... Stupid 'legal departments'.

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

This is fixed upstream, too.

Changed in jockey:
status: New → Fix Released
Revision history for this message
TheGZeus (gzeusmants) wrote :

....
Is the release I just got on an update this fix? Because I still get:
WARNING: unbind/rebind for device ssb0:0 on driver /sys/module/b43/drivers/ssb:b43 failed
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/jockey/handlers.py", line 400, in rebind
    open(os.path.join(driver_path, 'unbind'), 'w').write(device)
IOError: [Errno 13] Permission denied: '/sys/module/b43/drivers/ssb:b43/unbind'
touch: cannot touch `/var/run/reboot-required': Permission denied
and restarting still leaves me with no wireless.
I don't have a laptop without wireless. She's grounded.
This is a bug critical enough that if it makes it into the release, I'm not sure what I'll recommend to friends... feisty? Gutsy?
In any case, what should I do?

Revision history for this message
TheGZeus (gzeusmants) wrote :

Correction: manual removal/install of fwcutter works.
Still a bit disconcerting the jockey doesn't remove/give the option to remove the package.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 206169] Re: Jockey does not install anything, help button does nothing

TheGZeus [2008-04-09 11:37 -0000]:
> Is the release I just got on an update this fix?

It is supposed to fix it for fresh installations of b43-fwcutter. I
guess you already had installed it before, so you never saw the
question whether to download the firmware from the internet.

Can you please try the following:

 sudo dpkg -P b43-fwcutter

in a Terminal and then try to enable it again? does it work then?

Revision history for this message
TheGZeus (gzeusmants) wrote :

Much like earlier install problem, the graphical version doesn't even remove the package.
The command
$ sudo jockey-kde -d kmod:b43
does remove it.
Oddly, the firmware remains in use...

It DOES install with the graphical version, though.

These problems could be exclusive to the KDE version.

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.