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.

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

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

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

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

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

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

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 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] 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: *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 habit of liking ;-) On the develo

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

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

[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] 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-w

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

[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

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

2005-10-11 Thread Chris Withers
Tino Wildenhain wrote: This is a bit more difficult, Not anymore it's not! there are examples to send mails with attachments per DTML, yuckety yuk yuk... but if you want to avoid you either open the python email package ...which MailTemplates lets you use in python scripts :-D for p

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 Seems every rock I turn over, I find 3 others worth investigating. Lots of cool stuff going o

Re: [Zope] proxy role for an external method

2005-10-11 Thread Reinoud van Leeuwen
On Tue, Oct 11, 2005 at 07:29:27AM +0100, Chris Withers wrote: > 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='Use

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 wo

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

2005-10-11 Thread Chris Withers
(please keep the list CC'ed in) Nicolas Georgakopoulos wrote: Chris Withers wrote: Nicolas Georgakopoulos wrote: 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 *Er

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

2005-10-11 Thread Chris Withers
Nicolas Georgakopoulos wrote: 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. Indeed, just

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

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

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 n

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

[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: http://www.simplistix.co.uk/software/zope/stepper

[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

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 year

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 protec

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): us

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 li