[Zope-CMF] CMFOptions (specifically: Blark
matt yarbrough
matt@punitiveart.com
Fri, 25 Jan 2002 15:53:52 -0600
I've got CMF 1.2 on Z2.5b4 and I can install blark and create an
instance of it, but if I go to view I get the following:
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 158, in
zpublisher_exception_hook
(Object: BLARKENTRY_700791991_1011896343)
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: <string>)
File /var/Zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
(Object: <string>)
File /var/Zope/lib/python/DocumentTemplate/DT_String.py, line 473, in
__call__
(Object: <string>)
File /var/Zope/lib/python/Products/CMFCore/FSDTMLMethod.py, line 105,
in __call__
(Object: blark_document_view)
File /var/Zope/lib/python/DocumentTemplate/DT_String.py, line 473, in
__call__
(Object: blark_document_view)
File /var/Zope/lib/python/DocumentTemplate/DT_Let.py, line 76, in render
(Object: access="checkViewable(this(),'viewable')")
File /var/Zope/lib/python/DocumentTemplate/DT_Let.py, line 76, in render
(Object: creator=Creator
home_url="portal_membership.getHomeUrl(creator)"
creator_email="getUserEmail(creator)"
bFolder="findContainingBlarkFolder()"
bf="bFolder.absolute_url()"
max_replies_limit="_.getattr(this(),'maxReplies','1024')"
total_replies="replyInfo(this(),_.int(max_replies_limit))"
num_replies="_.str(total_replies)"
replyHideList="getReplyHideList(getId())"
anon="portal_membership.isAnonymousUser()"
isManager="portal_membership.checkPermission('Manage
Portal',this())"
isReviewer="portal_membership.checkPermission('Review portal
content',this())"
member="portal_membership.getAuthenticatedMember()"
uname="anon and 'Guest' or member.getUserName()"
globalView="controlInfo.get('globalviewing')=='on'")
File /var/Zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval
(Object: talkback.hasReplies())
(Info: talkback)
File <string>, line 0, in ?
TypeError: hasReplies() takes exactly 2 arguments (1 given)
I plan on digging into it once I finish the project I'm on, but if
anyone has already encountered and/or resolved it I'd rather avoid
duplicating the effort ;)