[Zope] ZCatalog Error-> attribute/method must be string

Andreas Jung andreas@andreas-jung.com
Tue, 3 Sep 2002 03:09:53 -0400


please file a collector issue for this bug.

-aj
On Tue, Sep 03, 2002 at 08:51:23AM +0200, Garikoitz Araolaza wrote:
> 
> Hi!
> 
> I cannot recatalog a ZCatalog (an Squishdot instance) unless I delete the 
> "path" pathIndex (wich I actually could do to solve this situation, but I'd 
> like a better solution...;-)  )
> 
> I get:
> 
> Error Type: TypeError
> Error Value: attribute/method must be string
> 
> And last lines in traceback:
> 
> File /home/csmant/zope/2.5.1/lib/python/Products/ZCatalog/ZCatalog.py, line 
> 480, in catalog_object
>     (Object: News)
> File /home/csmant/zope/2.5.1/lib/python/Products/ZCatalog/Catalog.py, line 
> 367, in catalogObject
> File 
> /home/csmant/zope/2.5.1/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py, 
> line 118, in index_object
>     (Object: path)
> 
> 
> I'm having this bug since I switched from a Zope 2.5.0 (updated to 2.5.1) 
> to a new clean 2.5.1 installation.
> 
> The problem now comes with Squishdot's ZCatalog, but some days ago I had 
> the same problem in the same server with a non Squishdot ZCatalog.
> 
> Could CatalogAwareProperties patch be interfering?
> 
> Thanks for your help!!
> 
> Gari
> 
> 
> _________________________________________
> Garikoitz Araolaza
> gari@eibar.org
> 
> 
> _______________________________________________
> 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 )