[Zope-Annce] [ANN] Zope 2.10.2 released

2007-01-25 Thread Andreas Jung
The Zope developer community I is pleased to announce the release of Zope 2.10.2. You can download Zope 2.10.2 from: http://www.zope.org/Products/Zope/2.10.2/ This release uses unicode as internal representation for ZPT. For this reason you are strongly encouraged to read

Re: [Zope-Annce] [ANN] Zope 2.10.2 released

2007-01-25 Thread Andreas Jung
--On 25. Januar 2007 18:37:03 +0100 Andreas Jung [EMAIL PROTECTED] wrote: The Zope developer community I is pleased to announce the release of Zope 2.10.2. You can download Zope 2.10.2 from: http://www.zope.org/Products/Zope/2.10.2/ This release uses unicode as internal representation

[Zope-Checkins] SVN: Zope/branches/2.10/ preparing 2.10.2

2007-01-25 Thread Andreas Jung
Log message for revision 72221: preparing 2.10.2 Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/inst/WinBuilders/mk/zope.mk U Zope/branches/2.10/inst/versions.py -=- Modified: Zope/branches/2.10/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/tags/2.10.2/ Zope 2.10.2

2007-01-25 Thread Andreas Jung
Log message for revision 7: Zope 2.10.2 Changed: A Zope/tags/2.10.2/ -=- Copied: Zope/tags/2.10.2 (from rev 72221, Zope/branches/2.10) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-dev] Zope Tests: 7 OK

2007-01-25 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Jan 24 12:00:00 2007 UTC to Thu Jan 25 12:00:00 2007 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.6 Python-2.1.3 : Linux From: Zope Unit Tests Date: Wed Jan 24 21:07:46 EST 2007

Re: [Zope-dev] RFC: Eggifying Zope's extension mechanism (Products)

2007-01-25 Thread Martin Aspeli
Philipp von Weitershausen wrote: For their upcoming versions, Zope 2 consuming platforms such as Plone are creating standard Zope3-style Python packages while still having Zope 2 products around. This proposal aims at unifying the deployment of products and Python packages into a Zope 2

Re: [Zope-dev] RFC: Acquisition and __parent__ pointers

2007-01-25 Thread Martin Aspeli
Philipp von Weitershausen wrote: This proposal aims at bringing Zope 2 a bit closer to Zope 3 by making the widely used Acquisition API aware of Zope 3's __parent__ pointers. This will alleviate the need of using Acquisition base classes in Zope 2 for every security-sensitive object,

[Zope-dev] Re: RFC: Eggifying Zope's extension mechanism (Products)

2007-01-25 Thread Rocky Burt
On Thu, 2007-25-01 at 05:07 -0800, Martin Aspeli wrote: I do wonder what would happen if you had both lib/python/Products/CMFCore and Products/CMFCore, though. Would there be an explicit preference or would Zope fail to start up with a conflict? I think I'd prefer the latter, in fact, so that

[Zope-dev] Re: RFC: Eggifying Zope's extension mechanism (Products)

2007-01-25 Thread Philipp von Weitershausen
Rocky Burt wrote: On Thu, 2007-25-01 at 05:07 -0800, Martin Aspeli wrote: I do wonder what would happen if you had both lib/python/Products/CMFCore and Products/CMFCore, though. Would there be an explicit preference or would Zope fail to start up with a conflict? I think I'd prefer the latter,

[Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Philipp von Weitershausen
whit wrote: Martin Aspeli wrote: Philipp von Weitershausen wrote: This is awesome, and by that I don't mean the fact that we have a plone buildout, but that we actually have Zope 2 recipes for buildout. I hope they can be moved to svn.zope.org for further development to benefit the whole

[Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Martin Aspeli
Philipp von Weitershausen wrote: The point is that buildout *already* handles eggs. There's really no point for having an extra layer on top of buildout. The zc.recipe.egg recipe can install any egg (as a development one or not) in an automated fashion, which is exactly what you'd want from a

[Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Rob Miller
Philipp von Weitershausen wrote: whit wrote: Martin Aspeli wrote: Philipp von Weitershausen wrote: This is awesome, and by that I don't mean the fact that we have a plone buildout, but that we actually have Zope 2 recipes for buildout. I hope they can be moved to svn.zope.org for further

[Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Alexander Limi
On Thu, 25 Jan 2007 12:45:26 -0800, Martin Aspeli [EMAIL PROTECTED] wrote: Plone stinks! It's like a fine cheese. -- Alexander Limi · http://limi.net ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No

[Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread whit
Philipp von Weitershausen wrote: whit wrote: Martin Aspeli wrote: Philipp von Weitershausen wrote: This is awesome, and by that I don't mean the fact that we have a plone buildout, but that we actually have Zope 2 recipes for buildout. I hope they can be moved to svn.zope.org for further

[Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Ian Bicking
whit wrote: Not everybody likes the activate dance. With buildout, you don't need it. The recipes make sure that the scripts that get installed into the buildout's 'bin' directory have the right PYTHONPATH set and have access to the eggs you requested for the buildout. is there really a

Re: [Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Jim Fulton
I hate to jump into this thread but I'll make a few comments. On Jan 25, 2007, at 5:13 PM, whit wrote: Philipp von Weitershausen wrote: whit wrote: Martin Aspeli wrote: Philipp von Weitershausen wrote: This is awesome, and by that I don't mean the fact that we have a plone

Re: [Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Jim Fulton
On Jan 25, 2007, at 5:09 PM, Ian Bicking wrote: Whit pointed me to this thread. Yeah, someone pointed me to it too. :) I won't reply to specifics, but maybe just describe what we're doing (and planning to do), and how workingenv differs from zc.buildout. I'll avoid responding to

Re: [Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Jim Fulton
On Jan 25, 2007, at 5:44 PM, Ian Bicking wrote: workingenv is development-centric, while buildout is deployment- centric. This does not necessarily mean the best tool for the job, because focusing on development and ignore deployment isn't a good job, nor the other way around. buildout

Re: [Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Ian Bicking
Jim Fulton wrote: If *Plone* becomes incompatible with workingenv that'd be bothersome I agree. But if a buildout is incompatible, eh... who knows, I would hope that buildout would not have to be compatible with workingenv, whatever that means, in order for Plone to be compatible. Then

[Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Martin Aspeli
Rob Miller wrote: honestly, it seems to me that buildout tries to do too much. it's trying to handle both repeatable deployment recipes AND providing a sandbox within which to run things. there may not be a point to having an extra layer on top of buildout, but buildout sure does seem to me

Re: [Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Ian Bicking
Jim Fulton wrote: I actually tried to do this once before with zc.buildout, but I didn't get far -- probably a result of lack of effort and lack of familiarity with the overall stack. But I also recognize lots of the questions about stuff like the zope.conf file and Data.fs that still seem

[Zope-dev] Re: ploneout - Or how using zc.buildout for a common Zope2 project might look like

2007-01-25 Thread Rob Miller
Martin Aspeli wrote: Rob Miller wrote: honestly, it seems to me that buildout tries to do too much. it's trying to handle both repeatable deployment recipes AND providing a sandbox within which to run things. there may not be a point to having an extra layer on top of buildout, but

[Zope-PAS] roles on the anonymous user

2007-01-25 Thread Wichert Akkerman
For some environments I need to be able to add a role for people coming from a specific IP address (for example to add a role everyone on campus). At the moment PAS does not support that: roles are determined in the _findUser method but not in _createAnonymousUser. Are there any reasons for not

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-25 Thread Martijn Pieters
On 1/24/07, Maciej Wisniowski [EMAIL PROTECTED] wrote: Another question, do you use ZEO? I know there were some issues with _p_resolveConflict and ZEO (at last in Zope 2.8.x). Result was that with ZEO setup _p_resolveConflict was not called at all. There is solution for this but I don't know if

[Zope] URL referencing

2007-01-25 Thread Sinang, Danny
Hello, I've got a script located in /wms/Ccp/Main/TeamLead/Scripts and it needs to reference a workflow object in /wms/Ccp/Main/Workflows/Ccp/ . Currently, we do this by issuing this line : wf = context.Workflows.Ccp.ccp_agro_article But everytime we run this, a username/password prompt

[Zope] Adjusting ZODB Pool Size

2007-01-25 Thread Brian
Hi! We have a very busy site that required zserver-threads to be bumped to 10. My understanding is DB connections (pool_size) is hardwired to 7, no knob to adjust, and it should match the number of zserver-threads. We do get warnings in the logs, so I should fix it. Create a custom_zodb.py and

Re: [Zope] Key Error in Catalog Reindex

2007-01-25 Thread KJZZ Webmaster
Dieter, thank you for the suggestion on how to change \lib\python\OFS\DTMLMethod.py to avoid the key error. Before I went ahead and altered zope's the underlying code, I thought I would try Andres' suggestion first, by rewriting the dtml method as a python script: REQUEST = container.REQUEST

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-25 Thread Chris Withers
Murdock wrote: Example: http://www.domain.com/Customer should go to ColdFusion and actual files on the server everything else at http://www.domain.com should feed into Zope I am running Windows Server 2003, IIS6, EnfoldProxy, Latest version of Zope 2. Dunnoy what EnfoldPoxy is or how it

Re: [Zope] Adjusting ZODB Pool Size

2007-01-25 Thread Patrick Prodöhl
On Jan 25, 2007 12:14 PM, Brian wrote: Hi! We have a very busy site that required zserver-threads to be bumped to 10. My understanding is DB connections (pool_size) is hardwired to 7, no knob to adjust, and it should match the number of zserver-threads. We do get warnings in the logs, so I

Re: [Zope] URL referencing

2007-01-25 Thread Jonathan
snip - Original Message - From: Sinang, Danny To: zope@zope.org Sent: Thursday, January 25, 2007 4:36 AM Subject: [Zope] URL referencing Hello, I've got a script located in /wms/Ccp/Main/TeamLead/Scripts and it needs to reference a workflow object in /wms/Ccp/Main/Workflows/Ccp/ .

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-25 Thread Murdock
Thanks for the suggestion, I went to that site and I see that it only works on Unix-Like servers. I don't have any of those available in my environment. Jaroslav Lukesh wrote: - Original Message - From: Murdock [EMAIL PROTECTED] I am implementing a new site using Zope/Plone. This

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-25 Thread Murdock
Can you point me to some good documentation that can get me up and running with Apache quickly, as well as how to use the rewrite rules? Thanks Chris Withers wrote: Murdock wrote: Example: http://www.domain.com/Customer should go to ColdFusion and actual files on the server everything

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-25 Thread Jonathan
- Original Message - From: Murdock [EMAIL PROTECTED] To: zope@zope.org Sent: Thursday, January 25, 2007 8:32 AM Subject: Re: [Zope] ColdFusion, ASP, etc with Zope/Plone Can you point me to some good documentation that can get me up and running with Apache quickly, as well as how to

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-25 Thread yacine chaouche
Is _p_resolveConflict method of Inceraser executed at all? I wonder if traceback you see in console is from the code you added: traceback.print_exc(file=stdin) or it is always shown when there is a conflict error. code def _p_resolveConflict(self, old, state1, state2): print called the

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-25 Thread yacine chaouche
Concerning zeo, I do not use it in the developpement plateforme, but there's one in the test and production platformes, so maybe I will face the problem during the test phase. I do not understand : session objects should be unique for each browser, so why are there conflict errors on them ?

[Zope] Session Timeout Troubles

2007-01-25 Thread Sale, Robin
Hi, We're using Zope 2.8.8 with a bunch of client sites set up in various sub directories / databases. We're using ZEO for the database storage and a local zodb file for the temporary data. I've recently been asked to set the system to user sessions time out after 15 minutes of activity. I've

Re: [Zope] Session Timeout Troubles

2007-01-25 Thread Andreas Jung
--On 25. Januar 2007 09:59:44 -0500 Sale, Robin [EMAIL PROTECTED] wrote: Hi, We're using Zope 2.8.8 with a bunch of client sites set up in various sub directories / databases. We're using ZEO for the database storage and a local zodb file for the temporary data. I've recently been asked

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-25 Thread Chris Withers
Murdock wrote: Anyone know of any good open source or very low cost Reverse Proxies that will run on Windows Server? Please trim your replies. Apache is what you're looking for. You've been pointed at the docs, further help can be found on #apache on irc.freenode.net cheers, Chris --

RE: [Zope] Session Timeout Troubles

2007-01-25 Thread Sale, Robin
Andreas, thank you for replying. Actually, the problem I have is the reverse - the sessions NEVER seem to time out. I have a directive from up on high to make it so that 15 minutes of inactivity within any location on the site (All of which is password protected under acl_users or

[Zope] Re: ColdFusion, ASP, etc with Zope/Plone

2007-01-25 Thread Mark, Jonathan (Integic)
Is their a method to get most things to Zope/Plone but certain folders to go to ColdFusion. Does ColdFusion have an API which can be called from Python or Perl? Does it have an XML-RPC, SOAP or other web API interface? If so then you could write a Zope External Method in Python or Perl that

[Zope] [ANN] Zope 2.10.2 released

2007-01-25 Thread Andreas Jung
The Zope developer community I is pleased to announce the release of Zope 2.10.2. You can download Zope 2.10.2 from: http://www.zope.org/Products/Zope/2.10.2/ This release uses unicode as internal representation for ZPT. For this reason you are strongly encouraged to read

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-25 Thread Dieter Maurer
yacine chaouche wrote at 2007-1-24 18:23 +0100: As Gabriel Genellina said earlier in this discussion, the probleme could come from the dicoLignes variable that is stored in the session.I don't get it, the exception says that the Increaser object is responsible of the conflict error :

Re: [Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-25 Thread Dieter Maurer
Kirk Strauser wrote at 2007-1-24 13:16 -0600: ... Before I start on such an adventure, what is the Python/Zope term for what I'm trying to do, specifically to allow the import of an entire module, including classes inside it, and methods inside those classes' objects? With allow_module you

Re: [Zope] Session Timeout Troubles

2007-01-25 Thread Dieter Maurer
Sale, Robin wrote at 2007-1-25 09:59 -0500: ... I've recently been asked to set the system to user sessions time out after 15 minutes of activity. I've changed the setting in our zope.conf file (the session timeout value) and restarted zope. However, if I open a page on the site that requires

RE: [Zope] Session Timeout Troubles

2007-01-25 Thread Sale, Robin
Dieter, Thank you for your reply. Originally was a customer-driven need to have them as long as possible for some time, but now there is a management need to make sessions as short as possible to increase security. My big concern is that my predecessor may have done some serious deep-down

[Zope] Captcha Image For Form Verification

2007-01-25 Thread kjzz.webmaster
Does anyone if there is a product (specifically for zope) for creating a captcha image to verify that an actual human is submitting a form? I am using zope 2.8.1 with python 2.3.5 on a windows server. I am currently looking into this: http://captchas.net/sample/python/

[Zope] sorting

2007-01-25 Thread Kate Legere
I'd like to sort the items in a folder by relevance, relevance being a property I've assigned. I'm using a python script for aj in ao.objectItems(items): aao=aj[1] #the object title=aao.title id=aj[0] aanum=len(aao.objectIds())

Re: [Zope] sorting

2007-01-25 Thread Andreas Jung
--On 25. Januar 2007 15:03:19 -0500 Kate Legere [EMAIL PROTECTED] wrote: values=ao.objectItems(items) values.sort(lambda a,b: cmp(a[0],b[0])) Error Type: AttributeError Error Value: 'tuple' object has no attribute 'sort' This error message is self-explaining. You can

Re: [Zope] Session Timeout Troubles

2007-01-25 Thread Maciej Wisniowski
I've looked at the debugging page in the control panel, but it doesn't tell me anything I recognize as useful. Are you sure that your authentication uses session? Maybe it uses cookies? Try to set variable in the session on one page and display this on the other one. Then wait for 15-20 minutes

Re: [Zope] Captcha Image For Form Verification

2007-01-25 Thread Maciej Wisniowski
Does anyone if there is a product (specifically for zope) for creating a captcha image to verify that an actual human is submitting a form? I am using zope 2.8.1 with python 2.3.5 on a windows server. I am currently looking into this: http://captchas.net/sample/python/ AFAIK there is

RE: [Zope] Session Timeout Troubles

2007-01-25 Thread Sale, Robin
Thank you for your reply. I'm guessing that yes, Zope is using session cookies in this setup. Unfortunately, the people who did the original configuration and setup are no longer with my company, so I can't ask directly. How would I be able to tell if it's set one way or another? I certainly

Re: [Zope] Session Timeout Troubles

2007-01-25 Thread Maciej Wisniowski
I'm guessing that yes, Zope is using session cookies in this setup. Unfortunately, the people who did the original configuration and setup are no longer with my company, so I can't ask directly. How would I be able to tell if it's set one way or another? I certainly see nothing about cookie

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-25 Thread Jaroslav Lukesh
from scratch without google/sf/fm :o) 1. pound with linux and colinux kernel runtime on windows 2. pound with linux under vmware or old pre-M$ virtualPC on windows 3. pound under cygwin on windows 4. squid under windows 5. apache under windows 6. IIS - M$ ISA (?) - Original Message -

[Zope] Migrating to Zope 2.10.1 breaks unrestrictedTraverse

2007-01-25 Thread Ian McCracken
I'm trying to get an object by walking a path. Previously, I used baseobject.unrestrictedTraverse(path). Upon migrating to 2.10.1, though, doing the same thing often produces the following error: File /usr/local/zenoss/Products/ZenModel/Organizer.py, line 148, in getOrganizer return

Re: [Zope] ColdFusion, ASP, etc with Zope/Plone

2007-01-25 Thread David Bear
On Thu, Jan 25, 2007 at 05:31:28AM -0800, Murdock wrote: Thanks for the suggestion, I went to that site and I see that it only works on Unix-Like servers. I don't have any of those available in my environment. you could run vmware and put a linux instance there. Jaroslav Lukesh wrote:

Re: [Zope] Migrating to Zope 2.10.1 breaks unrestrictedTraverse

2007-01-25 Thread Andreas Jung
--On 25. Januar 2007 16:12:01 -0500 Ian McCracken [EMAIL PROTECTED] wrote: I'm trying to get an object by walking a path. Previously, I used baseobject.unrestrictedTraverse(path). Upon migrating to 2.10.1, though, doing the same thing often produces the following error: Migrating from

[Zope] Re: [Zope-Annce] [ANN] Zope 2.10.2 released

2007-01-25 Thread Andreas Jung
--On 25. Januar 2007 18:37:03 +0100 Andreas Jung [EMAIL PROTECTED] wrote: The Zope developer community I is pleased to announce the release of Zope 2.10.2. You can download Zope 2.10.2 from: http://www.zope.org/Products/Zope/2.10.2/ This release uses unicode as internal representation

Re: [Zope-DB] modifications on a query

2007-01-25 Thread Andreas Jung
--On 26. Januar 2007 07:37:25 + Graziella Toutoungis [EMAIL PROTECTED] wrote: Hello, I use zope2.9.4 with postgresql8.1, in my database i have some tables are the result of a query on other tables. exe: table1 is the result of table2 with table3 My user can connect to the database