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

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 wh

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

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

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 -

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 cook

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 see

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 ther

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

[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())

[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/ _

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 hackin

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] 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" yo

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 : > >ZODB.PO

[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 http://www.zope.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 tha

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 acl_users(grou

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 -- Sim

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 aske

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

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 ?

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. def _p_resolveConflict(self, old, state1, state2): print "called the _p_re

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

2007-01-25 Thread Murdock
Anyone know of any good open source or very low cost Reverse Proxies that will run on Windows Server? Jaroslav Lukesh wrote: > > - Original Message - > From: "Murdock" <[EMAIL PROTECTED]> >> I am implementing a new site using Zope/Plone. This site replaces an old >> one >> built in C

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

2007-01-25 Thread Jonathan
- Original Message - From: "Murdock" <[EMAIL PROTECTED]> To: 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 use the r

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

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/Plo

Re: [Zope] URL referencing

2007-01-25 Thread Jonathan
- 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/ . Curre

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

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

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 RES

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

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

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