Re: [Zope] Persistent Mapping error with TinyTablePlus.

2008-08-16 Thread Dieter Maurer
Ignacio Valdes wrote at 2008-8-12 13:30 -0500: >Hi Chris, When I try to change a Squishdot rightbox_items title or even not >change anything and try to save it out I get this error thrown: > >Site Error > >An error was encountered while publishing this resource. > >NameError >Sorry, a site error oc

Re: [Zope] ZEO clusters on a single box

2008-08-16 Thread Dieter Maurer
Jean Jordaan wrote at 2008-8-13 12:26 +0700: >We have a server running many ZEO clusters (many more than the number of >CPUs, of course). Each cluster consists of a master and two clients. > >Would it make sense to run both clients and spread requests across them? Usually, this would make sense wh

Re: [Zope] uncataloging

2008-08-16 Thread Dieter Maurer
Darryl Caldwell wrote at 2008-8-13 19:49 -0800: > ... >I have looked at the source of Catalog.py but am still confused about >what parameters I need to uncatalog an object. > >Is the uid the same as the object id? No. The "uid" that you must pass to "uncatalog_object" is the same one that has bee

Re: [Zope] Searching for a range or a value

2008-08-16 Thread Dieter Maurer
Andrea Ratto wrote at 2008-8-14 10:25 +0200: >I am trying to search for items with an attribute (a price) in a defined >range, but I also need to match those which have None in that attribute. > >The index is a FieldIndex, Zope is at version 2.10 > >Is there any way to do that without doing two sep

Re: [Zope] uncataloging

2008-08-16 Thread Jens Vagelpohl
On Aug 16, 2008, at 11:06 , Dieter Maurer wrote: > The easiest way to determine the "uid" is probably > to locate the object via a catalog search. You will get a catalog > proxy > for the object, often also called "brain". > This proxy has the method "getPath()" > which returns the object's "ui

Re: [Zope] Script (Python) insecure ?

2008-08-16 Thread M.-A. Lemburg
On 2008-08-16 08:00, Dieter Maurer wrote: > M.-A. Lemburg wrote at 2008-8-12 13:41 +0200: >> ... >> While I have not yet been able to break out of the restricted >> environment without help from installed products, there are a few >> denial-of-service attacks which can easily be deployed on sites >

Re: [Zope] Script (Python) insecure ?

2008-08-16 Thread Andreas Jung
--On 16. August 2008 13:11:13 +0200 "M.-A. Lemburg" <[EMAIL PROTECTED]> wrote: In my experience, attempts to create a sandbox that protects sufficiently against unwanted resource usage are either too restrictive and slow to make them useful or have problems preventing DOS attacks. I think

Re: [Zope] Script (Python) insecure ?

2008-08-16 Thread M.-A. Lemburg
On 2008-08-16 13:39, Andreas Jung wrote: > > > --On 16. August 2008 13:11:13 +0200 "M.-A. Lemburg" <[EMAIL PROTECTED]> wrote: > > >> >> In my experience, attempts to create a sandbox that protects >> sufficiently against unwanted resource usage are either too >> restrictive and slow to make the

Re: [Zope] Script (Python) insecure ?

2008-08-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 M.-A. Lemburg wrote: > On 2008-08-16 08:00, Dieter Maurer wrote: >> M.-A. Lemburg wrote at 2008-8-12 13:41 +0200: >>> ... >>> While I have not yet been able to break out of the restricted >>> environment without help from installed products, there are

[Zope] PROXISOFT Info Service

2008-08-16 Thread info
Sehr geehrte Damen und Herren, Sie haben eine Email an die Adresse [EMAIL PROTECTED] gesendet. Wegen massiven Spam Atacken wird diese Adresse nicht mehr betrieben. Um Kontakt mit PROXISOFT auftzunehmen, rufen Sie bitte unsere Homepage www.proxisoft.de in Ihrem Browser auf. Viele Grüße - Ihr PRO

Re: [Zope] Trying ZODB with a background in RDBMS

2008-08-16 Thread Chris Withers
Phillip B Oldham wrote: > Hi all. I'm playing with standalone ZODB at the moment trying to get a > better understanding of its use in applications. I come from a > PHP/MySQL background, and I'm taking my first steps with Python at the > same time. Heh, and just when people are moving more and more

Re: [Zope] Script (Python) insecure ?

2008-08-16 Thread Chris Withers
Andreas Jung wrote: > >> BTW: The reason why I had a look at these was that Chris Withers >> mentioned at EuroPython that they are currently causing delays >> in the Python 2.5 adoption (or at least are one of the reasons >> for them). > > Is Chris' talk somewhere online? Sorry, they were just q