Reply
Thread Tools
Posts: 70 | Thanked: 13 times | Joined on Nov 2007 @ Milan - Italy
#11
Originally Posted by yerga View Post
Thanks, Lupin3d.
It can be a problem with python in general, since Nicotine doesn't use the cairo module therefore it doesn't import that module.

Could you write the complete error?
Traceback (most recent call last):
File "/usr/bin/Nicotine", line 7, in <module>
import gtk
File "debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gt.0/gtk/__init__.py", line 48, in <module>
ImportError: No module named cairo

 
Posts: 8 | Thanked: 0 times | Joined on Nov 2007
#12
yerga thank you for your help and patience
it appears i have deeper issues/problems.
nothing works in x terminal.
i can type in anything, but nothing happens there.
i even tried the help command..nothing happened
i tried help and 'help' (with the '')
i also closed it and reopened it and typen in app names that do work ok.nothing happens in x terminal
 
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#13
Originally Posted by Lupin3d View Post
Traceback (most recent call last):
File "/usr/bin/Nicotine", line 7, in <module>
import gtk
File "debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gt.0/gtk/__init__.py", line 48, in <module>
ImportError: No module named cairo


Ok, thanks.
It seems the gtk module is compiled with cairo support, so when importing the gtk module it needs the cairo module.
But the python2.5-cairo module isn't dependent of python2.5-gtk2 module.
Nicotine only have python2.5-gtk2 module as dependence, so it doesn't run.

If you install python2.5-runtime from the application manager, this error possibly won't happen, because python2.5-runtime will install python2.5-cairo.
http://maemo.org/downloads/product/OS2008/pymaemo/

I will update nicotine in order this problem doesn't happen.
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:45.