[Zope-PTK] Strange error with search

Nolan Darilek nolan_d@bigfoot.com
Wed, 08 Mar 2000 11:28:30 -0600


I've managed to create a cool event registering/calendaring system,
and am really starting to appreciate Zope's power! :)

I'm running into yet another strange problem, though. I've begun
adding events into our calendar. The events appear on the news pages
as they should. I can also search for a few keywords and receive
results.

I've created an event, however, which causes a traceback when I search
for the word 'spring'. The error is:

|Zope|Zope Error                                            |
|    |                                                      |
|    |Zope has encountered an error while publishing this   |
|    |resource.                                             |
|    |                                                      |
|    |Error Type: TypeError                                 |
|    |Error Value: not all arguments converted              |
|    |------------------------------------------------------|

The traceback is:

Traceback (innermost last):
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/lib/zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
    (Object: DemoPortalBase)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: search)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: search)
  File /usr/lib/zope/lib/python/OFS/DTMLMethod.py, line 145, in __call__
    (Object: search)
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: search)
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 611, in renderwb
    (Object: SiteIndex)
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_Var.py, line 313, in render
    (Object: Date)
    (Info: ('Date', 'misc_/PTK/Document', {'fmt': 'aCommon', '': 'Date'}))
TypeError: (see above)

-->

Can anyone suggest what that might mean? I can search for the word
'spring' and cause the error, but searching for 'oscar' works
nicely. The site is at http://donna.muq.org:9673/brackroberts/ if
anyone wants to test different searches.

Thanks.