RE: [Zope-dev] Possible Windows Service improvements.

2004-08-12 Thread Mark Hammond
> Would a lockfile work ok to signify "running" state? IOW, Zope would > lock a file as one of the last steps during startup (which it actually > does now, but might do it a bit too early). The Windows > service manager > would attempt to lock the same file after seconds (although > I'm not sure

[Zope-dev] APE leaving SQL transactions open

2004-08-12 Thread Paolo Bizzarri
Hi all. We're making our first experiments with APE. The environment is Zope 2.7.1 on Linux. We're using APE 0.8.1. A problem we encountered is that APE leaves the final db transaction neither commited nor aborted, in the normal behaviour. I mean, this is what is going on here: 1) I create a

[Zope-dev] tal:on-error is a bare except...

2004-08-12 Thread Florent Guillaume
tal:on-error is a bare except: !! Is there any opposition to adding an except ConflictError: raise in TALInterpreter::do_onError_tal ? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 71 59 http://nuxeo.com mailto:[EMAIL PROTECTED]

[Zope-dev] Re: Possible Windows Service improvements.

2004-08-12 Thread Tres Seaver
Mark Hammond wrote: Would a lockfile work ok to signify "running" state? IOW, Zope would lock a file as one of the last steps during startup (which it actually does now, but might do it a bit too early). The Windows service manager would attempt to lock the same file after seconds (although I'm

[Zope-dev] Re: tal:on-error is a bare except...

2004-08-12 Thread Tres Seaver
Florent Guillaume wrote: tal:on-error is a bare except: !! Is there any opposition to adding an except ConflictError: raise in TALInterpreter::do_onError_tal ? +10. Tres. -- === Tres Seaver[EMAIL P

[Zope-dev] While Andreas is on vacation....PCNG blues

2004-08-12 Thread Bryan Simmons
I remember reading somewhere that to change anything in the workflow for plonecollectorng is bad under certain circumstances, such as after you have already created issues. Can anyone elaborate? I'm not finding docs on it through sourceforge or zope.org. -- Regards, Bryan Simmons -=-=-=-=-=-=-=

[Zope-dev] Re: Are input streams seekable in Zope? (+ patch proposal)

2004-08-12 Thread Ames Andreas (MPA/DF)
Hi, at first let me say that I'm very sorry for the long delay; it was just an oversight. Tres Seaver wrote: > Is there a reason why the AJP protocol won't allow you to "rewind" > to the beginning of the request stream? I don't think that the > publisher does any other seek than to the start of

Re: [Zope-dev] About populate folders by external scripts.

2004-08-12 Thread Dieter Maurer
Cristian S. Rocha wrote at 2004-8-10 19:15 -0300: >I'm working in a Product (CMFBio) to store biological data as Plone >content. To begin the database I need to populate a Plone Folder with a >lot of these contents (> 1) in a batch way. Ensure to use a "LargeFolder" and not a standard folder!

Re: [Zope-dev] Adding a TemporaryFolder inside a factory method of a Zope class

2004-08-12 Thread Dieter Maurer
Paolo Bizzarri wrote at 2004-8-10 09:44 +0200: > ... >from Products.TemporaryFolder.TemporaryFolder import constructTemporaryFolder > >def manage_addMyFolderCache(container, id, title='') > mfc = MyFolderCache(id, title) > container._setObject(id, mfc) The standard way is: destina