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. -- Loren
-----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:42 PROBLEM(100) Init Ambiguous name for method of Products.Xron.XronDTMLMethod.BaseXronDTMLMethod: "manage_editForm" != "manage_editDocument" ------ 2001-07-26T19:18:42 PROBLEM(100) Init Ambiguous name for method of Products.Xron.XronDTMLMethod.BaseXronDTMLMethod: "manage_editForm" != "manage" ------ 2001-07-26T19:18:42 PROBLEM(100) Init Ambiguous name for method of Products.Xron.XronDTMLMethod.BaseXronDTMLMethod: "manage_editForm" != "manage_main" ------ 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. Traceback (innermost last): File C:\Program Files\Metrics2-4-0\lib\python\Products\Xron\__init__.py, line 65, in initialize File C:\Program Files\Metrics2-4-0\lib\python\Products\Xron\Schedule.py, line 81, in __init__ (Object: LockableItem) File C:\PROGRA~1\METRIC~2\lib\python\Products\ZCatalog\Catalog.py, line 348, in addIndex TypeError: Catalog addIndex now requires the index type to be resolved prior to adding; create the proper index in the caller.
------ 2001-07-26T19:18:43 (302) Products.Xron.Loggerr Cannot access catalog. Suspending operation. Traceback (most recent call last): File "C:\Program Files\Metrics2-4-0\lib\python\Products\Xron\Dispatcher.py", line 62, in Timer (atime, aurl)=Schedule.armed_event() # Get next armed event AttributeError: 'None' object has no attribute 'armed_event' Traceback (innermost last): File C:\Program Files\Metrics2-4-0\lib\python\Products\Xron\Dispatcher.py, line 62, in Timer AttributeError: 'None' object has no attribute 'armed_event'
------ 2001-07-26T19:18:43 PROBLEM(100) Products.Xron.Loggerr Dispatcher thread is terminating. ------ 2001-07-26T19:18:43 INFO(0) ZServer HTTP server started at Thu Jul 26 12:18:43 2001 Hostname: mysite.com Port: 80 ------ 2001-07-26T19:18:43 INFO(0) ZServer FTP server started at Thu Jul 26 12:18:43 2001 Hostname: metrics Port: 8021 ------ 2001-07-26T19:18:43 INFO(0) ZServer PCGI Server started at Thu Jul 26 12:18:43 2001 Inet socket port: 8090
----- Original Message ----- From: "Loren Stafford" <lstafford@morphics.com> To: "Walter Miller" <wmiller@mediaone.net> Sent: Thursday, July 26, 2001 9:55 AM Subject: RE: Zope.org feedback
You have to patch it in a couple places. The intructions are at:
http://www.zope.org/Members/lstaffor/Xron/README.txt
-----Original Message----- From: Walter Miller [mailto:wmiller@mediaone.net] Sent: Thursday, July 26, 2001 08:43 To: Loren Stafford Subject: Zope.org feedback
URL: http://www.zope.org/Members/lstaffor Have you been able to update Xron recently? Do you know if it works with Zope 2.4.0?
TIA,
Walter
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
participants (2)
-
Loren Stafford -
Reini Urban