Re: [Zope-dev] Browser Timeout

2001-05-31 Thread Andre Schubert
Hi, If have tested RESPONSE.write with the following function def test(self,REQUEST=None,RESPONSE=None): Test RESPONSE.write RESPONSE.setStatus('200') RESPONSE.setHeader('Content-Type','text/html') RESPONSE.write('html') Here is the body-processing

Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Chris Withers
When using batching in dtml-in, why is 'previous-sequence' only defined at the first iteration of the current batch? And why is 'next-sequence' only defined at the last iteration of the current batch? I know this problem ;-) I had it too, and stuck something in the collector about it. I did

Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Ivo van der Wijk
On Wed, May 30, 2001 at 10:02:31PM +0100, Chris Withers wrote: When using batching in dtml-in, why is 'previous-sequence' only defined at the first iteration of the current batch? And why is 'next-sequence' only defined at the last iteration of the current batch? I know this problem ;-)

Re: [Zope-dev] DogFishbowl?

2001-05-31 Thread Matthew T. Kromer
trumpets blare Ta da, I grant you *official* permission to develop and contribute such a product. ;) That and $7CDN will get you lunch at McZargalds. Yes, Wikis are are too sticky, and that's not cricket. - Original Message - From: Andy McKay [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Erik Enge
On Wed, 30 May 2001, Shane Hathaway wrote: I have written a proposal. So, if I understand correctly, when this is implemented, will the ZCatalog always resolve conflicts and never raise ConflictErrors? If there are no ConflictErrors in the main object system? I think I'm missing the point

[Zope-dev] ZPatterns and Transactions

2001-05-31 Thread Roché Compaan
I have a ZPatterns application that uses the ZODB as storage. When I delete an object only the name of the script that deleted the object is shown in the Undo log. Is there any way to determine the ID of the object that was deleted? Is there a way that one can get a handle on the object that

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Shane Hathaway
On Thu, 31 May 2001, Erik Enge wrote: On Wed, 30 May 2001, Shane Hathaway wrote: I have written a proposal. So, if I understand correctly, when this is implemented, will the ZCatalog always resolve conflicts and never raise ConflictErrors? If there are no ConflictErrors in the main

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Toby Dickenson
On Thu, 31 May 2001 10:03:31 -0400 (EDT), Shane Hathaway [EMAIL PROTECTED] wrote: On Thu, 31 May 2001, Erik Enge wrote: On Wed, 30 May 2001, Shane Hathaway wrote: I have written a proposal. So, if I understand correctly, when this is implemented, will the ZCatalog always resolve

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Shane Hathaway
On Thu, 31 May 2001, Toby Dickenson wrote: On Thu, 31 May 2001 10:03:31 -0400 (EDT), Shane Hathaway [EMAIL PROTECTED] wrote: Right now ZCatalog randomly generates ConflictErrors even if there are no conflicts in the data being indexed. It's quite rare, however, and there's machinery that

Re: [Zope-dev] ZPatterns and Transactions

2001-05-31 Thread Phillip J. Eby
At 03:24 PM 5/31/01 +0200, Roché Compaan wrote: I have a ZPatterns application that uses the ZODB as storage. When I delete an object only the name of the script that deleted the object is shown in the Undo log. Is there any way to determine the ID of the object that was deleted? Is there a

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Erik Enge
On Thu, 31 May 2001, Shane Hathaway wrote: How did you miss the point? That's exactly the point! :-) Oh :) Right now ZCatalog randomly generates ConflictErrors even if there are no conflicts in the data being indexed. This is why I think I've missed a/the point: wouldn't it be better to

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Shane Hathaway
On Thu, 31 May 2001, Erik Enge wrote: On Thu, 31 May 2001, Shane Hathaway wrote: How did you miss the point? That's exactly the point! :-) Oh :) Right now ZCatalog randomly generates ConflictErrors even if there are no conflicts in the data being indexed. This is why I think I've

Re: [Zope-dev] DogFishbowl?

2001-05-31 Thread Andy McKay
trumpets blare Ta da, I grant you *official* permission to develop and contribute such a product. ;) That and $7CDN will get you lunch at McZargalds. Yes, Wikis are are too sticky, and that's not cricket. Nope I'm gonna hold out for $7 US, which will get me 2 pints of Guiness at the

Re: [Zope-dev] Zope hanging on startup

2001-05-31 Thread Andy McKay
It hangs on import ZServer during Z2.py. I've seen quite a few posts on [EMAIL PROTECTED] about people having the same problem on Win 9x. Cheers. -- Andy McKay. - Original Message - From: Andy [EMAIL PROTECTED] To: Phil Harris [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, May

Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Casey Duncan
Ivo van der Wijk wrote: On Wed, May 30, 2001 at 10:02:31PM +0100, Chris Withers wrote: When using batching in dtml-in, why is 'previous-sequence' only defined at the first iteration of the current batch? And why is 'next-sequence' only defined at the last iteration of the current

[Zope-dev] CompressedStorage

2001-05-31 Thread Erik Enge
Hi, has anyone given this a good run? I'm a bit confused as to how to make it work. Do I just subclass it in FileStorage? Will it work with existing Data.fs or do I need to start anew, so to speak? Thanks. ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] CompressedStorage

2001-05-31 Thread Ty Sarna
In article [EMAIL PROTECTED], Erik Enge [EMAIL PROTECTED] wrote: Hi, has anyone given this a good run? I'm a bit confused as to how to make it work. Do I just subclass it in FileStorage? No, you wrap it around an underlying storage (such as FileStorage). When Zope starts up, it looks

Re: [Zope-dev] CompressedStorage

2001-05-31 Thread Erik Enge
On 31 May 2001, Ty Sarna wrote: Zope basically uses whatever object custom_zodb.Storage is as the storage. Ahh... I can feel the zen pouring over me :) What you want to do is create a FileStorage, and wrap it with a CompressedStorage and use that. Your custom_zodb.py would look like:

[Zope-dev] Re: [Zope] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-05-31 Thread Evan Simpson
- New restricted execution architecture A note about this for those who have run afoul of restrictions on builtins such as 'list', 'map', and 'range' in Scripts and DTML Python expressions: In the new architecture, there are (by default) no attempts to protect the system against excessive

Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Chris Withers
I've done it myself as well using (as described in the posting) two dtml-in's (the second one purely for displaying the prev/next links). Is your solution any different? (The only one I can think of is storing the info in your REQUEST object and using it later, but that's really ugly.)

[Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Joachim Werner
Hi! When I read about the reload functionality of Zope 2.4, an old vision came back to my mind: If we can reload Python code at runtime, and we can also edit, generate and store files (containing code) via the web (as LocalFS or extFile prove), then it should be perfectly possible to have

RE: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Loren Stafford
Coincidently, I was just trying to edit a file on the filesystem with an FTP client going thru Zope/FTP and a LocalFS. It didn't work. The LocalFS instance didn't look like a directory to FTP so FTP could neither read nor write to the directory. Does that throw a monkey wrench into your idea?

[Zope-dev] Coding Standards

2001-05-31 Thread Rick St Jean
Hey all, I am completely new to ZOPE and to PYTHON, although I have a programming background in other languages. I was wondering if some people would mind sharing a copy of a coding standard that they use including naming conventions and general never-evers, or always always. I figure if

Re: [Zope-dev] Coding Standards

2001-05-31 Thread Terry Kerr
http://www.python.org/doc/essays/styleguide.html Rick St Jean wrote: Hey all, I am completely new to ZOPE and to PYTHON, although I have a programming background in other languages. I was wondering if some people would mind sharing a copy of a coding standard that they use including

Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Charlie Blanchard
On Thu, May 31, 2001 at 04:11:56PM -0700, Loren Stafford wrote: Coincidently, I was just trying to edit a file on the filesystem with an FTP client going thru Zope/FTP and a LocalFS. It didn't work. The LocalFS instance didn't look like a directory to FTP so FTP could neither read nor write

Re: [Zope-dev] Coding Standards

2001-05-31 Thread Andy McKay
Never write a workflow system in DTML http://www.zopezen.org/Quotes Cheers. -- Andy McKay. - Original Message - From: Rick St Jean [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 31, 2001 4:28 PM Subject: [Zope-dev] Coding Standards Hey all, I am completely new to

Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Joachim Werner
Coincidently, I was just trying to edit a file on the filesystem with an FTP client going thru Zope/FTP and a LocalFS. It didn't work. The LocalFS instance didn't look like a directory to FTP so FTP could neither read nor write to the directory. Does that throw a monkey wrench into your

Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Andy McKay
If we can reload Python code at runtime, and we can also edit, generate and store files (containing code) via the web (as LocalFS or extFile prove), then it should be perfectly possible to have something like ZClasses (it terms of the over-the-web front-end) that spits out and dynamically

Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Joachim Werner
Do you mean generating Python code from ZClasses? For example making and editing a Product over the web? Kind of. Probably not full-fledged Products, but ZClass-like Classes that define values for property sheets, include Methods, inherit from certain base classes etc. ... well, maybe I'll end

Re: [Zope-dev] Browser Timeout

2001-05-31 Thread R. David Murray
On Thu, 31 May 2001, Andre Schubert wrote: I tested with lynx. If i type http://somewhere.com/foo/test i got no response because timeout, this means, that RESPONSE.setStatus and the first RESPONSE.write are sent back to the client if the body processing is done, but i would send every command

[Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-05-31 Thread Brian Lloyd
Hello all, Zope 2.4.0 alpha 1 has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.4.0a1/ Highlights of what is new in Zope 2.4: - Zope 2.4 supports (and requires) Python 2.1 - New restricted execution architecture - WebDAV Level