[Zope-dev] Non-undoable storage

2001-06-12 Thread Morten W. Petersen
Hia guys, during testing of a mail product I've discovered that the Data.fs file may bloat considerably after storing 50 messages. Packing the database will reduce the Data.fs file to 20 MB (from 40 MB). Another thing is that storing 50 messages takes a *long time* on a 600Mhz 256 MB RAM system

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Shane Hathaway
"Morten W. Petersen" wrote: > during testing of a mail product I've discovered that the Data.fs file may > bloat considerably after storing 50 messages. Packing the database will > reduce the Data.fs file to 20 MB (from 40 MB). Another thing is that > storing 50 messages takes a *long time* on a

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Chris McDonough
Shane Hathaway wrote: > > "Morten W. Petersen" wrote: > > during testing of a mail product I've discovered that the Data.fs file may > > bloat considerably after storing 50 messages. Packing the database will > > reduce the Data.fs file to 20 MB (from 40 MB). Another thing is that > > storing 5

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Morten W. Petersen
On Tue, 12 Jun 2001, Shane Hathaway wrote: > Did you catalog each message? What version of Zope? Yes, every message was cataloged. Zope version 2.3.2 > 3) Manually zap the caches periodically, which is a capability of Zope > 2.4.x. Okay, this is interesting. Any examples on how to implement

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Chris Withers
Chris McDonough wrote: > > Shane Hathaway wrote: > > > > "Morten W. Petersen" wrote: > > > during testing of a mail product I've discovered that the Data.fs file may > > > bloat considerably after storing 50 messages. Packing the database will > > > reduce the Data.fs file to 20 MB (from 40 MB).

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Chris McDonough
"Morten W. Petersen" wrote: > > On Tue, 12 Jun 2001, Shane Hathaway wrote: > > > Did you catalog each message? What version of Zope? > > Yes, every message was cataloged. Zope version 2.3.2 Were subtransactions in the Catalog turned on (see the Advanced page)? __

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Morten W. Petersen
On Tue, 12 Jun 2001, Chris McDonough wrote: > "Morten W. Petersen" wrote: > > > Yes, every message was cataloged. Zope version 2.3.2 > > Were subtransactions in the Catalog turned on (see the Advanced page)? Yes, and the threshold was at 1. -Morten __

Re: [Zope-dev] Non-undoable storage

2001-06-12 Thread Shane Hathaway
On Tue, 12 Jun 2001, Morten W. Petersen wrote: > On Tue, 12 Jun 2001, Shane Hathaway wrote: > > > Did you catalog each message? What version of Zope? > > Yes, every message was cataloged. Zope version 2.3.2 > > > 3) Manually zap the caches periodically, which is a capability of Zope > > 2.4.x.

[Zope-dev] Pluggable Index How-To Questions

2001-06-12 Thread Chris Withers
Andreas Jung wrote: > > There is a new How-To for PlugginIndexes: > > http://www.zope.org/Members/ajung/howto/PluginIndexes/index_html Looks great :-) Coupla Questions: Is there anything you can do in the index_object method to re-use ZCatalog's "get all attributes and call them if they're ca

Re: [Zope-dev] Pluggable Index How-To Questions

2001-06-12 Thread Andreas Jung
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Andreas Jung" <[EMAIL PROTECTED]> Cc: "Matt Hamilton" <[EMAIL PROTECTED]>; "zope-dev" <[EMAIL PROTECTED]> Sent: Tuesday, June 12, 2001 9:41 AM Subject: [Zope-dev] Pluggable Index How-To Questions > Andreas Jung wrote: >

Re: [Zope-dev] Request for a Pluggin Index (NameIndex)

2001-06-12 Thread Chris Withers
Matt Hamilton wrote: > > On Mon, 11 Jun 2001, Chris Withers wrote: > > > Wow Matt, you seem to know what you're talking about :-) > > My final year University project was to create an Open Source mailing list > archive :) I did quite a bit of reading into information retrieval and > assorted a

Re: [Zope-dev] Acquisition Filtered Folder stuff

2001-06-12 Thread Chris Withers
Dieter Maurer wrote: > > Chris Withers writes: > > Dieter Maurer wrote: > > > > > > What you probably need: > > > > > > derive a new ObjectManager from Acquisition.Explicit and > > > the current ObjectManager. > > > > > > provide an interface to manage the attributes that should >

Re: [Zope-dev] Pluggable Index How-To Questions

2001-06-12 Thread Chris Withers
Andreas Jung wrote: > > > Is there anything you can do in the index_object method to re-use > ZCatalog's > > "get all attributes and call them if they're callable"? > > Don't understand the question...maybe I don't know this ZCatalog feature. My perception is that the 'classic' ZCatalog Indexes

Re: [Zope-dev] multiple servers!

2001-06-12 Thread Tim McLaughlin
Stian, It's probably nicer to use the -P option for z2.py which allows you to specify a port offset for all ZServer services. ie. -P 8001 puts http on 8081 and ftp on 8022 or -P 8002 puts http on 8082 and ftp on 8023 --Tim PS. sorry all for the Base64 encoding on the previous message. __

Re: [Zope-dev] How to return downloadable content from Python Method

2001-06-12 Thread Casey Duncan
> "Blandford, Simon [BSS Audio UK]" wrote: > > I am compressing files which need to be uncompressed inline before > download. The DTML calles a python method in the product > which returns the uncompressed file data. Say this file is an MSWord > document, how do I return this as a file to downlo

RE: [Zope-dev] How to return downloadable content from Python Method

2001-06-12 Thread Blandford, Simon [BSS Audio UK]
Hi Casey, Did you get the code I sent you? I already have a solution from Gregor Heine similar to the one described below. It is in the "download" method in Document.py. It works too. Regards, Simon. > -Original Message- > From: Casey Duncan [mailto:[EMAIL PROTECTED]] > Sent: 12 June 2

[Zope-dev] DCOracle2 Beta 3

2001-06-12 Thread Matthew T. Kromer
For all of you (or at least, BOTH of you) Oracle users out there, I packed up DCOracle2 Beta 3 this morning, including Z Oracle Stored Procedures as part of ZOracleDA. It can be found in the usual place, http://www.zope.org/Members/matt/dco2 This isn't much different from Beta 2 except

OracleStorage? Re: [Zope-dev] DCOracle2 Beta 3

2001-06-12 Thread John D . Heintz
Are there any plans to port OracleStorage over to use DCOracle2? John On Tuesday 12 June 2001 10:46, Matthew T. Kromer wrote: > For all of you (or at least, BOTH of you) Oracle users out there, > I packed up DCOracle2 Beta 3 this morning, including Z Oracle Stored > Procedures as part of ZOracl

Re: [Zope-dev] Pluggable Index How-To Questions

2001-06-12 Thread Michel Pelletier
On Tue, 12 Jun 2001, Andreas Jung wrote: > > In uniqueValues, what do the lengths that withLengths returns actually > mean? > > Good question - I think uniqueValues is only used for FieldIndex. Right > I think > you usually must not implement it - I must check this... if you're making a tex

Re: [Zope-dev] Acquisition Filtered Folder stuff

2001-06-12 Thread Dieter Maurer
Chris Withers writes: > Dieter Maurer wrote: > > You may be successful, if you override "__of__". > > It is this method that (usually) builds the acquisition wrapper. > > When does it not build the wrapper? If it is not the "__of__" defined by "Acquisition.{Im,Ex}plicit", it may not build ac

[Zope-dev] Re: AW: jcNTUserFolder

2001-06-12 Thread Jephte Clain
> Thank you for the tip with the access file. > The remote user mode with challenge\response works > perfect if I delete the Password of the access file. > > But, if I delete the Password of the access file I get a Zope Error > when I am not using the challenge\response mode. that is the point :-

[Zope-dev] Zope Apache and Streaming

2001-06-12 Thread Andre Schubert
Hi there, The last time if have tested Streaming with Zope and found out, that streaming only works if i call my Stream directly from Zope like, http://www.foo.com:8080/stream. The problem is, that there is Apache running at port 80, and my SysAdmin kills me if i kill the Apache and let Zope run