The DateTime fix was easy, but on Win2K the Scheduler still refuses to init (with the same message). on linux it starts okay. (sorry. but I don't read zope-dev) On Thu, 26 Jul 2001, Loren Stafford wrote:
Someone else just reported this on zope-dev@zope.org "[Zope-dev] Xron and Zope 2.4.0 again". I'm not using 2.4.0; and I don't have a ready fix. I'll continue any further discussion on zope-dev@zope.org.
-----Original Message----- From: Walter Miller [mailto:wmiller@mediaone.net] Sent: Thursday, July 26, 2001 12:24 To: Loren Stafford Subject: Re: Zope.org feedback
Thanks. I patched it in both places and now I get a new error. By the way, I'm using Win2K with Zope2.4.0. Could it be the way I used WinZip to unzip the *.tgz?
2001-07-26T19:18:43 ERROR(200) Products.Xron.Loggerr Failed to create new Schedule Traceback (most recent call last): File "C:\Program Files\Metrics2-4-0\lib\python\Products\Xron\__init__.py", line 65, in initialize oSchedule=Schedule.EventSchedule(id=ScheduleID, title='Scheduled Event Catalog') File "C:\Program Files\Metrics2-4-0\lib\python\Products\Xron\Schedule.py", line 81, in __init__ self._catalog.addIndex('nextEventTime', 'FieldIndex') File "C:\PROGRA~1\METRIC~2\lib\python\Products\ZCatalog\Catalog.py", line 348, in addIndex raise TypeError,"""Catalog addIndex now requires the index type to TypeError: Catalog addIndex now requires the index type to be resolved prior to adding; create the proper index in the caller.
You have to patch it in a couple places. The intructions are at: http://www.zope.org/Members/lstaffor/Xron/README.txt