[Zope] FW: HELP !!!

Chris McDonough chrism@zope.com
20 Feb 2003 09:25:00 -0500


Depends on your operating system, but if it's UNIXlike, typically it's:

download Python from
http://www.python.org/ftp/python/2.1.3/Python-2.1.3.tgz
untar and ungz it
cd to the directory that results

run:
CFLAGS='-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' OPT="-g -O2
$CFLAGS" ./configure --prefix=/some/directory/Python
make
make install

Then change the Zope "start" script's "hash bang" line to point to
/some/directory/Python/bin/python.

HTH, 

- C


On Thu, 2003-02-20 at 09:06, TANNERT,CARSTEN (HP-Germany,ex1) wrote:
> First of all thanks for your help, but I have another question.
> How and where can I compile the Python.
> Sorry for the question but I am not experienced with this.
> 
> Thanks for your help !!!
> 
> -----Original Message-----
> From: Chris McDonough [mailto:chrism@zope.com] 
> Sent: Donnerstag, 20. Februar 2003 14:52
> To: TANNERT,CARSTEN " "(HP-Germany,ex1)
> Cc: zope@zope.org
> Subject: Re: [Zope] FW: HELP !!!
> 
> You need to compile the Python which Zope uses to use "large files". 
> http://www.python.org/doc/lib/posix-large-files.html.
> 
> On Thu, 2003-02-20 at 06:56, TANNERT,CARSTEN (HP-Germany,ex1) wrote:
> > Here is the traceback of the error_log. Thx for the try to help me !!!
> > 
> >  
> > 
> > Traceback (innermost last): 
> > 
> > *	Module ZPublisher.Publish, line 98, in publish 
> > *	Module ZPublisher.mapply, line 88, in mapply 
> > *	Module ZPublisher.Publish, line 39, in call_object 
> > *	Module Shared.DC.Scripts.Bindings, line 252, in __call__ 
> > *	Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec 
> > *	Module App.special_dtml, line 174, in _exec 
> > *	Module App.Undo, line 92, in undoable_transactions 
> > *	Module ZODB.UndoLogCompatible, line 29, in undoInfo 
> > *	Module ZODB.FileStorage, line 1096, in undoLog 
> > 
> > OverflowError: long int too large to convert
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > -----Original Message-----
> > From: TANNERT,CARSTEN (HP-Germany,ex1) 
> > Sent: Donnerstag, 20. Februar 2003 12:36
> > To: zope@zope.org
> > Subject: HELP !!!
> > 
> >  
> > 
> > We have a lot of sites and content in a Plone web.
> > 
> > Now suddenly I cannot delete or rename objects in Plone and also not in
> > Zope.
> > 
> >  
> > 
> > I always get the following message:
> > 
> >  
> > 
> > 
> > Site Error
> > 
> > 
> > An error was encountered while publishing this resource. 
> > 
> > Error Type: OverflowError
> > Error Value: long int too large to convert
> > 
> >  
> > 
> > PLEASE can anybody help me, it's really urgent !!!
> > 
> >  
> > 
> > THX
> > 
>