maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Erminig 2008 python (https://talk.maemo.org/showthread.php?t=13992)

RogerShepherd 2007-12-28 20:17

Erminig 2008 python
 
I've had a look at the forum but can't find an obvious answer to my problem. My guess is that I've done something stupid - but what?

I've flashed 2008 onto my N800; all seems fine.

I've installed GPE calender - seems to be fine.

I'm trying to get the excellent and essential erminig to work. I've installed:

python2.5 - 2.5.1-1osso3
python2.5-gobje - 2.13.1-1osso2
python2.5-gtk2 - 2.12.0-1osso5
python2.5-hildon - 0.8.8-1osso2
python2.5-xml - 0.8.4-1osso9

When I run erminig from an X-window I get

Traceback (most recent call last):
File "/usr/bin/erminig", line 4, in <module>

import gtk

File "debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48, in <module>
ImportError: No module named cairo

Any suggestions more than welcome

Roger

Tahitibob 2007-12-28 20:32

Re: Erminig 2008 python
 
Hi
Install python2.5-cairo
It appears only in redpill mode
It should be installed with python2.5-runtime.....

RogerShepherd 2007-12-29 00:02

Re: Erminig 2008 python
 
Thanks for your help - I should have checked for -cairo; I do have red-pill enabled.. The real secret was "python2.5-runtime" - I guess I should have installed that rather than targeting the individual components.

I'm getting an "installation file corrupted" on -runtime.......

Roger

lorelei 2007-12-29 00:20

Re: Erminig 2008 python
 
Quote:

Originally Posted by RogerShepherd (Post 117007)
I'm getting an "installation file corrupted" on -runtime.......

Roger

This thread may come in handy for your issues with python :)

RogerShepherd 2007-12-29 13:34

Re: Erminig 2008 python
 
Yes - it did. I disabled "extras" another repository called extras with the misspelt link and things started to work.

[Actually, I ran into a problem with running out of space on my internal memory - solved by copying a load of stuff to one of the sd cards. Then it seems that Application Manager had partially installed -runtime; it gave a size of 19Kbytes (or something similarly implausible). I removed it, tried again and got some "failure" message. I then did an "apt-get installed python2.5-runtime" from a root x-window and all now seems well].

Roger


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

vBulletin® Version 3.8.8