Nuxeo mailing list archives
[CPS-devel] CalCMF development
Morten W. Petersen
morten at nidelven-it.no
Mon Aug 28 20:14:17 CEST 2006
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
>
>
More information about the cps-devel
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.