Personal tools
You are here: Home Documentation Issue Trackers General Issue Tracker Issues with Events on IMC site

#19 — Issues with Events on IMC site

State Resolved
Area Functionality
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on May 13, 2009
Responsible
Return to tracker
Last modified on May 13, 2009 by T. Kim Nguyen
Cannot access or create events on the new IMC site:
http://www.uwosh.edu/imc/events

Error:

ime 2009/05/13 10:10:41.776 GMT-5
User Name (User Id) cemanj (cemanj)
Request URL http://www.uwosh.edu/[…]/event_view
Exception Type AttributeError
Exception Value localTimeOnlyFormat
Traceback (innermost last):

Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 216, in _exec
Module Products.CacheSetup.patch_cmf, line 48, in FSPT_pt_render
Module Products.CacheSetup.patch_cmf, line 120, in PT_pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 891, in do_useMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 957, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 861, in do_defineMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 957, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 525, in do_optTag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 949, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 861, in do_defineMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 855, in do_condition
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 861, in do_defineMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 957, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 623, in do_insertText_tal
Module Products.PageTemplates.Expressions, line 228, in evaluateText
Module zope.tales.tales, line 696, in evaluate
URL: file:/opt/Plone-3.2.1r3/buildout-cache/eggs/Plone-3.2.1-py2.4.egg/Products/CMFPlone/skins/plone_content/event_view.pt
Line 90, Column 34
Expression: <PythonExpr here.toLocalizedTime(here.start(), time_only=1)>
Names:
{'container': <PloneSite at /sites3/imc>,
 'context': <ATEvent at /sites3/imc/events/copy2_of_media-relations-workshop>,
 'default': <object object at 0x2b3000a9f200>,
 'here': <ATEvent at /sites3/imc/events/copy2_of_media-relations-workshop>,
 'loop': {},
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x31483830>,
 'request': <HTTPRequest, URL=http://www.uwosh.edu/[…]/event_view>,
 'root': <Application at >,
 'template': <FSPageTemplate at /sites3/imc/event_view used for /sites3/imc/events/copy2_of_media-relations-workshop>,
 'traverse_subpath': [],
 'user': <PloneUser 'cemanj'>}
Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
__traceback_info__: here.toLocalizedTime(here.start(), time_only=1)
Module PythonExpr, line 1, in <expression>
Module Products.CMFCore.FSPythonScript, line 140, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 196, in _exec
Module None, line 4, in toLocalizedTime
<FSPythonScript at /sites3/imc/toLocalizedTime used for /sites3/imc/events/copy2_of_media-relations-workshop>
Line 4
Module Products.CMFPlone.browser.ploneview, line 191, in toLocalizedTime
Module Products.CMFPlone.TranslationServiceTool, line 79, in ulocalized_time
Module Products.CMFPlone.i18nl10n, line 108, in ulocalized_time
AttributeError: localTimeOnlyFormat
Added by T. Kim Nguyen on May 13, 2009 12:04 PM
Issue state: unconfirmedresolved
Patch applied as per http://www.uwosh.edu/[…]/1

Fixed now.
You must log in to add a response