Re: [Zope] Multiple CookieCrumblers

2006-01-11 Thread David Hassalevris
Brian Sullivan wrote: On 1/11/06, Jens Vagelpohl <[EMAIL PROTECTED]> wrote: On 11 Jan 2006, at 21:46, Brian Sullivan wrote: I am using CookieCrumbler as an authentication method on a Zope site. I am looking at the feasibility of putting multi CookieCrumbler object

Re: [Zope] Multiple CookieCrumblers

2006-01-11 Thread Brian Sullivan
On 1/11/06, Jens Vagelpohl <[EMAIL PROTECTED]> wrote: > > On 11 Jan 2006, at 21:46, Brian Sullivan wrote: > > > I am using CookieCrumbler as an authentication method on a Zope site. > > > > I am looking at the feasibility of putting multi CookieCrumbler > > objects (all with the same settings -- ex

Re: [Zope] newbie dtml-in question objectValues

2006-01-11 Thread Alric Aneron
thats exactly what I need, thank you!David H <[EMAIL PROTECTED]> wrote:Alric Aneron wrote: Hello, I am trying to find how to get the relative path of an object.  If i do:    URLPATH0 does not give me the relative path of the objects interated, but rather the path of the object doi

Re: [Zope] Multiple CookieCrumblers

2006-01-11 Thread Jens Vagelpohl
On 11 Jan 2006, at 21:46, Brian Sullivan wrote: I am using CookieCrumbler as an authentication method on a Zope site. I am looking at the feasibility of putting multi CookieCrumbler objects (all with the same settings -- except for the cache setting) on a site in order to allow some parts of t

Re: [Zope] Where oh where is Repozo

2006-01-11 Thread Jonathan Cyr
Thanks for the quick response, I noticed that the my WinXP Zope (sandbox) doesn't have it, but my production SuSE Linux does. So the URL is very helpful. Thanks, -Jon J Cameron Cooper wrote: Jonathan Cyr wrote: Um, Where is the latest version of Repozo, the backup tool, kept?

[Zope] Re: CPU architecture and Zope

2006-01-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Cyr wrote: > Just reading along... > > At the OS view, would dual cores balance the Linux overhead on one CPU > and python/zope on the other, based on resources required. > In other words, would the second core allow python to go faster, not

Re: [Zope] Where oh where is Repozo

2006-01-11 Thread J Cameron Cooper
Jonathan Cyr wrote: Um, Where is the latest version of Repozo, the backup tool, kept? Is there a reason, that it's not included with the Zope install/utilities (at least the 2.7.x I'm using). I confess, I've been stopping my zope, and tar'ing the directories so now I want to clean up my

Re: [Zope] Where oh where is Repozo

2006-01-11 Thread Jonathan Cyr
And then I found it, and felt really dumb... Many apologies. under ZopeInstallationDirectory/utilities/ZODBTools/reposo.py Many apologies, -Jon Jonathan Cyr wrote: Um, Where is the latest version of Repozo, the backup tool, kept? Is there a reason, that it's not included with t

[Zope] Where oh where is Repozo

2006-01-11 Thread Jonathan Cyr
Um, Where is the latest version of Repozo, the backup tool, kept? Is there a reason, that it's not included with the Zope install/utilities (at least the 2.7.x I'm using). I confess, I've been stopping my zope, and tar'ing the directories so now I want to clean up my act and use Repozo..

Re: [Zope] import error

2006-01-11 Thread David Bear
thanks for the info. I went and actually read the help text on the import/export screen where it states: == You may import Zope objects which have been previously exported to a file, by placing the file in the "import" directory of your Zope installation on the server. You should create

[Zope] Multiple CookieCrumblers

2006-01-11 Thread Brian Sullivan
I am using CookieCrumbler as an authentication method on a Zope site. I am looking at the feasibility of putting multi CookieCrumbler objects (all with the same settings -- except for the cache setting) on a site in order to allow some parts of the site to be cached in an upstream proxy and forbid

Re: [Zope] CPU architecture and Zope

2006-01-11 Thread Jonathan Cyr
Just reading along... At the OS view, would dual cores balance the Linux overhead on one CPU and python/zope on the other, based on resources required.  In other words, would the second core allow python to go faster, not having to deal with the various OS and distro tools (apache, squid, po

Re: [Zope] newbie dtml-in question objectValues

2006-01-11 Thread J Cameron Cooper
Alric Aneron wrote: Hello, I am trying to find how to get the relative path of an object. If i do: URLPATH0 does not give me the relative path of the objects interated, but rather the path of the object doing the iterating (my method). I want the path of every DTML Document the loop en

Re: [Zope] import error

2006-01-11 Thread SER.RI-TIC-Alexis Roda
David Bear wrote: Will attempting to import a zexp file (and exported plone site) I get the following error: result=apply(object,args) # Type s to step into published object. File "/home/webenv/zope/lib/python/OFS/ObjectManager.py", line 532, in manage_importObject raise BadRequest,

Re: [Zope] Zope, Apache, REMOTE_USER

2006-01-11 Thread Thomas Bennett
Don't know if this will work for you but since I put Apache in front of Zope I've had to change all REMOTE_USER to HTTP_X_FORWARDED_FOR for use in scripts that used the REMOTE_USER value before. Thomas On Monday 19 December 2005 15:12, Robert Boyd wrote: > I'm using Apache 2.0, and I cannot fin

[Zope] import error

2006-01-11 Thread David Bear
Will attempting to import a zexp file (and exported plone site) I get the following error: 2006-01-11T09:44:03 ERROR(200) SiteError http://127.0.0.1:8180/do2/manage_importObject Traceback (most recent call last):   File "/home/webenv/zope/lib/python/ZPublisher/Publish.py", line 101, in publish    

Re: [Zope] Handling login failures

2006-01-11 Thread Tino Wildenhain
Håkan Johansson schrieb: Hi everyone. I want to be able to block a user from logging in if he fails to give the right login/password three times in a row. The problem is that I don't know how to do this. Because it isnt really possible/practicable at all with HTTP. First, I need to know if

Re: [Zope] cannot create an external method with zope-2.9.0

2006-01-11 Thread Martijn Pieters
On 1/11/06, Patrick Decat <[EMAIL PROTECTED]> wrote: > Can't see what going on with yours, sorry. Perhaps the external method or the Product itself no longer works on Zope 2.9.0 due to some dependency problem. Did you test a simple "hello world" style EM on an otherwise empty Product? -- Martijn

[Zope] Handling login failures

2006-01-11 Thread Håkan Johansson
Hi everyone. I want to be able to block a user from logging in if he fails to give the right login/password three times in a row. The problem is that I don't know how to do this. First, I need to know if an attempt failed. This, I have no idea how to do. Second, I need to block the user wi

Re: [Zope] cannot create an external method with zope-2.9.0

2006-01-11 Thread Patrick Decat
On 1/11/06, joachim <[EMAIL PROTECTED]> wrote: > Yes it is called Extensions, but is in the Product. As I said, the same > works with the same Product on the same machine under Zope-2.8.2. Like you, I put my extensions in my product rather than in the global Extensions directory. Can't see what g

Re: [Zope] cannot create an external method with zope-2.9.0

2006-01-11 Thread joachim
Patrick Decat wrote: > Hi, > > I have no problems creating external methods in Zope 2.9.0. > > Can you please confirm that your extensions directory is named > "Extensions" and not "Extension"? Yes it is called Extensions, but is in the Product. As I said, the same works with the same Product on

Re: [Zope] cannot create an external method with zope-2.9.0

2006-01-11 Thread Patrick Decat
Hi, I have no problems creating external methods in Zope 2.9.0. Can you please confirm that your extensions directory is named "Extensions" and not "Extension"? Regards, Patrick. On 1/11/06, Joachim Schmitz <[EMAIL PROTECTED]> wrote: > when I try to create an external method under 2.9.0 this fa

[Zope] cannot create an external method with zope-2.9.0

2006-01-11 Thread Joachim Schmitz
when I try to create an external method under 2.9.0 this fails with This is an install method in the Extension directory of the product WAeUP. The product is not broken, and this works under Zope-2.8.2. Traceback (innermost last): Module ZPublisher.Publish, line 113, in publish Module ZPubl