| Reply | « Previous Thread | Next Thread » |
|
Hi All,
I am a bit of a noob to python, only been at it a week now but have written my first application. Its a comic book reader and works pretty well, if I may say so myself the packaged file can be found here http://www.jamiefuller.comIf I run the script in the Python enviroment and try to open a PNG file it works fine. However if I package the same script and run it directly when I try to open a PNG file I get a MemoryError error. Rather strangly the error produced looks like this http://img529.imageshack.us/img529/6471/scr000094.jpg which looks like its failing in the zip module, but only when extracting 24 bit png files, which is very strange. I have written a very tiny script here which extracts a single png file from a zip file called test.zip stored on the root of the e:\ It works fine in the editor but not when packaged. Script file = http://30dbs.nfshost.com/error/prob.txt Packaged SIS = http://30dbs.nfshost.com/error/prob_v1_0_0.sis test zip file = http://30dbs.nfshost.com/error/test.zip Any help would be great. |
| jamiefuller |
| View Public Profile |
| Find all posts by jamiefuller |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
This is probably an error with the size of your zip file
![]() What is its size? |
|
Quote:
![]() |
| jamiefuller |
| View Public Profile |
| Find all posts by jamiefuller |
|
|
|
Quote:
Thank you soooo much, that resoved it, I upped the Maximum heap size to 5MB and the problem seems to be gone! Many thanks again! |
| jamiefuller |
| View Public Profile |
| Find all posts by jamiefuller |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| how to zip files | sencao | General Symbian C++ | 7 | 2008-10-10 10:29 |
| Location of PNG files & emulator 6230i | heuven | Mobile Java Media (Graphics & Sounds) | 4 | 2006-09-27 11:55 |
| Multiple files archive (tar, zip...) | beltry | General Symbian C++ | 1 | 2006-09-13 13:07 |
| GAMA and PHYS chunks in PNG files | kounapuu | Mobile Java Media (Graphics & Sounds) | 0 | 2004-12-06 20:06 |
| protecting png files | kechong | Mobile Java Media (Graphics & Sounds) | 0 | 2003-06-03 16:11 |