p2exe and ZODB
Etienne Labuschagne
ELabuschane at gmsonline.co.za
Tue Nov 12 02:49:28 EST 2002
Hi there,
First, an apology, my M$ Outlook INSISTS on sending HTML-spew, even though I
have all settings I can find on Text only and the status bar says Plain Text
:(
I gather from the context of my message that you also only have this problem
under Py2EXE (does Py2EXE work at all on *Nix?). If not, it's quite strange
as ZODB works perfectly in a normal Python environment for me - it's just
doing strange things when working in a py2exe environment. I have just
started investigating McMillan's installer product, but have had no luck so
far in getting it to wrap ZODB. If I can get it to work, I'll post the
solution.
Regards
Etienne
-----Original Message-----
From: Harry George [mailto:hgg9140 at seanet.com]
Sent: Tuesday, November 12, 2002 4:05 AM
To: python-list at python.org
Subject: Re: p2exe and ZODB
Etienne Labuschagne <ELabuschane at gmsonline.co.za> writes:
> Content-type: text/html ; charset = "iso-8859-1"
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
> <TITLE>p2exe and ZODB</TITLE>
> </HEAD>
> <BODY>
>
> <P><FONT SIZE=2>Hi there,</FONT>
> </P>
>
> <P><FONT SIZE=2>I am using stand-alone ZODB (Zope Object Database) in a
applica
> tion written in Python. The platform I am targeting is Windows 2000
and W
> indows XP. So far I had no luck py2exe'ing the product with
ZODB in
> cluded. What I have done is to exclude ZODB (-e flag for py2exe) and
crea
> te an install without the stand-alone ZODB. I then manually copy the
ZODB
> and all files needed by it (eg. base64) into the dist created by
py2exe.</FONT
> ></P>
>
> <P><FONT SIZE=2>This works, but I sometimes get (seemingly) random
pickling err
> ors when calling get_transaction().commit() on the ZODB database.
This ca
> uses a lot of havoc as the transaction then also seems to be lost, which
is VER
> Y bad!</FONT></P>
>
> <P><FONT SIZE=2>Anyone had any luck with py2exe and apps using
ZODB?</FONT>
> </P>
>
> <P><FONT SIZE=2>If I can't get this to work, are there any other
"python n
> ot needed for install" methods to package my product in?</FONT>
> </P>
I'm having trouble using standalone ZODB, with ramdom pickling errors
on commit as well. I'm running on Linux, not Win**. Maybe there is a
problem in ZODB? My next attempt is to do the pickling directly, and
just make a database to store those strings.
>
> <P><FONT SIZE=2>Regards</FONT>
> <BR><FONT SIZE=2>Etienne Labuschagne</FONT>
> </P>
>
> </BODY>
> </HTML>
--
Harry George
hgg9140 at seanet.com
--
http://mail.python.org/mailman/listinfo/python-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20021112/469f6a3a/attachment.html>
More information about the Python-list
mailing list