[Zope-dev] Xron and Zope 2.4.0 again
Loren Stafford
lstafford@morphics.com
Fri, 27 Jul 2001 12:03:26 -0700
I think you have to tailor Steve's patch a little more. Try something like
this (untested):
def __init__(self, id='Schedule', title='Scheduled Event Catalog'):
self.id = id
self.title = title
self.threshold = 1000
self._v_total = 0
self._catalog = ZCatalog.Catalog()
self._catalog.addColumn('id')
self._catalog.addColumn('meta_type')
self._catalog.addColumn('nextEventTime')
self._catalog.addColumn('absolute_url')
self._catalog.addIndex('nextEventTime', UnIndex('nextEventTime'))
self._catalog.addIndex('absolute_url', UnIndex('absolute_url'))
-- Loren
> -----Original Message-----
> From: Walter Miller [mailto:wmiller@mediaone.net]
> Sent: Thursday, July 26, 2001 17:32
> To: Loren Stafford; zope-dev@zope.org
> Cc: Remi Delon; Steve Alexander
> Subject: Re: [Zope-dev] Xron and Zope 2.4.0 again
>
>
> o.k. I tried patching Schedule.py like this (Win2k, Zope2.4.0):
>
[snip]
> and got this error:
>
[snip]
> File C:\PROGRA~1\METRIC~2\lib\python\Products\ZCatalog\Catalog.py, line
> 538, in _indexedSearch
> TypeError: unbound C method must be called with Acquirer 1st argument
>