Re: CalCMF development

"Morten W. Petersen" <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
>>
>> OK.  When checking out I get the following message:
>>
>>
>> metallica:/tmp# svn co http://svn.nuxeo.org/pub/bundles/CalCMF/trunk
>> A    trunk/SVN-BUNDLE-CalCMF.txt
>>  U   trunk
>>
>> Fetching external item into 'trunk/CalCore'
>> svn: URL 'https://svn.nuxeo.org/pub/CalCore/tags/2.0.1' doesn't exist
>>
>> ... :)
> 
> OK, fixed!

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.