<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>CMFSin time errors</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I'm getting some errors with certain feeds, but not others, in CMFSin. The errors seem to have something to do with the portaltime and localized time. Someone suggested changing the permissions for anonymous to fix this. Doing that made all my feeds malfunction, so that's not the right answer.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I know CMFSin is old and it seems to be getting flaky. But I really need an aggregator for my project, and it doesn't seem like there's anything much better out there right now.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Here's what happens when I use a feed from National Public Radio (</FONT><A HREF="http://www.npr.org/rss/rss.php?topicId=3"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://www.npr.org/rss/rss.php?topicId=3</FONT></U></A><FONT SIZE=2 FACE="Arial">). I know the feed is working. CMFSin's debug panel shows the results of the feed very plainly. The problem is in the display of the feed (which is either Zope or Plone's fault, though I can't tell which right now):</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">Traceback (innermost last):<BR>
&nbsp; Module ZPublisher.Publish, line 101, in publish<BR>
&nbsp; Module ZPublisher.mapply, line 88, in mapply<BR>
&nbsp; Module ZPublisher.Publish, line 39, in call_object<BR>
&nbsp; Module Shared.DC.Scripts.Bindings, line 306, in __call__<BR>
&nbsp; Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec<BR>
&nbsp; Module Products.CMFCore.FSPageTemplate, line 191, in _exec<BR>
&nbsp; Module Products.CMFCore.FSPageTemplate, line 124, in pt_render<BR>
&nbsp; Module Products.PageTemplates.PageTemplate, line 96, in pt_render<BR>
&nbsp;&nbsp; - &lt;FSPageTemplate at /plinkit/sinList used for /plinkit/interestsideas/headlines&gt;<BR>
&nbsp; Module TAL.TALInterpreter, line 190, in __call__<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 671, in do_useMacro<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 409, in do_optTag_tal<BR>
&nbsp; Module TAL.TALInterpreter, line 394, in do_optTag<BR>
&nbsp; Module TAL.TALInterpreter, line 389, in no_tag<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 702, in do_defineSlot<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 409, in do_optTag_tal<BR>
&nbsp; Module TAL.TALInterpreter, line 394, in do_optTag<BR>
&nbsp; Module TAL.TALInterpreter, line 389, in no_tag<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 650, in do_defineMacro<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 694, in do_defineSlot<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 409, in do_optTag_tal<BR>
&nbsp; Module TAL.TALInterpreter, line 394, in do_optTag<BR>
&nbsp; Module TAL.TALInterpreter, line 389, in no_tag<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 613, in do_loop_tal<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 637, in do_condition<BR>
&nbsp; Module TAL.TALInterpreter, line 234, in interpret<BR>
&nbsp; Module TAL.TALInterpreter, line 484, in do_insertText_tal<BR>
&nbsp; Module Products.PageTemplates.TALES, line 227, in evaluateText<BR>
&nbsp; Module Products.PageTemplates.TALES, line 221, in evaluate<BR>
&nbsp;&nbsp; - Line 35, Column 92<BR>
&nbsp;&nbsp; - Expression: &lt;PythonExpr here.toPortalTime(obj['date'])&gt;<BR>
&nbsp;&nbsp; - Names:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {'container': &lt;PloneSite instance at b5c87740&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'context': &lt;PloneFolder instance at b2d87d40&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'default': &lt;Products.PageTemplates.TALES.Default instance at 0xb69758cc&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'here': &lt;PloneFolder instance at b2d87d40&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'loop': &lt;SafeMapping instance at b2b685d0&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'modules': &lt;Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb696ed8c&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'nothing': None,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'options': {'args': ()},<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'repeat': &lt;SafeMapping instance at b2b685d0&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'request': &lt;HTTPRequest, URL=<A HREF="http://demo.plinkit.org/interestsideas/headlines/sinList">http://demo.plinkit.org/interestsideas/headlines/sinList</A>&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'root': &lt;Application instance at b5c87710&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'template': &lt;FSPageTemplate at /plinkit/sinList used for /plinkit/interestsideas/headlines&gt;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'traverse_subpath': [],<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'user': Anonymous User}<BR>
&nbsp; Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__<BR>
&nbsp;&nbsp; - __traceback_info__: here.toPortalTime(obj['date'])<BR>
&nbsp; Module Python expression &quot;here.toPortalTime(obj['date'])&quot;, line 1, in &lt;expression&gt;<BR>
&nbsp; Module Products.CMFCore.FSPythonScript, line 104, in __call__<BR>
&nbsp; Module Shared.DC.Scripts.Bindings, line 306, in __call__<BR>
&nbsp; Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec<BR>
&nbsp; Module Products.CMFCore.FSPythonScript, line 160, in _exec<BR>
&nbsp; Module None, line 5, in toPortalTime<BR>
&nbsp;&nbsp; - &lt;FSPythonScript at /plinkit/toPortalTime used for /plinkit/interestsideas/headlines&gt;<BR>
&nbsp;&nbsp; - Line 5<BR>
&nbsp; Module Products.CMFCore.FSPythonScript, line 104, in __call__<BR>
&nbsp; Module Shared.DC.Scripts.Bindings, line 306, in __call__<BR>
&nbsp; Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec<BR>
&nbsp; Module Products.CMFCore.FSPythonScript, line 160, in _exec<BR>
&nbsp; Module None, line 4, in toLocalizedTime<BR>
&nbsp;&nbsp; - &lt;FSPythonScript at /plinkit/toLocalizedTime used for /plinkit/interestsideas/headlines&gt;<BR>
&nbsp;&nbsp; - Line 4<BR>
&nbsp; Module Products.CMFPlone.PloneUtilities, line 118, in localized_time<BR>
&nbsp; Module DateTime.DateTime, line 522, in __init__<BR>
&nbsp; Module DateTime.DateTime, line 745, in _parse_args<BR>
&nbsp; Module DateTime.DateTime, line 1032, in _parse<BR>
SyntaxError: Tue, 05 Apr 2005 14:21:06 EDT</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>

<BR><FONT SIZE=2 FACE="Arial">Eva Miller, Librarian</FONT>
</P>

</BODY>
</HTML>