[Zope] CatalogAware Error in 2.3.1 Final

Chris McDonough chrism@digicool.com
Mon, 2 Apr 2001 12:53:30 -0400


I think this is due to a bug in ZClasses introduced in 2.3.1 final.
(  It's fixed in CVS.  Sorry!!!

----- Original Message -----
From: "Chris Muldrow" <muldrow@mac.com>
To: <tim@freepm.org>; <zope@zope.org>
Sent: Monday, April 02, 2001 10:05 AM
Subject: Re: [Zope] CatalogAware Error in 2.3.1 Final


> I'm having the same problem. Any feedback yet?-Chris Muldrow
> -- Chris Muldrow, muldrow@mac.com
>
>
> > From: Tim Cook <tim@freepm.org>
> > Organization: Free Practice Management, Inc.
> > Reply-To: tim@freepm.org
> > Date: Sun, 01 Apr 2001 13:16:59 -0500
> > To: "zope@zope.org" <zope@zope.org>
> > Subject: [Zope] CatalogAware Error in 2.3.1 Final
> >
> >
> > 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
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>