Re: [Zope] Zope hangs and Python eats all memory

2007-02-08 Thread Nico Grubert
I am running Zope 2.9.6. on a 64-Bit Suse Linux 10.1 machine (9 Gbyte of RAM) with Python 2.4.3. installed. From time to time, Zope hangs and I cannot access it anymore. I tried to use the "Zope DeadlockDebugger" but if my Zope hangs I cannot call the URL "http://myzopesite:8080/manage_debug_thr

Re: [Zope] zope form server and workflow

2007-02-08 Thread Jonathan
- Original Message - From: "Tim Nash" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2007 8:08 PM Subject: Re: [Zope] zope form server and workflow Thanks for your comment. I am interested in zope partly because it does seem to be perfect for REST

Re: [Zope] emulate a sequence

2007-02-08 Thread Dieter Maurer
Yuri wrote at 2007-2-8 15:09 +0100: > I need a field in zope object which act as a sequence. I mean every >time I create an object, the value is the previous sequence value of the >last object created + 1. > > also I need to browse the objects by sequence (from the object 1 to the >last, by the

Re: [Zope] ZODB access via ZEO

2007-02-08 Thread Dieter Maurer
Adit Ranadive wrote at 2007-2-7 14:10 -0500: > ... >Im trying to read from the data.fs file plone product information like home >attributes. >Im doing this via ZEO using app.Control_Panel.Products.getObjectItems() >This returns to me a set of (object ids, objects). Using the object I change >the >

Re: [Zope] ZPT problems upgrading 2.9.6 to 2.10.2

2007-02-08 Thread Dieter Maurer
Pablo Ziliani wrote at 2007-2-6 21:26 -0300: >As I mentioned in my previous email I'm in the middle of an upgrade from >2.9.6 to 2.10.2, and getting (at least) a couple of errors: >Sometimes when a ZPT that gets content from the database (postgres, >psycopg 2.0.4) is called, it raises the followi

Re: [Zope] cpu load 99 percent a lot in plone evinironment

2007-02-08 Thread Dieter Maurer
Marko Kruijer wrote at 2007-2-5 14:20 +0100: > ... >The page loops over a results set from mysql, this set contains 400 - >500 results. >I've noticed that if it loops over 500 results instead of i.e. 20 the >page takes almost 3 to 4 seconds longer to load. > >I've never seen this kind of behaviou

[Zope] PAS Plugin

2007-02-08 Thread javi lopez
Hello everyone and thanks for your help! I am doing a plugin for PAS and put on that plugin two methods: authenticatedCredentials and extractCredentials First works ok, but extract donĀ“t work, it is its code: creds = {} login = request.get('__ac_name', '') if login: #

Re: [Zope] emulate a sequence

2007-02-08 Thread Jonathan
- Original Message - From: "Tino Wildenhain" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: "Yuri" <[EMAIL PROTECTED]>; Sent: Thursday, February 08, 2007 9:36 AM Subject: Re: [Zope] emulate a sequence Jonathan schrieb: - Original Message - From: "Yuri" <[EMAIL

Re: [Zope] emulate a sequence

2007-02-08 Thread Tino Wildenhain
Jonathan schrieb: - Original Message - From: "Yuri" <[EMAIL PROTECTED]> To: Sent: Thursday, February 08, 2007 9:09 AM Subject: [Zope] emulate a sequence I need a field in zope object which act as a sequence. I mean every time I create an object, the value is the previous sequence val

Re: [Zope] emulate a sequence

2007-02-08 Thread Jonathan
- Original Message - From: "Yuri" <[EMAIL PROTECTED]> To: Sent: Thursday, February 08, 2007 9:09 AM Subject: [Zope] emulate a sequence I need a field in zope object which act as a sequence. I mean every time I create an object, the value is the previous sequence value of the last o

[Zope] emulate a sequence

2007-02-08 Thread Yuri
Hi! I need a field in zope object which act as a sequence. I mean every time I create an object, the value is the previous sequence value of the last object created + 1. also I need to browse the objects by sequence (from the object 1 to the last, by the sequence number) I think I need a c

Re: [Zope] documentation about the ":method"

2007-02-08 Thread Martijn Pieters
On 2/8/07, Manuel Spuhler <[EMAIL PROTECTED]> wrote: quoted from http://www.plope.com/Books/2_7Edition/ScriptingZope.stx Heh, I completely missed the fact that :method has been renamed to :action. Thanks for the correction! -- Martijn Pieters ___ Zop

Re: [Zope] documentation about the ":method"

2007-02-08 Thread Manuel Spuhler
Hello Martin, quoted from http://www.plope.com/Books/2_7Edition/ScriptingZope.stx "action Appends the attribute value to the original form action of the form. This is mostly useful for the case in which you have multiple submit buttons on one form. Each button can be assigned to a script that get

Re: [Zope] documentation about the ":method"

2007-02-08 Thread Martijn Pieters
On 2/7/07, Andreas Jung <[EMAIL PROTECTED]> wrote: Andreas, that doesn't speak a word about the form-field modifier 'method'. > I am looking for some documentation about the ":method" used in some > forms, for instance name="discussio