Re: py2exe + svn - the final drama

2005-05-07 Thread Just
In article <[EMAIL PROTECTED]>, David Bolen <[EMAIL PROTECTED]> wrote: > Just <[EMAIL PROTECTED]> writes: > > > the zipimport module has an attr called _zip_directory_cache, which is a > > dict you can .clear(). Still, reloading modules is hairy at best, its > > probably easiest to relaunch yo

Re: py2exe + svn - the final drama

2005-05-06 Thread Timothy Smith
David Bolen wrote: >Timothy Smith <[EMAIL PROTECTED]> writes: > > > >>what i do is as soon as the update is complete i close the app, but it >>still gives the error, i tried clear() after update and before it, it >>still got the same error. it's be nice to not have to fiddle around >>with the zi

Re: py2exe + svn - the final drama

2005-05-06 Thread David Bolen
Timothy Smith <[EMAIL PROTECTED]> writes: > what i do is as soon as the update is complete i close the app, but it > still gives the error, i tried clear() after update and before it, it > still got the same error. it's be nice to not have to fiddle around > with the zip file, i really think makin

Re: py2exe + svn - the final drama

2005-05-06 Thread David Bolen
Just <[EMAIL PROTECTED]> writes: > the zipimport module has an attr called _zip_directory_cache, which is a > dict you can .clear(). Still, reloading modules is hairy at best, its > probably easiest to relaunch your app when the .zip file has changed. Except that he's getting an error during th

Re: py2exe + svn - the final drama

2005-05-06 Thread Timothy Smith
Just wrote: >In article <[EMAIL PROTECTED]>, > David Bolen <[EMAIL PROTECTED]> wrote: > > > >>Are you perhaps trying to update the zip file in-place while it is still >>being used by the application? I'm not sure that's a safe operation. >> >> > >I'm sure it's not :) > >[lots of useful hel

Re: py2exe + svn - the final drama

2005-05-06 Thread Just
In article <[EMAIL PROTECTED]>, David Bolen <[EMAIL PROTECTED]> wrote: > Are you perhaps trying to update the zip file in-place while it is still > being used by the application? I'm not sure that's a safe operation. I'm sure it's not :) [lots of useful help snipped] the zipimport module has

Re: py2exe + svn - the final drama

2005-05-06 Thread David Bolen
Timothy Smith <[EMAIL PROTECTED]> writes: > Timothy Smith wrote: (...) > >zipimport.ZipImportError: bad local file header in Z:\temp\library.zip > > > > not that once i have finished client.update(''), it has successfully > > updated the zipfile, i open a dialoge box saying "click ok and > > resta

Re: py2exe + svn - the final drama

2005-05-06 Thread Timothy Smith
Timothy Smith wrote: >ok, i am updating my program from my svn - this works, however, i am >getting the following error when i close the program. the zip file >successfully updates, so i'm curious as to the meaning of this. > >Traceback (most recent call last): > File "Main.pyo", line 820, in V

py2exe + svn - the final drama

2005-05-05 Thread Timothy Smith
ok, i am updating my program from my svn - this works, however, i am getting the following error when i close the program. the zip file successfully updates, so i'm curious as to the meaning of this. Traceback (most recent call last): File "Main.pyo", line 820, in ValidateLogin File "Main.py