[Zope-dev] Re: Flood of deprecation warnings...

2006-06-20 Thread Chris Withers
Martijn Faassen wrote: Chris Withers wrote: [snip] One of my other bugbears is that a flood of deprecation warnings often masks real problems. What real problems? Deprecation warnings in code I need to care about, as opposed to mindless spew from the zope core or other installed products

Re: [Zope-dev] Re: Stable / Development branches?

2006-06-20 Thread Chris Withers
As always, Martijn has prettymuch hit the nail on the head with this mail, +lots to all the points he raises... Chris Martijn Faassen wrote: I think we've concluded a number of things: * some developers (Andreas in particular) do not consider it a huge problem to keep maintaining an older

Re: [Zope-dev] Re: [Zope3-dev] Re: Stable / Development branches?

2006-06-20 Thread Chris Withers
Andreas Jung wrote: I for one, is NOT interested in backporting fixed in Five trunk to both Five 1.0, 1.1, 1.3, 1.4 and 1.5, which is what are the current versions of Five if we say that Zope 2.8 and 2.7 should be still supported after the release of 2.10. We don't talk about Zope 2.7 which

[Zope-dev] Re: [Zope3-dev] Re: Unify the Zope 2 and Zope 3 repositories!

2006-06-20 Thread Chris Withers
Benji York wrote: Philipp von Weitershausen wrote: Uh, never mind. +1 :) Any chance you could explain why you feel that way? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___

[Zope-dev] Re: [Zope3-dev] Re: Unify the Zope 2 and Zope 3 repositories!

2006-06-20 Thread Philipp von Weitershausen
Chris Withers wrote: Benji York wrote: Philipp von Weitershausen wrote: Uh, never mind. +1 :) Any chance you could explain why you feel that way? Follow this thread: http://mail.zope.org/pipermail/zope3-dev/2005-November/016561.html Philipp

Re: [Zope-dev] Re: default view

2006-06-20 Thread Martijn Faassen
Philipp von Weitershausen wrote: Florent Guillaume wrote: Florent Guillaume wrote: So here's a proposal: how about having the following order: - __bobo_traverse__ - unacquired attribute - zope 3 views - acquired attributes Attached is the current diff I'm working with (for Zope 2.10). Hey,

Re: [Zope-dev] Re: default view

2006-06-20 Thread Florent Guillaume
On 20 Jun 2006, at 13:23, Martijn Faassen wrote: Philipp von Weitershausen wrote: Florent Guillaume wrote: Florent Guillaume wrote: So here's a proposal: how about having the following order: - __bobo_traverse__ - unacquired attribute - zope 3 views - acquired attributes Attached is the

Re: [Zope-dev] Re: default view

2006-06-20 Thread Martijn Faassen
Florent Guillaume wrote: On 20 Jun 2006, at 13:23, Martijn Faassen wrote: [snip] We've actually noticed Five 1.2.4 is not compatible with Five 1.2 in some way to do with mysterious 'index.html' bits appearing after URLs where we thought they shouldn't. We haven't tracked this down and we

Re: [Zope-dev] Re: default view

2006-06-20 Thread Lennart Regebro
On 6/20/06, Florent Guillaume [EMAIL PROTECTED] wrote: I was looking at the publisher, and it hacks the URL to explicitely add the default view to it when a default view is used. That might explain it. You're saying Zope 2.10 doesn't do that? I thought it did too. Well, it adds index_html, not

Re: [Zope-dev] Re: default view

2006-06-20 Thread Lennart Regebro
On 6/20/06, Martijn Faassen [EMAIL PROTECTED] wrote: It broke a lot of stuff for us, so we switched back until we can figure out what's going on when we upgrade that piece of code to a newer version of Zope. There is more tests in Five 1.5, adding them to older version of Five should be easy.

Re: [Zope-dev] Re: [Zope3-dev] Re: Stable / Development branches?

2006-06-20 Thread Lennart Regebro
On 6/20/06, Chris Withers [EMAIL PROTECTED] wrote: I think it's also safe to say that some people will stick with a good vintage zope which has all the features they need and was stable. And that's OK, and in many cases completely sensible. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/

[Zope-dev] Re: Flood of deprecation warnings...

2006-06-20 Thread Florent Guillaume
Chris Withers wrote: Both core zope and Plone spew forth in their default state. Zope 2.10 does? It shouldn't. Please point out the deprecation warnings it sends. Also could we please bury the zLOG-was-only-halfwy-deprecated issue that's been beaten to death? Everybody knows there were

[Zope-dev] Re: Flood of deprecation warnings...

2006-06-20 Thread Rob Miller
Chris Withers wrote: Both core zope and Plone spew forth in their default state. the deprecation warnings in Plone annoy me to no end. unfortunately, though, Plone (thus far) has chosen to straddle Zope release. i can't fix the deprecation warnings that Plone 2.5 generates with Zope 2.9,

Re: [Zope] load balancing ftp over ZEO clients

2006-06-20 Thread Chris Withers
Reinoud van Leeuwen wrote: We now would like to rollout ftp acces for the users that cannot use webdav for some reason. I'm not sure I'd recommend Zope's FTP server, it's kinda crufty. Rather roll out WebDAV, which can be load balanced in the same way as any other web request. cheers,

[Zope] Performance hit for DeadlockDebugger?

2006-06-20 Thread Chris Withers
Hi All, Is there any performance hit for having DeadlockDebugger installed and enabled all the time on a production zope instance? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Zope] Nested dtml tags

2006-06-20 Thread Jonathan Bowlas
Hi All, How can I do this with dtml? select name=MODLEVEL size=1 dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an alternative to this. option value=1 selected=selected1/option option value=22/option Etc, etc. Hope someone can help. Jon

Re: [Zope] Nested dtml tags

2006-06-20 Thread Tino Wildenhain
Jonathan Bowlas schrieb: Hi All, How can I do this with dtml? select name=MODLEVEL size=1 dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an alternative to this. option value=1 selected=selected1/option option value=22/option Etc, etc.

Re: [Zope] Nested dtml tags

2006-06-20 Thread Andreas Jung
--On 20. Juni 2006 12:15:40 +0100 Jonathan Bowlas [EMAIL PROTECTED] wrote: Hi All, How can I do this with dtml? select name=MODLEVEL size=1 dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an alternative to this. option value=1 selected=selected1/option

Re: [Zope] Nested dtml tags

2006-06-20 Thread Patrick Decat
Hi, no need for nested dtml : select name=MODLEVEL size=1 option value=1dtml-if expr=MODLEVEL == '1' selected/dtml-if1/option option value=2dtml-if expr=MODLEVEL == '2' selected/dtml-if2/option /select On 6/20/06, Jonathan Bowlas [EMAIL PROTECTED] wrote: Hi All, How can I do this with dtml?

RE: [Zope] Nested dtml tags

2006-06-20 Thread Jaroslav Lukesh
[EMAIL PROTECTED] On Behalf Of Jonathan Bowlas How can I do this with dtml? select name=MODLEVEL size=1 dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an alternative to this. option value=1 selected=selected1/option option value=22/option

RE: [Zope] Nested dtml tags

2006-06-20 Thread Jonathan Bowlas
Hmm, this doesn't appear to work. Let me explain what I'm trying to do. I have a Z SQL Method called selectmoduleinfoMethod that contains the SQL: SELECT * FROM RECMGR_EL_MODULE_Query WHERE MODCODE = dtml-sqlvar MODCODE type=string This recordset is returned to a dtml form to populate

[Zope] Problem with constructTransientObjectContainer

2006-06-20 Thread Jonathan
I have an external method that is trying to create a Transient Object Container in a 'temp_folder', as follows: def BuildGarbageCollector(self): folder = self.restrictedTraverse('Coz/TempImages') # Coz/TempImages already exists folder.constructTransientObjectContainer(self,

[Zope] Re: Performance hit for DeadlockDebugger?

2006-06-20 Thread Florent Guillaume
Chris Withers wrote: Is there any performance hit for having DeadlockDebugger installed and enabled all the time on a production zope instance? The only performance hit is an added if uri == dump_url: per request, which is totally negligible. DeadlockDebugger has been designed to stay

Re: [Zope] Nested dtml tags

2006-06-20 Thread Andrew Hedges
This is untested, but it's a pretty familiar idiom to me at the moment. dtml-in selectmoduleinfoMethod prefix=dbmodlevel dtml-call REQUEST.set('dbmodlevel', dbmodlevel_item) /dtml-in select name=MODLEVEL dtml-in range(1, 8) prefix=modlevel optiondtml-if expr=modlevel_item == dbmodlevel

Re: [Zope] Nested dtml tags

2006-06-20 Thread Tino Wildenhain
Jonathan Bowlas schrieb: Hmm, this doesn't appear to work. Let me explain what I'm trying to do. I have a Z SQL Method called selectmoduleinfoMethod that contains the SQL: SELECT * FROM RECMGR_EL_MODULE_Query WHERE MODCODE = dtml-sqlvar MODCODE type=string You should never use

RE: [Zope] Nested dtml tags

2006-06-20 Thread Jonathan Bowlas
Thanks for everyone's help. I may be able to sort this now. -Original Message- From: Tino Wildenhain [mailto:[EMAIL PROTECTED] Sent: 20 June 2006 15:09 To: [EMAIL PROTECTED] Cc: 'Jaroslav Lukesh'; zope@zope.org Subject: Re: [Zope] Nested dtml tags Jonathan Bowlas schrieb: Hmm, this

Re: [Zope] Problem with constructTransientObjectContainer - Resolved

2006-06-20 Thread Jonathan
- Original Message - From: Chris McDonough [EMAIL PROTECTED] folder.manage_addProducts ['Transience'].constructTransientObjectContainer might work (assuming constructTransientObjectContainer is the right constructor name, I didn't check). Chris, thanks for the idea - I tried it,

[Zope] How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-20 Thread William Heymann
I am dealing with a zope system where Verisign is sending a POST to our server for ecommerece purposes. Currently I am writing the entire contents of the POST from verisign to the ZODB however I have a problem that some of these POSTs are not being recorded because an error occurs later in the

Re: [Zope] Transaction rollback

2006-06-20 Thread Chris McDonough
import transaction transaction.abort() should do it. I will spare you the nannylike warnings about managing your own transaction state.. - C On Jun 20, 2006, at 11:21 AM, Luiz Fernando B. Ribeiro wrote: I need to return an error page with instructions after verifying a request but I

Re: [Zope] How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-20 Thread Chris McDonough
On Jun 20, 2006, at 2:27 PM, William Heymann wrote: I am dealing with a zope system where Verisign is sending a POST to our server for ecommerece purposes. Currently I am writing the entire contents of the POST from verisign to the ZODB however I have a problem that some of these POSTs

Re: [Zope] How to commit a piece of data in a transaction when thetransaction is being aborted later

2006-06-20 Thread Jonathan
- Original Message - From: William Heymann [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, June 20, 2006 2:27 PM Subject: [Zope] How to commit a piece of data in a transaction when thetransaction is being aborted later I am dealing with a zope system where Verisign is sending a

Re: [Zope] How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-20 Thread William Heymann
On Tuesday 20 June 2006 12:47, Chris McDonough wrote: I'd just record the data from Verisign in response to their POST (do nothing else) and come along later with a separate request to pick through the data to do postprocessing on it every so often; then the data always gets recorded and you

Re: [Zope] How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-20 Thread Chris McDonough
On Jun 20, 2006, at 2:55 PM, William Heymann wrote: That is probably a good idea for long term to change things that way and I would like to rewrite it. However right now I don't really want to rewrite the way the current system works. I had hoped I could just use get_transaction().commit()