[Zope] can't add items of my own class

Steffen Hausmann Steffen@Hausmann-family.de
Sun, 04 Nov 2001 19:46:52 +0100


Hi,


i am running zope 2.4.2 and anything works fine. but when i tryed to
update it to zope 2.5.0b2 i had some strange problems...

i couldn't add the items of my own class anymore.
i just got the following error:

Error Type: TypeError
Error Value: function takes at most 2 arguments (3 given)

Traceback (innermost last):
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 223, in publish_module
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 187, in publish
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/Zope/__init__.py, 
line 226, in zpublisher_exception_hook
     (Object: VeranstaltungsItem_factory)
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 171, in publish
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/ZPublisher/mapply.py, 
line 160, in mapply
     (Object: VeranstaltungsItem_add)
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/ZPublisher/Publish.py, 
line 112, in call_object
     (Object: VeranstaltungsItem_add)
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/OFS/DTMLMethod.py, 
line 195, in __call__
     (Object: VeranstaltungsItem_add)
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/DocumentTemplate/DT_String.py, 
line 545, in __call__
     (Object: VeranstaltungsItem_add)
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/DocumentTemplate/DT_With.py, 
line 148, in render
     (Object: VeranstaltungsItem.createInObjectManager(REQUEST['id'], 
REQUEST))
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/Products/ZCatalog/CatalogAwareness.py, 
line 184, in index_object
     (Object: wd)
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/Products/ZCatalog/ZCatalog.py, 
line 552, in catalog_object
     (Object: inputFilesCatalog)
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/Products/ZCatalog/Catalog.py, 
line 439, in catalogObject
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/Products/PluginIndexes/TextIndex/TextIndex.py, 
line 380, in index_object
     (Object: title)
   File 
/usr/local/ZopeZoo/Zope-2.5.0a2-linux2-x86/lib/python/Products/PluginIndexes/TextIndex/GlobbingLexicon.py, 
line 312, in Splitter
TypeError: (see above)

has someone an idea how to fix this?
i just works with zope 2.4.2.

MfG Steffen