[Zope] Problem Augmented assignment

2007-06-04 Thread julian
Hi, I have change my zope version, zope 2.7 to zope 2.9. In zope 2.7 I have some python script that run very well. But in zope 2.9 theses scripts don't run. This script use the parameter in url send with a checkbox form. I have exactly the same code in zope2.7 and zope2.9. :s In zope 2.9 I h

[Zope] Re: process_memory reports negative usage

2007-06-04 Thread Gaute Amundsen
On Friday 01 June 2007 15:48, Izak Burger wrote: > On 6/1/07, Gaute Amundsen wrote: > > I'm using the process_memory plugin for monitoring zope, just as in the > > readme. > > Your the first person to ever contact me about it, so I am very happy > to hear that it was useful to someone else as well

[Zope] Re: Problem Augmented assignment

2007-06-04 Thread julian
The event.log 2007-06-04T10:18:18 ERROR Zope.SiteErrorLog http://test.home.com/directory/sub_directory/liste_product Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.map

[Zope] Re: Re: MemoryError exception when importing a zexp file

2007-06-04 Thread Ben Lobo
"Paul Winkler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I spent several hours recently to import a .zexp of a Plone 2.0 site. > Got nowhere. > > One suggestion I got (which I wasn't able to follow) was the > following. If you have access to the original server, try this: >

Re: [Zope] Problem Augmented assignment

2007-06-04 Thread Jonathan
- Original Message - From: "julian" <[EMAIL PROTECTED]> To: Sent: Monday, June 04, 2007 4:24 AM Subject: [Zope] Problem Augmented assignment I have change my zope version, zope 2.7 to zope 2.9. In zope 2.7 I have some python script that run very well. But in zope 2.9 theses scripts

[Zope] Re: Problem Augmented assignment

2007-06-04 Thread julian
A quick fix would be to move the code from your python script to an external method. Ok,thanks, but how can I call this external method in a page template. In a first page I have a form that submit 6 parameter in url. The second page must call the "external method" or python script(don't r

[Zope] Function sequence.sort

2007-06-04 Thread julian
Hi, I have a problem with a script that run with zope2.7. This same script don't run with zope 2.9 My error : -- 2007-06-04T15:31:05 ERROR Zope.SiteErrorLog http://zope.mysite.com:17673/SITES/plone_site/vie-quotidienne/ind

Re: [Zope] Function sequence.sort

2007-06-04 Thread Jonathan
- Original Message - From: "julian" <[EMAIL PROTECTED]> To: Sent: Monday, June 04, 2007 9:58 AM Subject: [Zope] Function sequence.sort Hi, I have a problem with a script that run with zope2.7. This same script don't run with zope 2.9 My error : ---

Re: [Zope] Re: Five: Adapter registry not working?

2007-06-04 Thread Peter Sabaini
FTR: I tracked this down again some more -- the culprit is not the adapter registry but a failing getUtility() call. I really wish component lookup / adapation would be easier to debug; IMHO this is pretty opaque -- but then again I'm a newb at this. peter. On Wednesday 30 May 2007 18:51:18

[Zope] Re: Problem Augmented assignment

2007-06-04 Thread Josef Meile
A quick fix would be to move the code from your python script to an external method. Ok,thanks, but how can I call this external method in a page template. In a first page I have a form that submit 6 parameter in url. The second page must call the "external method" or python script(don't r

[Zope] Re: Problem Augmented assignment

2007-06-04 Thread julian
In fact it's a problem of AdvancedQuery : TypeError: Augmented assignment to And objects is not allowed in untrusted code If I don't write query = And(), there are no errors. But I want the function And :s . My code : --

[Zope] transfer zope security-properties

2007-06-04 Thread Einar Næss Jensen
I'm on the run for transfering my poorly designed zclasses into real diskbased ones. I've gotten pretty far in only a couple of weeks thanks to this mailinglist and the irc channel on freenet. Thanks everyone! Today I have this question: How can I copy the associated securityinformation about a z