[Zope] Dictionary Key Error from Parsed RSS

Andreas Jung lists at zopyx.com
Fri Jun 15 11:49:38 EDT 2007



--On 15. Juni 2007 11:45:49 -0400 Tom Von Lahndorff <tom at modscape.com> 
wrote:

> <dtml-let news="newsfeed(feedurl='http://www.modscape.com/blog/rss.xml')">
>
> <dtml-var "news.feed.href">
>
> </dtml-let>
>
> gives:
>
> Site Error
>
> An error was encountered while publishing this resource.
>
> Error Type: Unauthorized
> Error Value: You are not allowed to access 'feed' in this context
>

Likely because the module has no security assertions. All your stuff runs
under the conditions of Restricted Python. The standard Zope security 
applies.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070615/369c06f5/attachment.bin


More information about the Zope mailing list