[Zope] Mark Pilgrim's Feed Parser in Zope

Dieter Maurer dieter at handshake.de
Tue Jul 25 14:19:28 EDT 2006


kjzz.webmaster at riomail.maricopa.edu wrote at 2006-7-24 11:13 -0700:
>I'm trying to move our sites from Zope 2.5.1 to Zope 2.8.1-final and I'm 
>receiving an error with this script:
>
>http://www.zope.org/Members/johntynan/feedparser/
>
>In particular, I receive the following error, when using the attached page 
>template "nprnews.pt":
>
>"Unauthorized: You are not allowed to access 'a particular list' in this 
>context"  (see traceback.txt attached).
>
>This page template renders an rss feed that has been transformed into a 
>dictionary (see "dictionary.txt" attached)  via a python script 
>("feedscript") which calls an external method ("newsfeed") which uses Mark 
>Pilgrim's feed parser to parse the xml into a python data type.

The object might look like a dictionary but it probably is not.

Ensure that your "ExternalMethod" really returns a dict (or other
simple data structure).



-- 
Dieter


More information about the Zope mailing list