[Zope-dev] Xron and Zope 2.4.0 again

Remi Delon rdelon@hotmail.com
Thu, 26 Jul 2001 12:26:36


Hello,

I'm trying to use Zope 2.4.0 and Xron 0.0.9 on win98 (I've applied the patch 
to change "from Globals import DateTime" into "from DateTime import 
DateTime")

I'm getting some errors:
- First, it's complaining about ambiguous names for methods, but it's just a 
warning
- Then it's complaining that "catalog addIndex now requires bla bla bla"

Here is the traceback:

------
2001-07-26T12:23:59 PROBLEM(100) Init Ambiguous name for method of 
Products.Xron
.XronDTMLMethod.BaseXronDTMLMethod: "manage_editForm" != 
"manage_editDocument"
------
2001-07-26T12:23:59 PROBLEM(100) Init Ambiguous name for method of 
Products.Xron
.XronDTMLMethod.BaseXronDTMLMethod: "manage_editForm" != "manage"
------
2001-07-26T12:23:59 PROBLEM(100) Init Ambiguous name for method of 
Products.Xron
.XronDTMLMethod.BaseXronDTMLMethod: "manage_editForm" != "manage_main"
------
2001-07-26T12:24:03 ERROR(200) Products.Xron.Loggerr Failed to create new 
Schedu
le
Traceback (most recent call last):
  File "C:\Zope\lib\python\Products\Xron\__init__.py", line 65, in 
initialize
    oSchedule=Schedule.EventSchedule(id=ScheduleID, title='Scheduled Event 
Catal
og')
  File "C:\Zope\lib\python\Products\Xron\Schedule.py", line 81, in __init__
    self._catalog.addIndex('nextEventTime', 'FieldIndex')
  File "C:\Zope\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:\Zope\lib\python\Products\Xron\__init__.py, line 65, in initialize
  File C:\Zope\lib\python\Products\Xron\Schedule.py, line 81, in __init__
    (Object: LockableItem)
  File C:\Zope\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.


Traceback (most recent call last):
  File "C:\Zope\lib\python\Products\Xron\__init__.py", line 76, in 
initialize
    assert Schedule is not None
AssertionError
------


I've seen messages from users saying that Xron with the patch worked fine 
for them with Zope 2.4.0.
So why doesn't it work for me ?

Thanks.

Rémi.



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp