[Zope-Coders] Zope tests: 4 OK, 4 Failed

2005-09-26 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Sun Sep 25 11:01:02 2005 UTC to Mon Sep 26 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Test failures - Subject: FAILED (failures=1) : Zope-2_8-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Sun

[Zope-Coders] Re: Zope tests: 4 OK, 4 Failed

2005-09-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zope tests summarizer wrote: Summary of messages to the zope-tests list. Period Sun Sep 25 11:01:02 2005 UTC to Mon Sep 26 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Test failures - Subject: FAILED

[Zope-Coders] Re: Zope tests: 4 OK, 4 Failed

2005-09-26 Thread Martijn Pieters
Tres Seaver wrote: These errors are my fault, I think: I changed the underlying 'publish_method' to behave correctly, i.e. not capturing exceptions when 'handle_errors' was passed as False. I'll look at this when I'm back in the states, unless somebody finds the test which expects an error

[Zope-Coders] Re: Zope tests: 4 OK, 4 Failed

2005-09-26 Thread Martijn Pieters
Martijn Pieters wrote: The error occurs in Products/Five/tests/forms.txt, which means it needs to be fixed in the Five repository, not in the Zope repository (at least not permanently). Indeed nearly all the functional tests there set handle_errors=False, which can be dropped to handle this

Re: [Zope-dev] Problems adding many objects

2005-09-26 Thread Chris McDonough
Hi Morten, You'd probably need to show us the implementation of whatever manage_add_issue is. - C On Sep 25, 2005, at 10:09 AM, Morten W. Petersen wrote: Hi, I've created a script that imports XML into the ZODB, using regular TTW methods - and all is fine, except for when I import

Re: [Zope-dev] Problems adding many objects

2005-09-26 Thread Morten W. Petersen
Chris, the implementation looks like this def manage_add_issue(self, id=None, title='', contents='', state='', type='', referrer='', format=None, REQUEST=None): Add an Issue. if id is None: id = self.get_unique_id() issue_ = issue(id, title,

Re: [Zope-dev] Problems adding many objects

2005-09-26 Thread Chris McDonough
On Sep 26, 2005, at 7:21 AM, Morten W. Petersen wrote: Chris, the implementation looks like this def manage_add_issue(self, id=None, title='', contents='', state='', type='', referrer='', format=None, REQUEST=None): Add an Issue. if id is None:

[Fwd: Re: [Zope-dev] Problems adding many objects]

2005-09-26 Thread Morten W. Petersen
Oops, one for the list as well. Original Message Subject: Re: [Zope-dev] Problems adding many objects Date: Mon, 26 Sep 2005 13:34:50 +0200 From: Morten W. Petersen [EMAIL PROTECTED] To: Chris McDonough [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL

[Zope-dev] Re: SVN: Zope/branches/Zope-2_8-branch/ - Collector #1879: applied patch by Dieter Maurer to fix a bug in

2005-09-26 Thread Florent Guillaume
This is the kind of thing that would *really* benefit from having unit tests... Florent Andreas Jung [EMAIL PROTECTED] wrote: Log message for revision 38586: - Collector #1879: applied patch by Dieter Maurer to fix a bug in ac_aquire() ignoring the default argument

Re: [Zope-dev] Re: SVN: Zope/branches/Zope-2_8-branch/ - Collector #1879: applied patch by Dieter Maurer to fix a bug in

2005-09-26 Thread Andreas Jung
You could convince Dieter to write unittests for his patches :-) On the other side his patches are in 99% of the cases trustworthy. Otherwise this bug would remain open. -aj --On 26. September 2005 18:31:27 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: This is the kind of thing that

[Zope-dev] Z SQL Caching

2005-09-26 Thread Dale Hirt
Title: Z SQL Caching Hi all, I have a Z SQL method that is currently returning around 25000 rows. Is there a way to see if it is pulling that data from the cache or is doing a refresh? Alternatively, and maybe this will answer the first question, the Z SQL method is run essentially twice,

[Zope-dev] Re: Z SQL Caching

2005-09-26 Thread Martijn Pieters
Dale Hirt wrote: I have a Z SQL method that is currently returning around 25000 rows. Is there a way to see if it is pulling that data from the cache or is doing a refresh? Alternatively, and maybe this will answer the first question, the Z SQL method is run essentially twice, each time

RE: [Zope-dev] Re: Z SQL Caching

2005-09-26 Thread Dale Hirt
Thank you, Martijn. That makes it very clear. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Martijn Pieters Sent: Monday, September 26, 2005 11:49 AM To: zope-dev@zope.org Subject: [Zope-dev] Re: Z SQL Caching Dale Hirt wrote: I have a Z SQL method

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

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

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

[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

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

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

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 knows

[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

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

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

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 data

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 product).

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

[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

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 ___