[Zope-dev] Zope Tests: 5 OK

2008-07-25 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Jul 24 11:00:00 2008 UTC to Fri Jul 25 11:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Thu Jul 24 21:05:31 EDT 2008 URL:

Re: [Zope-dev] Re: SVN: zope.component/ Merge wichert-utility-factories branch to trunk

2008-07-25 Thread Chris Withers
Wichert Akkerman wrote: -if (self._utility_registrations.get((provided, name)) +if (self._utility_registrations.get((provided, name)[:2]) Excellent catch, fixed. With a test I hope? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope-dev] Re: SVN: zope.component/ Merge wichert-utility-factories branch to trunk

2008-07-25 Thread Christian Theune
On Fri, 2008-07-25 at 16:58 +0100, Chris Withers wrote: Wichert Akkerman wrote: -if (self._utility_registrations.get((provided, name)) +if (self._utility_registrations.get((provided, name)[:2]) Excellent catch, fixed. With a test I hope? Uh. Lol? To me this looks

Re: [Zope-dev] Re: SVN: zope.component/ Merge wichert-utility-factories branch to trunk

2008-07-25 Thread Chris Withers
Christian Theune wrote: To me this looks like an inefficiency that's gonna be hard to test from the outside. Or did I miss anything? That's not the impression I got, which is why a test would be good... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

[Zope] Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
Hi there! I am trying right now to convince people to use buildout and ZCA for the Open Grid Protocol project but it turns out that it's not working as expected. So maybe somebody on here can help me :-) The setup is Mac OSX 10.5.4 with Python 2.5.1 installed and apparently a zope.interface

[Zope] Timeout on server when python script is running

2008-07-25 Thread sguglia
Hello everybody! I have a python script running from a plone site..it takes a lot of time (1 hour maybe more) but I need to run it just for data recovery if something goes wrong. after about 20 minutes a Timeout on server message pops up.. I tried and found where to change timeouts in

Re: [Zope] Timeout on server when python script is running

2008-07-25 Thread Andrew Milton
+---[ [EMAIL PROTECTED] ]-- | | Hello everybody! | | I have a python script running from a plone site..it takes a lot of time (1 | hour maybe more) but I need to run it just for data recovery if something | goes wrong. after about 20 minutes a Timeout on server message

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Daniel Nouri
Christian Scholz writes: I am trying right now to convince people to use buildout and ZCA for the Open Grid Protocol project but it turns out that it's not working as expected. So maybe somebody on here can help me :-) The setup is Mac OSX 10.5.4 with Python 2.5.1 installed and apparently a

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
Daniel Nouri wrote: The solution to this one is quite simple: Use virtualenv with --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up his development sandbox? What files can/need

Re: [Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Baiju M
Christian Scholz wrote: Daniel Nouri wrote: The solution to this one is quite simple: Use virtualenv with --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up his development

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Daniel Nouri
Christian Scholz: Daniel Nouri wrote: The solution to this one is quite simple: Use virtualenv with --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up his development sandbox?

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
Baiju M wrote: Christian Scholz wrote: Daniel Nouri wrote: The solution to this one is quite simple: Use virtualenv with --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up his

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
Daniel Nouri wrote: Christian Scholz: Daniel Nouri wrote: The solution to this one is quite simple: Use virtualenv with --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up his

Re: [Zope] manage_cutObjects/manage_pasteObjects problem ...

2008-07-25 Thread Giampiero Benvenuti
On Jul 23, 2008, at 7:06 AM, Ajay Deshpande wrote: Hi all: Ive been trying to cut objects from one context and paste them into another using a script python. But I get a CopyError when I try doing this. This is my code snippet and the traceback ... Snippet... ... obj =

Re: [Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Chris Withers
Christian Scholz wrote: Ok, except that this does not run under windows and it still needs to have easy_install installed. But if there is no existing script, maybe I write one then. I have my custom bootstrap for using the development version of setuptools now already anway. Ignas may have

Re: [Zope] Timeout on server when python script is running

2008-07-25 Thread Chris Withers
[EMAIL PROTECTED] wrote: I have a python script running from a plone site..it takes a lot of time (1 hour maybe more) Sounds like this shouldn't be done using a web request. Maybe try stepper? http://www.simplistix.co.uk/software/zope/stepper cheers, Chris -- Simplistix - Content

Re: [Zope] Re: Unrestricted threads

2008-07-25 Thread Chris Withers
Tres Seaver wrote: Note that you can write scripts designed to use the ZODB, but be run from a crontab. E.g.: $ cat Products/foo/scripts/send_report.py mailnost = app.site.MailHost catalog = app.site.portal_catalog() $ crontab -l 55 0 * * * /home/tseaver/instance/bin/zopectl