| Reply | « Previous Thread | Next Thread » |
|
I've run into a problem and I wanted to post it on here so someone can try to replicate it and make sure I am not doing something wrong.
I've got an application that makes use of cache files while in operation. Initially the cache directory is empty. When I used py2sis on the application, everything seemed fine. But on running it, it would crash whenever it tried to write to this directory. A traceback revealed that the directory did not exist - even though that directory was present in the same place as my default.py. So does Ensymble skip over empty directories? Or did I do something wrong? To get it to work for me, I created a simple temp file to force the directory to show up. Then it all worked. |
|
Yes, only directories with files are included in the resulting SIS file. This due to the fact that the SIS file format does not have any obvious way to preserve empty directories. The SIS file contains no directory entries, only filenames with full paths. Directories are created as needed.
This seems like a workable solution. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| [announce] Ensymble v0.26 | jethro.fn | Python | 7 | 2008-03-15 17:35 |
| [announce] Ensymble v0.25 | jethro.fn | Python | 12 | 2008-01-05 20:34 |
| Ensymble vs PyS60 v1.4 | jking_ok | Python | 5 | 2007-07-16 08:17 |
| _PAlbTN directories on Nokia 6230i (thumbnails) ? | heuven | Mobile Java Media (Graphics & Sounds) | 0 | 2007-04-06 13:52 |
| [announce] Ensymble v0.21 | jethro.fn | Python | 3 | 2007-02-01 18:37 |