Here's a traceback by the way
# Module Products.PageTemplates.TALES, line 221, in evaluate
URL: index
Line 4, Column 6
Expression: standard:'view/calendar/@@event_header.html'
Names:
{'container': <Week at
/plone/calcmf_calendar.2006-08-23.7919320747/week/2006/35>,
'context': <Week at
/plone/calcmf_calendar.2006-08-23.7919320747/week/2006/35>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb715740c>,
'here': <Week at
/plone/calcmf_calendar.2006-08-23.7919320747/week/2006/35>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb50ab54c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb70f90cc>,
'nothing': None,
'options': {'args': (<Products.Five.metaclass.SimpleViewClass from
/home/morphex/CalCMF/CalZope/browser/week.pt object at 0xb5077e6c>,)},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb50ab54c>,
'request': <HTTPRequest,
URL=http://metallica.nidelven-it.no:21080/plone/calcmf_calendar.2006-08-23.7919320747/week/2006/35/week.html>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0xb507ba4c>,
'traverse_subpath': [],
'user': <PropertiedUser 'morphex'>,
'view': <Products.Five.metaclass.SimpleViewClass from
/home/morphex/CalCMF/CalZope/browser/week.pt object at 0xb5077e6c>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object
at 0xb507bf8c>}
# Module Products.PageTemplates.Expressions, line 185, in __call__
# Module Products.PageTemplates.Expressions, line 180, in _eval
# Module Products.PageTemplates.Expressions, line 85, in render
# Module Products.Five.browser.metaconfigure, line 400, in __call__
# Module Shared.DC.Scripts.Bindings, line 311, in __call__
# Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
# Module Products.PageTemplates.PageTemplateFile, line 113, in _exec
# Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<ImplicitAcquirerWrapper object at 0xb4f70eac>
# Module TAL.TALInterpreter, line 238, in __call__
# Module TAL.TALInterpreter, line 281, in interpret
# Module TAL.TALInterpreter, line 507, in do_setLocal_tal
# Module Products.PageTemplates.TALES, line 221, in evaluate
URL: index
Line 1, Column 0
Expression: standard:'view/getNeedsActionAmount'
Names:
{'container': <ImplicitAcquirerWrapper object at 0xb4fe902c>,
'context': <ImplicitAcquirerWrapper object at 0xb4fe902c>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb715740c>,
'here': <ImplicitAcquirerWrapper object at 0xb4fe902c>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb4faf96c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb70f90cc>,
'nothing': None,
'options': {'args': (<Products.Five.metaclass.SimpleViewClass from
/home/morphex/CalCMF/CalZope/browser/event_header.pt object at
0xb4faf8ac>,)},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb4faf96c>,
'request': <HTTPRequest,
URL=http://metallica.nidelven-it.no:21080/plone/calcmf_calendar.2006-08-23.7919320747/week/2006/35/week.html>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0xb4f70eac>,
'traverse_subpath': [],
'user': <PropertiedUser 'morphex'>,
'view': <Products.Five.metaclass.SimpleViewClass from
/home/morphex/CalCMF/CalZope/browser/event_header.pt object at 0xb4faf8ac>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object
at 0xb4f84d8c>}
# Module Products.PageTemplates.Expressions, line 185, in __call__
# Module Products.PageTemplates.Expressions, line 180, in _eval
# Module Products.PageTemplates.Expressions, line 85, in render
# Module Products.CalZope.browser.calview, line 172, in getNeedsActionAmount
# Module Products.CalZope.browser.calview, line 238, in getNeedsActionEvents
# Module calcore.cal, line 906, in getEvents
# Module Products.CalCMF.calendar, line 84, in getAttendees
# Module Products.CalCMF.calendar, line 79, in getMainAttendee
# Module OFS.Traversable, line 110, in getPhysicalPath
Morten W. Petersen wrote:
> This is Zope 2.9.4 and the included Five (1.3.6). Plone version 2.5.
>
> -Morten
>
> Lennart Regebro wrote:
>> Hmm. What versions of Zope and Five is this?
>>
>> Morten W. Petersen wrote:
>>> I've kinda hit a brick-wall with the most recent CalCMF from SVN;
>>> whenever I create a calendar and try to view it, I get the following
>>> message
>>>
>>> AttributeError
>>> getPhysicalPath
>>>
>>> Adding some print statements to getPhysicalPath in Traversable reveals
>>> that something with Five is involved
>>>
>>> def getPhysicalPath(self):
>>> """Get the physical path of the object.
>>>
>>> Returns a path (an immutable sequence of strings) that can be
>>> used to
>>> access this object again later, for example in a copy/paste
>>> operation.
>>> getPhysicalRoot() and getPhysicalPath() are designed to operate
>>> together.
>>> """
>>> path = (self.getId(),)
>>>
>>> p = aq_parent(aq_inner(self))
>>> try:
>>> if p is not None:
>>> path = p.getPhysicalPath() + path
>>> except:
>>> print 'exception in getPhysicalPath'
>>> print p, type(p)
>>> raise
>>>
>>> return path
>>>
>>> exception in getPhysicalPath
>>> <Products.Five.metaclass.SimpleViewClass from
>>> /home/morphex/CalCMF/CalZope/browser/week.pt object at 0xb5077e6c> <type
>>> 'ExplicitAcquirerWrapper'>
>>>
>>> I'm not into Five so it is hard to tell what's going on...
>>>
>>> -Morten
>>
>
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel