[Zope-PTK] Good and bad news [reply working... or manybe not]
Adrian Madrid
aem@byu.edu
Thu, 22 Mar 2001 20:20:50 -0800 (PST)
Disclaimer: I'm not rantin or anything. I realize that
the finishing touches are ahead.
I just checked out the latest and was amazed to see
that now the replies to an article show the correct
creator of the reply. The problem started when you try
following the link to the reply. Here follows the
traceback:
<!--
Traceback (innermost last):
File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 223, in publish_module
File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 187, in publish
File C:\BensonP\lib\python\Zope\__init__.py, line
221, in zpublisher_exception_hook
(Object: DynamicType)
File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 171, in publish
File C:\BensonP\lib\python\ZPublisher\mapply.py,
line 160, in mapply
(Object: index_html)
File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 112, in call_object
(Object: index_html)
File C:\BensonP\lib\python\App\special_dtml.py, line
127, in __call__
(Object: index_html)
File
C:\BensonP\lib\python\DocumentTemplate\DT_String.py,
line 538, in __call__
(Object: index_html)
File C:\BensonP\lib\python\OFS\DTMLMethod.py, line
182, in __call__
(Object: standard_html_header)
File
C:\BensonP\lib\python\DocumentTemplate\DT_String.py,
line 538, in __call__
(Object: standard_html_header)
File
C:\BensonP\lib\python\DocumentTemplate\DT_Let.py, line
146, in render
(Object:
isAnon="portal_membership.isAnonymousUser()"
uname="isAnon and 'Guest' or
portal_membership.getAuthenticatedMember().getUserName()"
obj="this()"
actions="portal_actions.listFilteredActionsFor(obj)"
user_actions="actions['user']"
lu="_.len(user_actions)"
global_actions="actions['global']"
lg="_.len(global_actions)"
these_actions="user_actions +
global_actions"
lt="_.len(these_actions)")
File
C:\BensonP\lib\python\DocumentTemplate\DT_Util.py,
line 334, in eval
(Object:
portal_actions.listFilteredActionsFor(obj))
(Info: portal_actions)
File <string>, line 0, in ?
File
C:\BensonP\lib\python\Products\CMFCore\ActionsTool.py,
line 162, in listFilteredActionsFor
(Object: portal_actions)
File
C:\BensonP\lib\python\Products\CMFCore\WorkflowTool.py,
line 210, in listActions
(Object: portal_workflow)
File
C:\BensonP\lib\python\Products\CMFCore\DefaultWorkflow.py,
line 148, in listObjectActions
TypeError: call of non-function (type string)
-->
Also there is a permission problem trying to add the
article as a favorite. It looks like you are not
authorized to access (something about) the article's
owner. Here the traceback that I got:
You are not authorized to access <em>aem2</em>.
<!--
Traceback (innermost last):
File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 223, in publish_module
File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 187, in publish
File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 171, in publish
File C:\BensonP\lib\python\ZPublisher\mapply.py,
line 160, in mapply
(Object: addtoFavorites)
File C:\BensonP\lib\python\ZPublisher\Publish.py,
line 112, in call_object
(Object: addtoFavorites)
File
C:\BensonP\lib\python\Products\CMFCore\FSDTMLMethod.py,
line 218, in __call__
(Object: addtoFavorites)
File
C:\BensonP\lib\python\DocumentTemplate\DT_String.py,
line 538, in __call__
(Object: addtoFavorites)
File
C:\BensonP\lib\python\DocumentTemplate\DT_Let.py, line
147, in render
(Object:
homeFolder="portal_membership.getHomeFolder()")
File
C:\BensonP\lib\python\DocumentTemplate\DT_Let.py, line
146, in render
(Object: targetFolder="_.getattr(homeFolder,
'Favorites')"
new_id="'fav_' +
_.str(_.int(ZopeTime()))"
favPath="favorite[_.len(SERVER_URL):]"
favObj="restrictedTraverse(favPath)")
File
C:\BensonP\lib\python\DocumentTemplate\DT_Util.py,
line 334, in eval
(Object: restrictedTraverse(favPath))
(Info: favPath)
File <string>, line 0, in ?
File C:\BensonP\lib\python\OFS\Traversable.py, line
223, in restrictedTraverse
(Object: Traversable)
File C:\BensonP\lib\python\OFS\Traversable.py, line
199, in unrestrictedTraverse
(Object: ApplicationDefaultPermissions)
File
C:\BensonP\lib\python\AccessControl\SecurityManager.py,
line 144, in validate
File
C:\BensonP\lib\python\AccessControl\ZopeSecurityPolicy.py,
line 225, in validate
Unauthorized: (see above)
-->
=====
---------------------------
Adrian Esteban Madrid
Benson Institute, Webmaster
Brigham Young University
---------------------------
adrian_esteban@madrid.com
===========================
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/