[Zope] 2.2.0b2 and ZSQL method and Zcatalog

Bak @ kedai bak@nstp.com.my
Mon, 26 Jun 2000 12:19:08 +0800


hi all, 
i've upgraded my site to 2.2.0b2.  done light testing.  here's what don't work
-ZSQL method.  got len() of unsized object.  T.J. Mannos 
(http://zope.nipltd.com/public/lists/zope-archive.nsf/242bb7cc2b2c343d802568ab003585d4/4b91e7d30d1d29dd8025690700511980?OpenDocument)
mentioned that we need to recreate the SQL  method from scratch.  is there any other ways? 
anybody else with this problem?  also tried deleting, renaming the ZSQL method,
but got the same error with this trace back.  FYI, the ZSQL method icon is a
folder instead of that green object.

Traceback (innermost last):
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /home/kdie/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /home/kdie/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: manage_delObjects)
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: manage_delObjects)
  File /home/kdie/Zope/lib/python/OFS/ObjectManager.py, line 422, in manage_delObjects
    (Object: ElementWithAttributes)
  File /home/kdie/Zope/lib/python/OFS/ObjectManager.py, line 305, in _delObject
    (Object: ElementWithAttributes)
  File /home/kdie/Zope/lib/python/ZODB/Connection.py, line 441, in setstate
TypeError: (see above)

another one.  when i wanted to update a catalog aware object ( in kmnetnews
object ), i got error 'stop_syn' and this traceback

 Traceback (innermost last):
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /home/kdie/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
    (Object: CatalogAware)
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /home/kdie/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: postit)
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: postit)
  File /home/kdie/Zope/lib/python/OFS/DTMLMethod.py, line 167, in __call__
    (Object: postit)
  File /home/kdie/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: postit)
  File /home/kdie/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 192, in reindex_object
    (Object: CatalogAware)
  File /home/kdie/Zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line 182, in index_object
    (Object: CatalogAware)
  File /home/kdie/Zope/lib/python/Products/ZCatalog/ZCatalog.py, line 377, in catalog_object
    (Object: ElementWithAttributes)
  File /home/kdie/Zope/lib/python/Products/ZCatalog/Catalog.py, line 373, in catalogObject
  File /home/kdie/Zope/lib/python/SearchIndex/UnTextIndex.py, line 253, in index_object
  File /home/kdie/Zope/lib/python/SearchIndex/Lexicon.py, line 165, in Splitter
AttributeError: (see above)

thanks
 --  ------------------------------------------------------
http://www.kedai.com.my/kk Am I Evil?