[Zope-CMF] CMF 1.3b2 creates error with CMFForum, what to fix?
Heimo Laukkanen
huima@fountainpark.org
Wed, 31 Jul 2002 07:26:57 +0300
Same thing has been reported on following mail:
http://aspn.activestate.com/ASPN/Mail/Message/1289295
Also noticed that someone had sent the same thing into SF collector.
Has anyone yet fixed this or have any idea on what to fix? I did a small
test where I replaced Post.py to ingerit PortalFolder and not skinned
folder. It seemed to solve error thrown while creating new post.
Unfortunately the error came back, when I tried to publish the post.
in __init__ is following line:
self.created = self.modified = DateTime()
Could that be the reason for these errors?
-huima
<!--
Traceback (innermost last):
File /var/zope/lib/python/ZPublisher/Publish.py, line 150, in
publish_module
File /var/zope/lib/python/ZPublisher/Publish.py, line 114, in publish
File /var/zope/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
(Object: talkroom)
File /var/zope/lib/python/ZPublisher/Publish.py, line 98, in publish
File /var/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
(Object: post_add)
File /var/zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
(Object: post_add)
File /var/zope/Products/CMFCore/FSPythonScript.py, line 88, in __call__
(Object: post_add)
File /var/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in
__call__
(Object: post_add)
File /var/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in
_bindAndExec
(Object: post_add)
File /var/zope/Products/CMFCore/FSPythonScript.py, line 122, in _exec
(Object: post_add)
(Info: ({'script': <FSPythonScript instance at 9333308>,
'context': <Forum instance at 9087678>, 'container': <CMFSite
instance at 9018018>, '_': <TemplateDict object at 0x9292778>,
'traverse_subpath': []}, ('', '', '', '', '', ''), {}, ('', '', '', '',
'', '')))
File Script (Python), line 2, in post_add
File /var/zope/Products/CMFCore/PortalFolder.py, line 355, in
invokeFactory
(Object: talkroom)
File /var/zope/Products/CMFCore/TypesTool.py, line 803, in
constructContent
(Object: portal_types)
File /var/zope/Products/CMFCore/TypesTool.py, line 478, in
constructInstance
(Object: Post)
File /var/zope/Products/CMFForum/Post.py, line 200, in addPost
File /var/zope/lib/python/OFS/ObjectManager.py, line 267, in _setObject
(Object: talkroom)
File /var/zope/Products/CMFCore/CMFCatalogAware.py, line 60, in
manage_afterAdd
(Object: msg_1028052873)
File /var/zope/Products/CMFCore/CMFCatalogAware.py, line 35, in
indexObject
(Object: msg_1028052873)
File /var/zope/Products/CMFCore/CatalogTool.py, line 241, in indexObject
(Object: portal_catalog)
File /var/zope/Products/CMFCore/CatalogTool.py, line 234, in
catalog_object
(Object: portal_catalog)
File /var/zope/Products/ZCatalog/ZCatalog.py, line 480, in
catalog_object
(Object: portal_catalog)
File /var/zope/Products/ZCatalog/Catalog.py, line 310, in catalogObject
File /var/zope/Products/ZCatalog/Catalog.py, line 423, in recordify
File /var/zope/Products/CMFDefault/DublinCore.py, line 139, in Date
(Object: msg_1028052873)
AttributeError: (see above)
-->