×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    5

    Ensymble with empty directories

    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.

  2. #2
    Super Contributor
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524

    Re: Ensymble with empty directories

    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.

Similar Threads

  1. [announce] Ensymble v0.26
    By jethro.fn in forum Symbian
    Replies: 7
    Last Post: 2008-03-15, 16:35
  2. [announce] Ensymble v0.25
    By jethro.fn in forum Symbian
    Replies: 12
    Last Post: 2008-01-05, 19:34
  3. Ensymble vs PyS60 v1.4
    By jking_ok in forum Symbian
    Replies: 5
    Last Post: 2007-07-16, 07:17
  4. _PAlbTN directories on Nokia 6230i (thumbnails) ?
    By heuven in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2007-04-06, 12:52
  5. [announce] Ensymble v0.21
    By jethro.fn in forum Symbian
    Replies: 3
    Last Post: 2007-02-01, 17:37

Posting Permissions

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