[z3-five] debugging "missing" view

Chris Withers chris at simplistix.co.uk
Mon Jun 4 08:45:37 CEST 2007


Hi All,

I have a "properties" view for user objects which works fine on my dev 
zope instance. However, when I move the software to my customer's 
staging instance, the view appears to have vanished and I get an 
exception that looks a bit like:

   Module Products.PageTemplates.Expressions, line 127, in _eval
    - __traceback_info__: user
   Module Products.PageTemplates.Expressions, line 286, in 
restrictedTraverse
    - __traceback_info__: {'path': ['@@properties'], 
'TraversalRequestNameStack': []}
   Module Products.Five.traversable, line 115, in __bobo_traverse__
AttributeError: @@properties

How can I debug why this view is not being found on one Zope instance 
while it is being found in another?

(this is Five as shipped with Zope 2.9.something)

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the z3-five mailing list