Re: Zope 2.7 and scheduling
Josef Meile wrote:
--- In zope@yahoogroups.com, Dieter Maurer <dieter@h...> wrote:
Gitte Wange wrote at 2004-8-8 17:25 +0200:
... All the stuff should be found at http://dev.legco.biz but that website is down :-(( Is the project discontinued or moved to some other website? I really need some schedule stuff in Zope.
We are using Events from Zope's CVS and a scheduler from Chris McDonnough (or similary spelled). I'm also interested in replacing Xron, so, I looked for the scheduler you mentioned and found it on the cvs of zope.org; however, there isn't any README.txt nor CHANGES.txt on it. Do you or anybody else knows if there is a page of the project with this info? I didn't found it.
I'm interested in, for example, on which products it depends -> I saw Zope complains about the Product "Event", so, I installed it, but there isn't a README with this info. I also saw that when you try to add an instance of the Scheduler, you need something called "Event service", which defaults to "portal_events". For the name, I guess it needs CMF too, right? Can't be it used without it?
I'm also interested on knowing what bugs have been corrected.
Ok, I found that "Event Service" is available as soon as you install the "Event" Product, so, I guess you don't need CMF after all. However, after adding an instance called "portal_events" on the Root, then adding a Scheduler, and finally scheduling a task two minutes on the future with an interval of 3600 seconds (1 minute) and giving it a max age of 36000 seconds (10 minutes), it isn't triggered, the "Next Run Time" isn't updated, and there is no traceback on the zope log. Do I have to do/install something else? Thanks, Josef
Hi Josef, The scheduler needs to be "poked" at intervals via a URL. You can use cron to do this or you can use the attached "clock.py" to do so (the "cron" attached also gives you an idea of what URL needs to be poked). HTH, - C On Mon, 2004-08-09 at 05:09, Josef Meile wrote:
Josef Meile wrote:
--- In zope@yahoogroups.com, Dieter Maurer <dieter@h...> wrote:
Gitte Wange wrote at 2004-8-8 17:25 +0200:
... All the stuff should be found at http://dev.legco.biz but that website is down :-(( Is the project discontinued or moved to some other website? I really need some schedule stuff in Zope.
We are using Events from Zope's CVS and a scheduler from Chris McDonnough (or similary spelled). I'm also interested in replacing Xron, so, I looked for the scheduler you mentioned and found it on the cvs of zope.org; however, there isn't any README.txt nor CHANGES.txt on it. Do you or anybody else knows if there is a page of the project with this info? I didn't found it.
I'm interested in, for example, on which products it depends -> I saw Zope complains about the Product "Event", so, I installed it, but there isn't a README with this info. I also saw that when you try to add an instance of the Scheduler, you need something called "Event service", which defaults to "portal_events". For the name, I guess it needs CMF too, right? Can't be it used without it?
I'm also interested on knowing what bugs have been corrected.
Ok, I found that "Event Service" is available as soon as you install the "Event" Product, so, I guess you don't need CMF after all. However, after adding an instance called "portal_events" on the Root, then adding a Scheduler, and finally scheduling a task two minutes on the future with an interval of 3600 seconds (1 minute) and giving it a max age of 36000 seconds (10 minutes), it isn't triggered, the "Next Run Time" isn't updated, and there is no traceback on the zope log. Do I have to do/install something else?
Thanks, Josef _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Josef Meile wrote at 2004-8-9 11:09 +0200:
... Ok, I found that "Event Service" is available as soon as you install the "Event" Product, so, I guess you don't need CMF after all. However, after adding an instance called "portal_events" on the Root, then adding a Scheduler, and finally scheduling a task two minutes on the future with an interval of 3600 seconds (1 minute) and giving it a max age of 36000 seconds (10 minutes), it isn't triggered, the "Next Run Time" isn't updated, and there is no traceback on the zope log. Do I have to do/install something else?
You must activate the external "clock tick component". See "Scheduler/clock.py". -- Dieter
Hi Dieter, Sorry to bother you! Do you know about any security changes in zope 2.7 . I tried to install some custom made portal toolkit whitch was made for Zope 2.5.1. I get the login just browsing the page and if i fail to login i get: Error Value: You are not allowed to access 'PrincipiaFind' in this context I didn't find any discusion on this subject. Thanks Ivan
Josef Meile wrote at 2004-8-9 11:09 +0200:
... Ok, I found that "Event Service" is available as soon as you install the "Event" Product, so, I guess you don't need CMF after all. However, after adding an instance called "portal_events" on the Root, then adding a Scheduler, and finally scheduling a task two minutes on the future with an interval of 3600 seconds (1 minute) and giving it a max age of 36000 seconds (10 minutes), it isn't triggered, the "Next Run Time" isn't updated, and there is no traceback on the zope log. Do I have to do/install something else?
You must activate the external "clock tick component". See "Scheduler/clock.py".
-- Dieter _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
zope@elsis.si wrote:
Hi Dieter,
Don't email people directly, especially Dieter, it pisses him off ;-)
Error Value: You are not allowed to access 'PrincipiaFind' in this context
I didn't find any discusion on this subject.
Try Shane Hathaway's VerboseSecurity product, it'll give you more information on what's causing the problem. Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
zope@elsis.si wrote at 2004-8-10 13:18 +0200:
Do you know about any security changes in zope 2.7 .
Yes, there have been considerably security tighening from Zope 2.7b3 to Zope 2.7b4. Search the mailing list archive to learn about the details. -- Dieter
participants (5)
-
Chris McDonough -
Chris Withers -
Dieter Maurer -
Josef Meile -
zope@elsis.si