gdesklets - a funny thing happened

Asked by John Winterton

Here is the contents of my attempt from the command line:

gdesklets check
Checking requirements:
 - sys ... found
 - xml.parsers.expat ... found
 - xml.sax ... found
 - gtk ... found
 - ORBit ...**
ERROR:/build/buildd/pyorbit-2.24.0/src/pyorbit-utils.c:39:_pyorbit_escape_name: assertion failed: (keyword_mod != NULL)

There doesn't seem to be anything missing except there is a problem with a system variable??

Question information

Language:
English Edit question
Status:
Solved
For:
gDesklets Edit question
Assignee:
No assignee Edit question
Solved by:
John Winterton
Solved:
Last query:
Last reply:
Revision history for this message
Joe Sapp (sappj) said :
#1

Try this in a terminal:

python -c 'import ORBit; print ORBit.__version__'

That's essentially what the check is doing.

Revision history for this message
John Winterton (jwinterton) said :
#2

(2, 24, 0)

Is what I got. Ubuntu 0.10 current to today.

Revision history for this message
Joe Sapp (sappj) said :
#3

What version of python is it running with? Maybe something like:

strace gdesklets check 2>&1 | grep 'bin/python'

will help.

Revision history for this message
John Winterton (jwinterton) said :
#4

I sorry for the delay, I was moving house and home.

Your command line p;roduced no output, and I copied it exactly.

Synaptic says I am running 2.6.5-0Ubuntu1 which is marked as the latest version.

I have IDLE loaded as well, so can I get you something from there?

Revision history for this message
Joe Sapp (sappj) said :
#5

What version of gdesklets? Seems to be related to bug #344079.

Revision history for this message
John Winterton (jwinterton) said :
#6

0.36.1-4
with data 0.35.6-3

Hope these are the right ones because that's what Synaptic says are installed.

Revision history for this message
Joe Sapp (sappj) said :
#7

Seems right, but I'm not running Ubuntu. Looks like they tried to address this in 0.36.1-2ubuntu1. Since Ubuntu hasn't packaged 0.36.2, would you be willing to compile it from source and see if running the new version fixes the issue? See the download page on Launchpad.

Revision history for this message
John Winterton (jwinterton) said :
#8

I have been away from that kind of thing for over 20 years and don't feel competent since I am just learning the O/S. Perhaps you can find someone else or someone will volunteer. Sorry.

Revision history for this message
Joe Sapp (sappj) said :
#9

Oh well. Sorry I couldn't do more, but building Ubuntu packages is out of my realm. One can hope they'll get around to doing it at some point.

Revision history for this message
John Winterton (jwinterton) said :
#10

Thanks, Joe. Its out of mine too. I am good a breaking things these days, but my days as a fixer are over. It is far to complex any more. The secure distribution is nice, but the last time I did anything with that was with Multics R12.

Revision history for this message
Matthew Waters (waters-matthew00) said :
#11

I'm having the exact same trouble as the OP. I solved it by installing the 0.36.2 tarball from launchpad.

With the default ubuntu packages

$ apt-cache policy gdesklets:
gdesklets:
  Installed: 0.36.1-4
  Candidate: 0.36.1-4
  Version table:
 *** 0.36.1-4 0
        500 http://mirror.optus.net/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

$ apt-cache policy gdesklets-data
gdesklets-data:
  Installed: 0.35.6-3
  Candidate: 0.35.6-3
  Version table:
 *** 0.35.6-3 0
        500 http://mirror.optus.net/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

$ python -c 'import ORBit; print ORBit.__version__':

(2, 24, 0)

$ strace gdesklets check 2>&1 | grep 'bin/python':

execve("/home/matt/bin/python", ["python", "/usr/bin/gdesklets", "check"], [/* 44 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/local/sbin/python", ["python", "/usr/bin/gdesklets", "check"], [/* 44 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/local/bin/python", ["python", "/usr/bin/gdesklets", "check"], [/* 44 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/sbin/python", ["python", "/usr/bin/gdesklets", "check"], [/* 44 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/bin/python", ["python", "/usr/bin/gdesklets", "check"], [/* 44 vars */]) = 0
stat("/home/matt/bin/python", 0x7fff3fc54b70) = -1 ENOENT (No such file or directory)
stat("/usr/local/sbin/python", 0x7fff3fc54b70) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/python", 0x7fff3fc54b70) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/python", 0x7fff3fc54b70) = -1 ENOENT (No such file or directory)
stat("/usr/bin/python", {st_mode=S_IFREG|0755, st_size=2613296, ...}) = 0
readlink("/usr/bin/python", "python2.6", 4096) = 9
readlink("/usr/bin/python2.6", 0x7fff3fc54c00, 4096) = -1 EINVAL (Invalid argument)

With gdesklets 0.36.2 from launchpad:

Checking requirements:
 - sys ... found
 - xml.parsers.expat ... found
 - xml.sax ... found
 - gtk ... found
 - ORBit ... found
 - bonobo.ui ... found
Requirements checking done. Your system looks ok!