Re: [Zope] How to export ZWiki contents in ZODB to MYSQL

2007-02-26 Thread Win Myint Aung
Dear Tino, Thank you for your reply. Another big problem is I don't know how to start the python script. I would like to request any body to help me. Any draft script may be a good start for me. Thanks. - Original Message From: Tino Wildenhain <[EMAIL PROTECTED]> To: Win Myint Aung <[

Re: [Zope] How to export ZWiki contents in ZODB to MYSQL

2007-02-26 Thread Tino Wildenhain
Win Myint Aung schrieb: Dear Members, I am a newbie in Zope. please do me a favor. I am looking for some python scripts that can export Zwiki contents from ZODB to MYSQL. Well, the script is easy in principle but you need to know how the result in your MySQL should look like. So its basicall

[Zope] Exporting portal member data to csv

2007-02-26 Thread Win Myint Aung
When i run the external method in plone site, it shows errors. The error shows. Site Error An error was encountered while publishing this resource. Error Type: AttributeError Error Value: portal_memberdata The following is the codings used in external methon. # make heading row row =

[Zope] Re: zope.testbrowser, how to?

2007-02-26 Thread Basil Shubin
Basil Shubin wrote: Hi friends, I want use zope.testbrowser for testing my sites, but before write it as DocTest I want execute each statemnt interactively in python shell. I don't know any way to see where it's works, what value it returns, what error I can get and how this error should look

Re: [Zope] Re: Dynamic class from python script (?)

2007-02-26 Thread Dimitris Koukis
Tres, thank you very much for your quick reply. Indeed it works with the mapping parameter, but the application has a large number of files and i was hoping that i wouldn't have to change them all ;) On the other hand it is a simple change, i can do that with a script if there is no there solution

[Zope] Re: Dynamic class from python script (?)

2007-02-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dimitris Koukis wrote: > Dear Zopistas, > > i have an old zope application that present data from a database in such > a manner > > > > > I had to change the methods that returned data from the database, and it > is no longer possible to return da

[Zope] Dynamic class from python script (?)

2007-02-26 Thread Dimitris Koukis
Dear Zopistas, i have an old zope application that present data from a database in such a manner I had to change the methods that returned data from the database, and it is no longer possible to return data directly from zsql methods. Instead i read them in a script, perform some processing an

Re: [Zope] Zope hangs in FreeBSD with plenty of memory and CPU resources

2007-02-26 Thread Jean Lagarde
My understanding is that get/setrecursionlimit is for the python internal limit and is not an indicator of the THREAD_STACK_SIZE value, but in any case, yes, we have compiled with that option and I don't think that these would be the symptoms I would see for a stack size issue anyway, but thanks f

Re: [Zope] Moodle and Zope SSO.

2007-02-26 Thread Jose Luis de la Rosa TriviƱo
Thanks to both, finally I implemented a very easy solution similar to the one proposed by Dieter, although i hope to convince my boss about the CAS solution. JL. Maciej Wisniowski wrote: I'm trying to implement a script like the one shown below but it seems too tricky and it does not work. Ha

[Zope] Re: zope unresponsive

2007-02-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Williams wrote: > I know that there is a switch between zeo and zope and probably a > firewall too, but how do I prove this is the problem. This is on > production server in a military installation. I have major problems > getting any kind of tr

[Zope] zope unresponsive

2007-02-26 Thread Paul Williams
I know that there is a switch between zeo and zope and probably a firewall too, but how do I prove this is the problem. This is on production server in a military installation. I have major problems getting any kind of trouble shooting support. First we don't get access, and second no kind of de

[Zope] Re: How can I import this module in python script ?????

2007-02-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: This issue is more on-topic for the '[EMAIL PROTECTED]' list. > I am playing around trying to make something happen on a workflow state > change. Beacause I cannot import the module I need in the python script I > am getting

Re: [Zope] How can I import this module in python script ?????

2007-02-26 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 getMemberById is a method on the portal_membership tool. You grab the tool and call the method: mt = getToolByName(context, 'portal_membership') member = mt.getMemberById(id) I highly suggest you get more familiar with Python in general. Import

[Zope] How can I import this module in python script ?????

2007-02-26 Thread ian
Hi, I am playing around trying to make something happen on a workflow state change. Beacause I cannot import the module I need in the python script I am getting an error: global name 'getMemberById' is not defined how can I import this module or better still code this so I am not importing anything

Re: [Zope] Zope hangs in FreeBSD with plenty of memory and CPU resources

2007-02-26 Thread alex
Hmmm...unfortunately, that's not the cause of the problem (I'm responding since I'm on the East coast, Jean is on the West, and he's asleep right now): [EMAIL PROTECTED]: ~$ python Python 2.4.3 (#2, Jul 2 2006, 16:14:54) [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 Type "help", "copyright", "cre