You Are Here:

Community: Developer Discussion Boards

#1 Old Ensymble with empty directories - 2008-04-01, 04:14

Join Date: Mar 2008
Posts: 5
btaylor
Offline
Registered User
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.
Reply With Quote

#2 Old Re: Ensymble with empty directories - 2008-04-01, 13:42

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by btaylor View Post
So does Ensymble skip over empty directories?
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.


Quote:
Originally Posted by btaylor View Post
To get it to work for me, I created a simple temp file to force the directory to show up. Then it all worked.
This seems like a workable solution.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
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

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia