[Zope] CMFSin time errors
MILLER Eva
evam at multcolib.org
Tue Apr 5 14:42:56 EDT 2005
Hi,
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.
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.
Here's what happens when I use a feed from National Public Radio
(http://www.npr.org/rss/rss.php?topicId=3). 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):
Traceback (innermost last):
Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 191, in _exec
Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
Module Products.PageTemplates.PageTemplate, line 96, in pt_render
- <FSPageTemplate at /plinkit/sinList used for
/plinkit/interestsideas/headlines>
Module TAL.TALInterpreter, line 190, in __call__
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 671, in do_useMacro
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 409, in do_optTag_tal
Module TAL.TALInterpreter, line 394, in do_optTag
Module TAL.TALInterpreter, line 389, in no_tag
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 702, in do_defineSlot
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 409, in do_optTag_tal
Module TAL.TALInterpreter, line 394, in do_optTag
Module TAL.TALInterpreter, line 389, in no_tag
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 650, in do_defineMacro
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 694, in do_defineSlot
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 409, in do_optTag_tal
Module TAL.TALInterpreter, line 394, in do_optTag
Module TAL.TALInterpreter, line 389, in no_tag
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 613, in do_loop_tal
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 637, in do_condition
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 484, in do_insertText_tal
Module Products.PageTemplates.TALES, line 227, in evaluateText
Module Products.PageTemplates.TALES, line 221, in evaluate
- Line 35, Column 92
- Expression: <PythonExpr here.toPortalTime(obj['date'])>
- Names:
{'container': <PloneSite instance at b5c87740>,
'context': <PloneFolder instance at b2d87d40>,
'default': <Products.PageTemplates.TALES.Default instance at
0xb69758cc>,
'here': <PloneFolder instance at b2d87d40>,
'loop': <SafeMapping instance at b2b685d0>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0xb696ed8c>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at b2b685d0>,
'request': <HTTPRequest,
URL=http://demo.plinkit.org/interestsideas/headlines/sinList>,
'root': <Application instance at b5c87710>,
'template': <FSPageTemplate at /plinkit/sinList used for
/plinkit/interestsideas/headlines>,
'traverse_subpath': [],
'user': Anonymous User}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: here.toPortalTime(obj['date'])
Module Python expression "here.toPortalTime(obj['date'])", line 1, in
<expression>
Module Products.CMFCore.FSPythonScript, line 104, in __call__
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 160, in _exec
Module None, line 5, in toPortalTime
- <FSPythonScript at /plinkit/toPortalTime used for
/plinkit/interestsideas/headlines>
- Line 5
Module Products.CMFCore.FSPythonScript, line 104, in __call__
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 160, in _exec
Module None, line 4, in toLocalizedTime
- <FSPythonScript at /plinkit/toLocalizedTime used for
/plinkit/interestsideas/headlines>
- Line 4
Module Products.CMFPlone.PloneUtilities, line 118, in localized_time
Module DateTime.DateTime, line 522, in __init__
Module DateTime.DateTime, line 745, in _parse_args
Module DateTime.DateTime, line 1032, in _parse
SyntaxError: Tue, 05 Apr 2005 14:21:06 EDT
Thanks,
Eva Miller, Librarian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050405/039f8743/attachment.htm
More information about the Zope
mailing list