Re: pickle and py2exe

2004-12-05 Thread Justin Straube
On 3 Dec 2004 01:46:38 -0800, johan@ (Johan Lindberg) wrote: Thanks Johan, >I'm assuming that your library.zip now has several encoding-files in >it? And more specifically that you have a file called >"string_escape.pyc" in path "encodings". Right? I had found a stupid mistake in my setup.py. I

Re: pickle and py2exe

2004-12-03 Thread Daniel Bickett
> While looking into this, I had seen some mention of protocol option in > pickle. I > hadnt specified anything for protocol, so it defaults to 0 though I dont know > what that is. Its my first time using pickle and second with py2exe. If you think this might be your problem, then it would be bes

Re: pickle and py2exe

2004-12-03 Thread Johan Lindberg
>>> Im trying to compile a script with py2exe. The pickle module is causing the >>> program to give an error. >>> >>> Traceback (most recent call last): >>> File "SETIstat.pyw", line 330, in ? >>> File "SETIstat.pyw", line 84, in start_up >>> File "SETIstat.pyw", line 79, in config_load >>>

Re: pickle and py2exe

2004-12-02 Thread Justin Straube
On 1 Dec 2004 11:45:59 -0800, [EMAIL PROTECTED] (Johan Lindberg) wrote: >Have you included string-escape encoding in your setup.py? >My guess is that you can fix the problem with something similar to: > > from distutils.core import setup > import py2exe > opts = { "py2exe": { "packages": ["encodi

Re: pickle and py2exe

2004-12-02 Thread Justin Straube
On Tue, 30 Nov 2004 22:48:39 -0600, "Catfish" <[EMAIL PROTECTED]> wrote: >I did this a while back, and I can't remember exactly. Therefore, I may only >be able to give you a push in the right direction until someone else can >answer it fully. > >However, I think you have to force the db into the

Re: pickle and py2exe

2004-12-01 Thread Johan Lindberg
> Im trying to compile a script with py2exe. The pickle module is causing the > program to give an error. > > Traceback (most recent call last): > File "SETIstat.pyw", line 330, in ? > File "SETIstat.pyw", line 84, in start_up > File "SETIstat.pyw", line 79, in config_load > File "pickle.p

Re: pickle and py2exe

2004-11-30 Thread Catfish
I did this a while back, and I can't remember exactly. Therefore, I may only be able to give you a push in the right direction until someone else can answer it fully. However, I think you have to force the db into the py2exe compile. I think it's something like this: --force-imports dbhash Tr

pickle and py2exe

2004-11-30 Thread Justin Straube
Hello, Im trying to compile a script with py2exe. The pickle module is causing the program to give an error. Traceback (most recent call last): File "SETIstat.pyw", line 330, in ? File "SETIstat.pyw", line 84, in start_up File "SETIstat.pyw", line 79, in config_load File "pickle.pyc", lin