maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   comix stopped working (https://talk.maemo.org/showthread.php?t=22901)

codeMonkey 2008-08-19 07:02

Re: comix stopped working
 
python problem?
Try:
Code:

python /usr/bin/comix

axxis272 2008-08-20 17:46

Re: comix stopped working
 
sorry for my delay!

it looks more promising now - at least i get an error!
~ $ sudo gainroot
Root shell enabled
BusyBox v1.6.1 (2008-05-22 10:32:35 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/home/user # python /usr/bin/comix
Traceback (most recent call last):
File "/usr/bin/comix", line 91, in <module>
class Comix:
File "/usr/bin/comix", line 259, in Comix
pil_font = ImageFont.load_default()
File " -l/ImageFont.py", line 364, in load_default
File " -l/ImageFont.py", line 103, in _load_pilfont_data
File " -l/ImageFile.py", line 180, in load
File " -l/Image.py", line 375, in _getdecoder
IOError: decoder zip not available

codeMonkey 2008-08-20 17:55

Re: comix stopped working
 
Yep, that has given me something to work with :)

It's complaining that it can't load the images from the zip file, and from looking it up on the web, it may be because the python-imaging library hasn't been compiled with zip support.

Download and install this and see if that helps.

You can just save it wherever and open with application manager. Should hopefully do the trick.

P.S. You shouldn't need to sudo gainroot in order to run python /usr/bin/comix from terminal.

axxis272 2008-08-20 18:09

Re: comix stopped working
 
hm, i can't install it. it says its not compatible. :confused:

codeMonkey 2008-08-20 18:12

Re: comix stopped working
 
We can do it the terminal way then.
Code:

sudo gainroot
cd (to wherever you saved the file to)
dpkg -i python2.5-imaging-1.1.6-1osso3.deb

I'll need to repackage it at some point to make it work easier with application manager.

axxis272 2008-08-20 18:20

Re: comix stopped working
 
sorry for the stupid question: i have saved the file to the n810 main directory. so where is it now? i mean, what have i got to type?

codeMonkey 2008-08-20 18:25

Re: comix stopped working
 
If you mean the place that shows up as your tablet's name when you're looking in filemanager that's under MyDocs.

So in fact, you could just do:
Code:

sudo gainroot
dpkg -i MyDocs/python2.5-imaging-1.1.6-1osso3.deb

It is case sensitive, but you can make it a bit easier on yourself by hitting tab.
E.g. type the capital M in MyDocs and then press tab, and py, then press tab and it will likely autocomplete.

axxis272 2008-08-20 20:24

Re: comix stopped working
 
:D:D:D:D:D

you are amazing! comix is working again! wow, i am really stunned. THANK YOU so much!

codeMonkey 2008-08-20 20:26

Re: comix stopped working
 
:D

You're welcome.

briand 2008-08-20 21:49

Re: comix stopped working
 
extra bananas for codeMonkey tonight.


...and he can stay up late to watch whatever the equivalent of leno/letterman is on that side of the pond.

:D


All times are GMT. The time now is 11:49.

vBulletin® Version 3.8.8