[Zope-Annce] Zope Debugger 0.8.1 Released!

2005-10-11 Thread Chris Withers
This release adds support for both Zope 2.7 and Zope 2.8. Zope Debugger is an enhanced version of pdb for use with Zope. It can be used simply by inserting the following lines in any python code you'd like to debug, including Script (Python)'s and FSPythonScripts: from Products.zdb import

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PageTemplates/ZRPythonExpr.py Forward port fix for Collector #1914.

2005-10-11 Thread Tres Seaver
Log message for revision 39045: Forward port fix for Collector #1914. Changed: U Zope/trunk/lib/python/Products/PageTemplates/ZRPythonExpr.py -=- Modified: Zope/trunk/lib/python/Products/PageTemplates/ZRPythonExpr.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PageTemplates/tests/testZRPythonExpr.py Forward port fix for Collector #1914 (omitted test).

2005-10-11 Thread Tres Seaver
Log message for revision 39046: Forward port fix for Collector #1914 (omitted test). Changed: A Zope/trunk/lib/python/Products/PageTemplates/tests/testZRPythonExpr.py -=- Added: Zope/trunk/lib/python/Products/PageTemplates/tests/testZRPythonExpr.py

[Zope-Coders] Zope tests: 8 OK

2005-10-11 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Mon Oct 10 11:01:02 2005 UTC to Tue Oct 11 11:01:02 2005 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: Mon Oct 10 22:22:51 EDT

Re: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Chris Withers
Hi Jim, Jim Fulton wrote: I think you need to be very careful with this. What's the concern? I'm, at most, planning on making the getLogger function and the top level logging constants (eg: logging.INFO, etc) available... IMO, this is something that should not be turned on by default.

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/lib/python/Shared/DC/ZRDB/ Collector #556: sqlvar now returns 'null' rather than 'None'.

2005-10-11 Thread Chris Withers
Andreas Jung wrote: IMO there is no need to ship the Zope core with *any* DB package except the ZODB. I dunno, it's very handy to be able to rely on something RDB-like being installed when you want to tests things like ZSQL methods... cheers, Chris -- Simplistix - Content Management,

RE: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Tim McLaughlin
We are currently finishing up a debug_log much like the error log that Python scripts can write too. We would happily make that source available if you think it will fit the bill. Cheers, Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Withers

[Zope-dev] Re: RestrictedPython, TALES Expressions and CMF

2005-10-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sidnei da Silva wrote: (sorry for the cross-post) I'm currently facing an issue that seems to be a result of a bad interaction between CMF, TALES and Restricted Python. The issue currently happens when: 1. A TALES 'Path Expression' in

[Zope-dev] Re: [Zope-CMF] Re: RestrictedPython, TALES Expressions and CMF

2005-10-11 Thread Sidnei da Silva
On Tue, Oct 11, 2005 at 08:58:08AM -0400, Tres Seaver wrote: | 'call_with_ns' should be invoked only for objects with either a | '__render_with_namespace__' attribute (PythonScripts fit here) or those | with 'isDocTemp' true. Its only real purpose is to set up the namespace | before calling a

[Zope-dev] fresh install zope3.1.0 (binary installer) on windows

2005-10-11 Thread Michael Haubenwallner
Could we create some docs on 'Newbie: How-to install the recent Zope3.1.0 on windows using the binary installer' provided at zope.org ? At the moment http://dev.zope.org/Zope3/Zope310 is the only available doc. It says 'Installation instructions for both Windows and Un*x/Linux are now

Re: [Zope-dev] Allowing python logging from restricted code

2005-10-11 Thread Chris Withers
Hi Tim, Tim McLaughlin wrote: We are currently finishing up a debug_log much like the error log that Python scripts can write too. We would happily make that source available if you think it will fit the bill. I';d sure be interested in taking a look, but python's logging package is pretty

Re: [Zope] reading zope.config file for ClientStorage

2005-10-11 Thread Chris Withers
Mika, David P (Research) wrote: from Zope.Startup import options, handlers opts = options.ZopeOptions() opts.configfile='c:\Zope-Instance-Test\etc\zope-with-zeo.conf' opts.load_schema() opts.load_configfile() What does your zope-with-zeo.conf file look

Re: [Zope] proxy role for an external method

2005-10-11 Thread Chris Withers
Reinoud van Leeuwen wrote: On Mon, Oct 10, 2005 at 07:27:11PM +0200, Andreas Jung wrote: Are you using CMF/Plone? yes. the main part of the function is: for brain in self.portal_catalog(portal_type='User', SearchableText=SearchableText):

Re: [Zope] Zope security and packing the database

2005-10-11 Thread Chris Withers
Cameron Beattie wrote: I have created a script based on zope_pack from the Zope book which allows a username and password to be specified when it is called. I wish to create a user specifically for this purpose that only has the ability to pack the ZODB. What permission is ZODB packing

Re: [Zope] Re: Presentations Available

2005-10-11 Thread Chris Withers
Hi Nick, Nick Davis wrote: BTW Both Chris and I come from the UK where complaining about things is a national sport so please no-one take offence. ;-) Nah, the Plone stuff is beyond mere national past time. The excruciating agony it's caused me on a fairly regular basis for a number of

[Zope] Re: Re: ZAjax anyone?

2005-10-11 Thread Balazs Ree
On Mon, 10 Oct 2005 23:28:03 +0800 Bakhtiar A Hamid wrote: we have zope (dtml/script/zsql-method) that do specific calls that spits out results via xmlrpc. on the browser side, we have all these ajax libs - openrico, dojo, mochikits, azax, DataRequestor, jsolait, tim morgan's mini, etc

[Zope] Stepper 1.3.0 Released!

2005-10-11 Thread Chris Withers
Stepper is a framework for scripting and running asynchronous tasks on Zope servers. This is a new release that adds support for Zope 2.8. It also fixes numerous small bugs and adds several minor new features. For more information, please see:

Re: [Zope] Zope Debugger lets WingDbg fail to connect toclient

2005-10-11 Thread Chris Withers
Hi Peter, Frey, Peter wrote: sorry, here it is. It is the the WingDbg Product, but you probably will be unable to install/use it as it depends on the WingIDE (at least part of it) to be installed on the server, too. And as WingIDE is not open source, I am not allowed to hand it on. Yeah,

Re: [Zope] Re: Re: ZAjax anyone?

2005-10-11 Thread Greg Fischer
Ah even better! Thanks guys. I was going to reply just to mention I have a not as cool way of using Zope with Ajax at my site now too. www.zajax.net Seems every rock I turn over, I find 3 others worth investigating. Lots of cool stuff going on out there. I put up my own demo, but it's not

[Zope] Zope Debugger 0.8.1 Released!

2005-10-11 Thread Chris Withers
This release adds support for both Zope 2.7 and Zope 2.8. Zope Debugger is an enhanced version of pdb for use with Zope. It can be used simply by inserting the following lines in any python code you'd like to debug, including Script (Python)'s and FSPythonScripts: from Products.zdb import

[Zope] How to create a file and send it by e-mail ?

2005-10-11 Thread Nicolas Georgakopoulos
Hello all, I'm developing using ZPT and I need to create a file (CSV format) but I'm having some problems: * 1. *I only know how to create files with python but I get an *Error Type: NameError* *Error Value: global name 'file' is not defined. * I think ZOPE doe's not allow python to

Re: [Zope] How to create a file and send it by e-mail ?

2005-10-11 Thread Tino Wildenhain
Nicolas Georgakopoulos schrieb: Hello all, I'm developing using ZPT and I need to create a file (CSV format) but I'm having some problems: * 1. *I only know how to create files with python but I get an *Error Type: NameError* *Error Value: global name 'file' is not defined. While I

Re: [Zope] Re: Re: ZAjax anyone?

2005-10-11 Thread Jim Washington
Greg Fischer wrote: Ah even better! Thanks guys. I was going to reply just to mention I have a not as cool way of using Zope with Ajax at my site now too. www.zajax.net http://www.zajax.net/ Seems every rock I turn over, I find 3 others worth investigating. Lots of cool stuff going on

[Zope] Re: proxy role for an external method

2005-10-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: On 10 Oct 2005, at 23:14, Peter Bengtsson wrote: I understood that Plone does some extra magic, so I have to setup a securoty context... I'll post it here if I have a working solution Shouldn't really be the problem.

[Zope] How to show the DTML Method's results within Plone?

2005-10-11 Thread Thomas Apostolou
Hello again... i have a DTML Method like you can see bellow that produces a table after quring some table (using python GetHeader and GetData custom modules) But the result is a table with the query results in another page. I would like to show the table with the query results within Plone's

RE: [Zope] reading zope.config file for ClientStorage

2005-10-11 Thread Mika, David P (Research)
OK, the opts object really did have everything loaded. On careful inspection the opts.configroot has an attribute databases with a list of Zope.Startup.datatypes.ZopeDatabase instances. I can do what I originally set out to do which was to open a ZEO.ClientStorage configured from the

[Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Nicolas Georgakopoulos
I installed the MailTemplates product to Zope and try to run the example from the readme file: -- Simple Example This example sends a simple templated mail to a specific address. Add the following to a Mail Template called my_mt:

Re: [Zope] How to show the DTML Method's results within Plone?

2005-10-11 Thread Peter Bengtsson
Try https://lists.sourceforge.net/lists/listinfo/plone-users 2005/10/11, Thomas Apostolou [EMAIL PROTECTED]: Hello again... i have a DTML Method like you can see bellow that produces a table after quring some table (using python GetHeader and GetData custom modules) But the result is a

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
Nicolas Georgakopoulos wrote: I installed the MailTemplates product to Zope and try to run the example from the readme file: -- Simple Example This example sends a simple templated mail to a specific address. Add the following to a

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
(for the 2nd time, please keep this on the list...) (just for the light on thinking, that means hit reply all or make sure zope@zope.org is in the cc list) Nicolas Georgakopoulos wrote: Your documentation have anothe problem , you forgot to set a subject in your example :( Oh dear, yes, I

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
(sheesh, what is it with people, is 'reply all' that hard to find? ;-) Tino Wildenhain wrote: tal:x replace=options/message/ *yuck* tal to render plain text. Now thats ugly ;) Suggest something better... I find it convenient, especially for generating html mail, which customer have a

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Nicolas Georgakopoulos
Chris Withers wrote: (for the 2nd time, please keep this on the list...) (just for the light on thinking, that means hit reply all or make sure zope@zope.org is in the cc list) Sorry for that , it was on purpose.. I'm new to Zope and thought that it wasn't right to bother the rest of the

Re: [Zope] How to create a file and send it by e-mail ?

2005-10-11 Thread Chris Withers
(yet again, please CC zope@zope.org in replies..) Nicolas Georgakopoulos wrote: I think I need it... I don't ;-) I have made a web page (ZPT) that a user answer's to a questionnaire , most of the answers are provided by check boxes and radio buttons. When the user submit the answers a mail

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
Nicolas Georgakopoulos wrote: Sorry for that , it was on purpose.. I'm new to Zope and thought that it wasn't right to bother the rest of the list with my beginner problem... The opposite is true.. by keeping this on the list, not only can other people help out, but other people can learn,

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Nicolas Georgakopoulos
Chris Withers wrote: Nicolas Georgakopoulos wrote: Sorry for that , it was on purpose.. I'm new to Zope and thought that it wasn't right to bother the rest of the list with my beginner problem... The opposite is true.. by keeping this on the list, not only can other people help out,

[Zope] Error Type: ExpatError

2005-10-11 Thread Garito
Hi all I try to read an xml file using from xml.dom.minidom import parseString It works fine but when I push the reload button raise these error Error Type: ExpatError Error Value: no element found: line 1, column 0 These error is intermittence These is the trace back any idea? Traceback

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
Nicolas Georgakopoulos wrote: Whatever you have selected is resolving to a string instead of a MailHost object :-S I have selected a Zope mailhost object Please explain exactly what you did, including how you create the MailHost, the Mail Template and the Python Script, in detail... I

Re: [Zope] Re: Re: ZAjax anyone?

2005-10-11 Thread Greg Fischer
Jim, I am more than happy to take contributions from others. Using other libs or maybe even just some Zope techniques in general is great. Right now, I just loaded that stuff up over the last few days, so it's quite limited. But, if you have anything you would like to share, please zip it up and

Re: [Zope] ODBC database adapter for zope2.8.1 on windows

2005-10-11 Thread Johan Carlsson
Andreas Jung wrote: google for mxodbc --On 10. Oktober 2005 16:37:45 +0530 Sreekanth S Rameshaiah [EMAIL PROTECTED] wrote: Dear Friends, Is there any good ODBC database adapter for zope2.8.1 on windows? Thanks and Regards, - sree Is there any free ODBC DA? (Not necessary rock-solid-good,

Re: [Zope] ODBC database adapter for zope2.8.1 on windows

2005-10-11 Thread Andreas Jung
--On 11. Oktober 2005 19:08:53 +0200 Johan Carlsson [EMAIL PROTECTED] wrote: Is there any free ODBC DA? (Not necessary rock-solid-good, rather free.) You can continue searching and trying for free alternative or just spent some bucks for mxODBC..it's worth the money, it just works. Maybe

Re: [Zope] Zope security and packing the database

2005-10-11 Thread Cameron Beattie
I have created a script based on zope_pack from the Zope book which allows a username and password to be specified when it is called. I wish to create a user specifically for this purpose that only has the ability to pack the ZODB. What permission is ZODB packing protected by? I don't know.