Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome invest applet won't load after python-2.5 [RESOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
shur
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2004
Posts: 95

PostPosted: Sat Jul 19, 2008 5:53 pm    Post subject: gnome invest applet won't load after python-2.5 [RESOLVED] Reply with quote

After upgrading python to 2.5 and the kernel to 2.6.26-gentoo-r6 and doing the python-updater recompiles, and rebooting, the gnome-invest applet won't reload. All the other applets seem to be ok, and everything else seems to work fine.

I tried installing the gnome-invest tarball but to no avail.. the same error message:
The panel encountered a problem while loading "OAFIID:Invest_Applet".

I then tried to run it directly from the source directory invest-applet-0.1.0/invest/invest-applet -w as suggested in the README. I got this:
univers invest # ./invest-applet -w
Traceback (most recent call last):
File "./invest-applet", line 5, in <module>
import gtk, gnomeapplet
ImportError: No module named gnomeapplet

Can someone give me a pointer as to what I should be checking here. I get the impression that maybe the invest applet is looking for the gnomeapplet module in the wrong place.

I am using gnome-2.20 (x86), and it all got re-emerged with the python-updater.


Last edited by shur on Sun Jul 20, 2008 2:02 am; edited 1 time in total
Back to top
View user's profile Send private message
shur
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2004
Posts: 95

PostPosted: Sat Jul 19, 2008 5:57 pm    Post subject: typo Reply with quote

The kernel version is 2.6.25-gentoo-r6
Back to top
View user's profile Send private message
shur
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2004
Posts: 95

PostPosted: Sun Jul 20, 2008 1:59 am    Post subject: Reply with quote

After noting that wxpython was generating a warning about not being able to access /usr/lib/python/site-packages, i had a look. There was no /usr/lib/python directory, only a /usr/lib/python-2.4 and a /usr/lib/python-2.5.

I made a /usr/lib/python as a symbolic link to /usr/lib/python-2.5, re-emerged wxpython and gnome-applets and voilà the invest applet works again as it did pre-python-2.5.

Since this is no doubt not the elegant solution that the gentoo gurus would envisage, I suggest that they have a look at it and adjust the ebuilds accordingly. But for me the problem is resolved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum