[Zope] CatalogAware Error in 2.3.1 Final

Tim Cook tim@freepm.org
Sun, 01 Apr 2001 13:16:59 -0500


I get this traceback from an attempt to create any ZClass
instance that subclasses DTML Document and is CatalogAware. I
tested 2.3.1b2 pretty extensively. Did not test 2.3.1b3. I have
checked various input forms they do contain the correct type
requirements for :float, :date etc.

-------------------------------------------------------------------------------------------
     Error type:  TypeError
     Error value: unsliceable object
    

Traceback (innermost last):
  File /home2/tim/Zope-2.3/lib/python/ZPublisher/Publish.py, line
223, in publish_module
  File /home2/tim/Zope-2.3/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /home2/tim/Zope-2.3/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
    (Object: Traversable)
  File /home2/tim/Zope-2.3/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /home2/tim/Zope-2.3/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: add_guarrantorProcessor)
  File /home2/tim/Zope-2.3/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: add_guarrantorProcessor)
  File /home2/tim/Zope-2.3/lib/python/OFS/DTMLMethod.py, line
189, in __call__
    (Object: add_guarrantorProcessor)
  File
/home2/tim/Zope-2.3/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
    (Object: add_guarrantorProcessor)
  File
/home2/tim/Zope-2.3/lib/python/DocumentTemplate/DT_With.py, line
146, in render
    (Object: accounting)
  File
/home2/tim/Zope-2.3/lib/python/DocumentTemplate/DT_With.py, line
146, in render
    (Object: patient)
  File
/home2/tim/Zope-2.3/lib/python/DocumentTemplate/DT_With.py, line
146, in render
    (Object: _.getitem(pa_num))
  File
/home2/tim/Zope-2.3/lib/python/DocumentTemplate/DT_With.py, line
146, in render
    (Object: manage_addProduct['FreePMProduct'])
  File
/home2/tim/Zope-2.3/lib/python/DocumentTemplate/DT_Util.py, line
334, in eval
    (Object: AddressClass_add(_.None, _, NoRedir=1))
    (Info: AddressClass_add)
  File <string>, line 0, in ?
  File /home2/tim/Zope-2.3/lib/python/OFS/DTMLMethod.py, line
182, in __call__
    (Object: AddressClass_add)
  File
/home2/tim/Zope-2.3/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
    (Object: AddressClass_add)
  File
/home2/tim/Zope-2.3/lib/python/DocumentTemplate/DT_With.py, line
133, in render
    (Object: AddressClass.createInObjectManager(REQUEST['id'],
REQUEST))
  File
/home2/tim/Zope-2.3/lib/python/DocumentTemplate/DT_Util.py, line
334, in eval
    (Object: AddressClass.createInObjectManager(REQUEST['id'],
REQUEST))
    (Info: AddressClass)
  File <string>, line 0, in ?
  File /home2/tim/Zope-2.3/lib/python/ZClasses/ZClass.py, line
543, in createInObjectManager
    (Object: AddressClass)
  File /home2/tim/Zope-2.3/lib/python/OFS/ObjectManager.py, line
265, in _getOb
    (Object: CatalogAware)
TypeError: (see above)
--------------------------------------------------------------------

-- 
Tim Cook, President - FreePM,Inc. 
http://www.FreePM.com Office: (901) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM