[Zope-Checkins] SVN: Zope/branches/tim-2.9-windows-installer/ Zope 2.9 went out without working code to build a Windows installer.

2006-01-11 Thread Tim Peters
Log message for revision 41263: Zope 2.9 went out without working code to build a Windows installer. This is a branch from the 2.9 tag to try to repair that. Changes here will be limited to the WinBuilder stuff. Changed: A Zope/branches/tim-2.9-windows-installer/ -=- Copied:

[Zope-Checkins] SVN: Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/zope.mk For whatever reason, the tarball for 2.9.0 dropped -final from its name.

2006-01-11 Thread Tim Peters
Log message for revision 41268: For whatever reason, the tarball for 2.9.0 dropped -final from its name. The makefile has to know the actual name. Changed: U Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/zope.mk -=- Modified:

[Zope-Checkins] SVN: Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/python.mk Python 2.4.2 is needed now.

2006-01-11 Thread Tim Peters
Log message for revision 41277: Python 2.4.2 is needed now. Changed: U Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/python.mk -=- Modified: Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/python.mk

[Zope-Checkins] SVN: Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/python.mk Untested first stab at moving to Python 2.4.2.

2006-01-11 Thread Tim Peters
Log message for revision 41278: Untested first stab at moving to Python 2.4.2. Changed: U Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/python.mk -=- Modified: Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/python.mk

[Zope-Checkins] SVN: Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/common.mk Use immediate assignment to (greatly) speed the

2006-01-11 Thread Tim Peters
Log message for revision 41282: Use immediate assignment to (greatly) speed the heavily used utility variables that call out to a shell. Changed: U Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/common.mk -=- Modified:

[Zope-Checkins] SVN: Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/zope.mk Moved version number to top of file.

2006-01-11 Thread Tim Peters
Log message for revision 41284: Moved version number to top of file. Changed: U Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/zope.mk -=- Modified: Zope/branches/tim-2.9-windows-installer/inst/WinBuilders/mk/zope.mk

[Zope-dev] Zope tests: 8 OK

2006-01-11 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Tue Jan 10 12:01:01 2006 UTC to Wed Jan 11 12:01:01 2006 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Jan 10 21:02:46 EST

[Zope-dev] BTreeFolder2.objectIds() - accessing _tree.keys() slow

2006-01-11 Thread sean . upton
I have very large BTreeFolder2 (CMFMember via BaseBTreeFolder in Archetypes) - has about 260k items in _tree - objectIds() is painfully slow, as is self._tree.keys() - I've casually observed using the meta type index to get the object ids is many orders of magnitude faster. Hacking objectIds() as

Re: [Zope-dev] BTreeFolder2.objectIds() - accessing _tree.keys() slow

2006-01-11 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: I have very large BTreeFolder2 (CMFMember via BaseBTreeFolder in Archetypes) - has about 260k items in _tree - objectIds() is painfully slow, as is self._tree.keys() - I've casually observed using the meta type index to get the object ids is many orders of magnitude

[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

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 fails

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 the same

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

[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

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

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

[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] 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

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 scr to step into published object. File /home/webenv/zope/lib/python/OFS/ObjectManager.py, line 532, in manage_importObject raise

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: dtml-in objectValues('DTML Document') dtml-var URLPATH0 /dtml-in URLPATH0 does not give me the relative path of the objects interated, but rather the path of the object doing the iterating

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,

[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

[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

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

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

[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 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,

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

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: dtml-in "objectValues('DTML Document')" dtml-var URLPATH0 /dtml-inURLPATH0 does not give me the relative path of

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 -- except for the

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 objects