[Zope] Large File Support

Kevin Carlson khcarlso@bellsouth.net
Sat, 7 Dec 2002 19:20:47 -0500


Thanks very much -- this helped me narrow down the problem.  Things are
working correctly now.

Kevin

-----Original Message-----
From: Johan Carlsson [EasyPublisher] [mailto:johanc@easypublisher.com]
Sent: Saturday, December 07, 2002 4:13 AM
To: Kevin Carlson
Cc: zope@zope.org
Subject: Re: [Zope] Large File Support


At 18:38 2002-12-06 -0500, george donnelly said:
>are you sure you're using the python that comes with Zope? You might be
>getting this error because you're using the Python that comes with RedHat.
>
>this might be useful:
>http://zope.org/Members/beacon/install_instructions


To check if the Python version your using has large file support
enabled, start the intepreter and open a file [ f=open('temp', 'w') ]
and call [ f.tell() ] it should return a long [ 0L ] if LFS i enabled.
(otherwise it returns an integer [ 0 ])
Regards,
Johan Carlsson




> > From: "Kevin Carlson" <khcarlso@bellsouth.net>
> > Date: Fri, 6 Dec 2002 17:11:59 -0500
> > To: <zope@zope.org>
> > Subject: [Zope] Large File Support
> >
> > I am running Zope 2.6 on RedHat Linux version 7.2, kernel version
2.4.7-10
> > and, in case it matters, glibc-2.2.4-13.  According to the documents
that I
> > have been reading online, the binary distribution of Zope 2.6 should
have
> > large file support built in and should work on my current configuration.
> >
> > However, I am unable to open a 2GB+ Data.fs file either with Zope or by
> > typing in "open('Data.fs')" from the python interpreter (using
> > /zope/bin/python).  I routinely get a "file too large" error.
> >
> > Does anyone have any ideas as to why this might be happening?
> >
> > Thanks,
> >
> > Kevin

--
Torped Strategi och Kommunikation AB
Johan Carlsson
johanc@easypublisher.com

Mail:
Birkagatan 9
SE-113 36  Stockholm
Sweden

Visit:
Västmannagatan 67, Stockholm, Sweden

Phone +46-(0)8-32 31 23
Fax +46-(0)8-32 31 83
Mobil +46-(0)70-558 25 24
http://www.easypublisher.com
http://www.torped.se