Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

looking for 2.1.3 Windows binary with large file support

0 views
Skip to first unread message

Mathew

unread,
Nov 25, 2003, 2:03:36 PM11/25/03
to
the version that is distributed with Zope/Plone does not handle large files.

TIA
Mathew

Tim Peters

unread,
Nov 25, 2003, 2:17:46 PM11/25/03
to pytho...@python.org
[Mathew]

> the version that is distributed with Zope/Plone does not handle large
> files.

Sorry, no version of Python 2.1 exists that supports large files on Windows.
Adding support for that required substantial Windows-specific changes to the
Python core, and 2.2.3 is the first Python version in which Windows
largefile support was essentially complete (2.2 had most of it in place, but
a few things were missing, like file.truncate(integer_bigger_than_2_gig)).

Note that Zope 2.7 and Zope3 are skipping the 2.2 line -- they'll both
require 2.3.2+.


Mathew

unread,
Nov 25, 2003, 4:53:08 PM11/25/03
to
Tim Peters wrote:

Holy crud. That means my Plone Data.fs file is dead since its over 2
Gigs in size. Hmmmmmm. Not good.

Mathew

Mathew

unread,
Nov 25, 2003, 4:53:11 PM11/25/03
to Tim Peters, pytho...@python.org
Tim Peters wrote:

Holy crud. That means my Plone Data.fs file is dead since its over 2

Tim Peters

unread,
Nov 25, 2003, 5:51:31 PM11/25/03
to pytho...@python.org
>> Sorry, no version of Python 2.1 exists that supports large files on
>> Windows.

[Mathew]


> Holy crud. That means my Plone Data.fs file is dead since its over 2
> Gigs in size. Hmmmmmm. Not good.

You should take this to a Zope mailing list -- few people on c.l.py will
know anything about this.

Toby Dickenson's DirectoryStorage stores one object per file, and Shane
Hathaway's PartitionedFileStorage spreads a large "virtual" Data.fs file
over multiple physical files. Either can be used to overcome OS and Python
limitations on file size. If you're going to stick with the combination of
Python 2.1 and Windows, you really have no other choices if you need such a
large database file. If I were you, I'd try moving to Python 2.3.2 first,
along with the most recent Zope 2.7 beta release.

At least use Python 2.3.2 and a current ZODB release to pack your Data.fs
file until it's under 2GB again. Then it will be easier to switch to a
different storage. But, again, ask about this stuff on a Zope list (if you
want to make progress <wink>).


0 new messages