I have installed CMF 1.0 on Zope 2.3.1.2beta and everything seems to work well (it is very impressive) except when I try to add news.... I select a news item to add, do everything including submit and it shows up as published but when I go to the home page or the news page I get an error of: Error Type: TypeError Error Value: call of non-function (type IOBTree) Traceback (innermost last): File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: index_html) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__ (Object: index_html) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: portal_properties) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/CMFCore/FSDTMLMethod.py, line 213, in __call__ (Object: news_box) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__ (Object: news_box) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_In.py, line 483, in renderwb (Object: portal_catalog.searchResults( meta_type='News Item' , sort_on='Date' , sort_order='reverse' , review_state='published' )) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 334, in eval (Object: portal_catalog.searchResults( meta_type='News Item' , sort_on='Date' , sort_order='reverse' , review_state='published' )) (Info: portal_catalog) File <string>, line 0, in ? File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/CMFCore/CatalogTool.py, line 196, in searchResults (Object: Traversable) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/ZCatalog/ZCatalog.py, line 530, in searchResults (Object: Traversable) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/ZCatalog/Catalog.py, line 654, in searchResults File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/ZCatalog/Catalog.py, line 608, in _indexedSearch File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/SearchIndex/UnIndex.py, line 443, in keyForDocument TypeError: (see above) I am running python 1.5.2. on linux (Mandrake 7.2) I am also sure that when I first installed CMF the news publishing worked fine.... Anyone know what happened/is happening? TIA, Mehmet
this is a problem that may fix itself if you upgrade to Zope 2.3.1 beta 3. The line
File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/SearchIndex/UnIndex.py, line 443, in keyForDocument
is the clue - there's a bug in that method in beta 2 that's fixed in beta 3 Jeff Sasmor ----- Original Message ----- From: "Mehmet Yousouf" <mehmety@auslin.com.au> To: <Zope@zope.org> Sent: Thursday, March 29, 2001 2:55 AM Subject: [Zope] CMF problem... adding news
I have installed CMF 1.0 on Zope 2.3.1.2beta and everything seems to work well (it is very impressive) except when I try to add news.... I select a news item to add, do everything including submit and it shows up as published but when I go to the home page or the news page I get an error of:
Error Type: TypeError Error Value: call of non-function (type IOBTree) Traceback (innermost last): File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: index_html) File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py ,
line 538, in __call__ (Object: index_html) File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py,
line 146, in render (Object: portal_properties) File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/CMFCore/FSDTMLMethod .py,
line 213, in __call__ (Object: news_box) File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py ,
line 538, in __call__ (Object: news_box) File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_In.py, line 483, in renderwb (Object: portal_catalog.searchResults( meta_type='News Item' , sort_on='Date' , sort_order='reverse' , review_state='published' )) File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py,
line 334, in eval (Object: portal_catalog.searchResults( meta_type='News Item' , sort_on='Date' , sort_order='reverse' , review_state='published' )) (Info: portal_catalog) File <string>, line 0, in ? File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/CMFCore/CatalogTool. py,
line 196, in searchResults (Object: Traversable) File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/ZCatalog/ZCatalog.py ,
line 530, in searchResults (Object: Traversable) File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/ZCatalog/Catalog.py,
line 654, in searchResults File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/Products/ZCatalog/Catalog.py,
line 608, in _indexedSearch File /home/mehmety/Zope-2.3.0-linux2-x86/lib/python/SearchIndex/UnIndex.py, line 443, in keyForDocument TypeError: (see above)
I am running python 1.5.2. on linux (Mandrake 7.2) I am also sure that when I first installed CMF the news publishing worked
fine....
Anyone know what happened/is happening?
TIA, Mehmet
_______________________________________________ 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 )
Thanks. It is a struggle for me to interpret the error messages. Regards, Mehmet
this is a problem that may fix itself if you upgrade to Zope 2.3.1 beta 3. The line
File
/home/mehmety/Zope-2.3.0-linux2-x86/lib/python/SearchIndex/UnIndex.py,
line 443, in keyForDocument
is the clue - there's a bug in that method in beta 2 that's fixed in beta 3
Jeff Sasmor
participants (2)
-
Jeff Sasmor -
Mehmet Yousouf