LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2003, 07:27 AM   #1
Frankk
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
gDesklets: ImportError: could not import bonobo.ui


Hi there.

I'm trying to make this gDesklets work.

What I did:
I have Slack 9.1 with gnome 2.4
I installed pyorbit(found as slack tgz package pyorbit-2.0.0-i486-1dj.tgz), then dl gnome-python-2.0.0 source and compiled it.
I get this from configure:

The following modules will be built:

gnome
gnome.ui
gnome.canvas
gnome.vfs
gconf
gtkhtml2
bonobo
bonobo.activation
bonobo.ui
gnome.applet
nautilus
gnomeprint
gnomeprint.ui

The following modules will NOT be built:

zvt

I thing that this is ok, then make and make install.

I got gDesklets 0.24.1 source, compiled and installed.

When I try to just do $ gdesklets I get:

Traceback (most recent call last):
File "/usr/bin/gdesklets", line 4, in ?
from main import HOME
File "/usr/share/gdesklets/main/__init__.py", line 51, in ?
import gnome.ui
ImportError: could not import bonobo.ui

I looked everywhere for a solution but with no luck.

What can I do to solve this?

Thanks.
Frankk
 
Old 01-19-2004, 07:41 PM   #2
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
ever get it working?
 
Old 01-19-2004, 08:19 PM   #3
Xterminator
Member
 
Registered: Sep 2002
Location: São Paulo -Brazil
Posts: 76

Rep: Reputation: 15
install python-numeric
 
Old 09-02-2004, 07:02 AM   #4
vivanovic
LQ Newbie
 
Registered: May 2004
Distribution: Fedora
Posts: 5

Rep: Reputation: 0
Wrong answer, at least in my case. I have python-numeric installed and I still get the error. And anyway, what does python-numeric have to do with the error???
 
Old 09-02-2004, 07:39 AM   #5
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
export PYTHONPATH=/usr/local/lib/python-2.3/site-python

or something similar, the pathname may be different.
 
Old 09-02-2004, 08:19 AM   #6
vivanovic
LQ Newbie
 
Registered: May 2004
Distribution: Fedora
Posts: 5

Rep: Reputation: 0
Quote:
export PYTHONPATH=/usr/local/lib/python-2.3/site-python
Sorry, this doesn't work either. I assume that you meant

PYTHONPATH=/usr/lib/python-2.3/site-packages

The echo test posted previously gives:


Code:
$ PYTHONPATH=/usr/lib/python2.2/site-packages echo -e "import bonobo.ui\nprint 'OK'"|python Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.3/site-packages/__init__.py", line 6, in ?
    #
ImportError: No module named ORBit
(The __init__.py file mentioned is owned by the python-imaging package.)

All my ORBit & python packages verify without errors, as does gnome-python2-bonobo.
 
Old 09-02-2004, 09:13 AM   #7
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
Vladimir, that answer was meant for Frankk not you. And no, I definitely meant /usr/local not /usr - he said he installed gnome-python from source so it will have been put to /usr/local. I don't know what is causing your problem.
 
Old 09-02-2004, 10:08 AM   #8
Frankk
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks everybody for the replyes, but I gave up and found precompiled packages for Slackware that work fine.

Frankk
 
Old 10-03-2004, 10:00 PM   #9
gabbobarba
LQ Newbie
 
Registered: Oct 2004
Location: Guadalajara Mexico
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
Where did you find the package that works on slackware?
cand you send it to me please?
tnx
 
Old 04-10-2005, 06:30 PM   #10
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
White Flag

After spending many hours of installing libraries, utilities, devel packages, etc, I finally decided to give up on GDesklets and give gKrellm a shot. It was up and running in minutes, with custom skins and settings. I wonder who decided to make GDesklets to hard to get working? If they would just put all the required packages up on the Yum/apt repositories, it could be installed painlessly ( like gKrellm was ). Instead, it either works right away or sends you to dependency hell, no middle ground included.

They definitely need some help with testing their packages if they want GDesklets to become widely used on different Linux distributions. I hope they realize this and change their development/packaging process to reduce the failure/frustration rate with this application.

In short, if it looks good but doesn't work, it isn't good. Like having a new Mercedez Benz car that won't accept any gas you put in it...it always complains the fuel mixture is missing a required ingredient.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gDesklets - ImportError: No module named gnome.ui raffi Linux - Software 9 10-20-2005 01:48 PM
Python: Idle: ImportError: cannot import name sleep Joe Soap Linux - Newbie 1 10-01-2005 02:52 AM
ImportError: cannot import name ext rose_bud4201 Linux - Software 5 02-24-2005 03:05 PM
gdesklets bonobo.ui won't create gong Linux - Software 1 05-30-2004 07:35 PM
gDesktop: can't import bonobo.ui isl01jbe Slackware 3 05-22-2004 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration