Re: [Zope] Page Template security problem

2005-09-26 Thread Andreas Jung
--On 27. September 2005 16:54:05 +1200 Chris Beaven <[EMAIL PROTECTED]> wrote: The anonymous user is prompted for authentication. Install VerboseSecurity and look at the output of VS. -aj pgpZnDneG6HFd.pgp Description: PGP signature ___ Z

[Zope] Page Template security problem

2005-09-26 Thread Chris Beaven
I'm having a problem figuring out how to keep things secure while allowing a proxied script to call a page template correctly. /details/sendDetails Python script that is publicly available, receives an email address and sends that person thier details stored in the database. The script has pro

Re: [Zope] Using the set object within page templates

2005-09-26 Thread Andreas Jung
--On 26. September 2005 13:52:16 -0500 Floyd May <[EMAIL PROTECTED]> wrote: Is there no way to allow sets to be used within templates/scripts? As I said: No, by default. Look at lib/python/Products/PythonScripts/README.txt. -aj pgpj6IBRvuIhK.pgp Description: PGP signature __

Re: [Zope] Using the set object within page templates

2005-09-26 Thread Floyd May
Is there no way to allow sets to be used within templates/scripts? fm >>> Andreas Jung <[EMAIL PROTECTED]> 9/26/2005 1:41:18 PM >>> Python sets are not available from with ZPT since ZPT and PythonScripts run within a sandbox. Write an external method or move your code to trusted code (Zope produc

Re: [Zope] How to store in a RAM cache a list of objects?

2005-09-26 Thread Dieter Maurer
Ausum Studio wrote at 2005-9-26 03:19 -0500: >I'd like to RAM cache the result of a long-runing ZopeFind method, formatted >to a plain list of objects. But the RAM cache doesn't store the list and >hence every time the supossedly cached method is called, the ZopeFind >process id triggered. Other d

Re: [Zope] LAN access and session timeout?

2005-09-26 Thread Dieter Maurer
Benmania Guin wrote at 2005-9-26 15:34 +0200: > I installed ZOPE on my PC with a WIN XP operating system. I connected this > computer to another one with the same operating system. Everything works fine > except the fact that after a certain time period, I am not able to have > access to the ZOP

Re: [Zope] Parse a XML file in Zope, zopeXMLmethods Product not working in Zope 2.8.1

2005-09-26 Thread Dieter Maurer
Martin Koekenberg wrote at 2005-9-26 15:57 +0200: > ... >Does annyone knows a Product of method to parse xml in Zope without the >zopeXMLmethods product ? You can use any of the methods for XML parsing supported by Python, among others * MiniDOM * "[c]ElementTree" * SAX * "pyexpat

Re: [Zope] Using the set object within page templates

2005-09-26 Thread Andreas Jung
Python sets are not available from with ZPT since ZPT and PythonScripts run within a sandbox. Write an external method or move your code to trusted code (Zope product). -aj --On 26. September 2005 13:38:55 -0500 Floyd May <[EMAIL PROTECTED]> wrote: How can I use a set object within a page te

[Zope] Using the set object within page templates

2005-09-26 Thread Floyd May
How can I use a set object within a page template? When I attempt to create a set (e.g. tal:define="myset python:set(some_list)"), zope complains that the name 'set' is not defined. Thanks! fm ___ Zope maillist - Zope@zope.org http://mail.zope.org/ma

Re: [Zope] Parse a XML file in Zope, zopeXMLmethods Product not working in Zope 2.8.1

2005-09-26 Thread Sascha Ottolski
Am Montag, 26. September 2005 15:57 schrieb Martin Koekenberg: > Hello, > > I've a xml file on the file system (the source is on an other webserver and > the download is scheduled). How ca I parse this file with a xslt in Zope. > ZopeXMLmethods isn't working annymore in Zope 2.8.1. > > Does annyone

Re: [Zope] Parse a XML file in Zope, zopeXMLmethods Product not working in Zope 2.8.1

2005-09-26 Thread Garito
Martin Koekenberg escribió: Hello, I've a xml file on the file system (the source is on an other webserver and the download is scheduled). How ca I parse this file with a xslt in Zope. ZopeXMLmethods isn't working annymore in Zope 2.8.1. Does annyone knows a Product of method to parse xml

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] I still can't load Zope at start up on a Mac OS X Server

2005-09-26 Thread Garito
Chris Withers escribió: Hi, Garito wrote: Hi all Now I'm trying launchd method I have: lanunchd[309]: ZopeSistes: respawning too quickly! throtting or exits with exit code: 1 errors at system.log (it depends how I launch zope) Yep, your Zope is dying. Try just using runzope with debug-mo

[Zope] Parse a XML file in Zope, zopeXMLmethods Product not working in Zope 2.8.1

2005-09-26 Thread Martin Koekenberg
Hello,   I've a xml file on the file system (the source is on an other webserver and the download is scheduled). How ca I parse this file with a xslt in Zope.  ZopeXMLmethods isn't working annymore in Zope 2.8.1.   Does annyone knows a Product of method to parse xml in Zope without the zop

[Zope] LAN access and session timeout?

2005-09-26 Thread Benmania Guin
Hi guys, I installed ZOPE on my PC with a WIN XP operating system. I connected this computer to another one with the same operating system. Everything works fine except the fact that after a certain time period, I am not able to have access to the ZOPE server through the connected (2nd) com

Re: [Zope] How to create an ansynchronous method

2005-09-26 Thread Chris Withers
David Pratt wrote: really interesting.I think it would be a really good thing to see fire and forget with a process you create as a series of steps that can also be queued in one or more queues. Well, I think ZAsync would be great for building and managing the queues, with Stepper steps being

Re: [Zope] I still can't load Zope at start up on a Mac OS X Server

2005-09-26 Thread Chris Withers
Hi, Garito wrote: Hi all Now I'm trying launchd method I have: lanunchd[309]: ZopeSistes: respawning too quickly! throtting or exits with exit code: 1 errors at system.log (it depends how I launch zope) Yep, your Zope is dying. Try just using runzope with debug-mode on in zope.conf and mayb

[Zope] How to store in a RAM cache a list of objects?

2005-09-26 Thread Ausum Studio
I'd like to RAM cache the result of a long-runing ZopeFind method, formatted to a plain list of objects. But the RAM cache doesn't store the list and hence every time the supossedly cached method is called, the ZopeFind process id triggered. Other data (like the lenght of the resulting list) is st