path is valid I can open it in browser /contact-1/@@embedded
but I receive:
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Products.Five.browser.metaconfigure, line 485, in call
Module Products.Five.browser.pagetemplatefile, line 125, in call
Module Products.Five.browser.pagetemplatefile, line 59, in call
Module zope.pagetemplate.pagetemplate, line 137, in pt_render
Module five.pt.engine, line 98, in call
Module z3c.pt.pagetemplate, line 163, in render
Module chameleon.zpt.template, line 261, in render
Module chameleon.template, line 191, in render
Module chameleon.template, line 171, in render
Module 2f6a59085031d1ea5b14f54b01b554bf.py, line 103, in render
ExpressionError: Not a valid path-expression.
I have some doubts about context here. That you can call /contact-1/@@embedded in a browser doesn't mean or prove that the context in/on which your template will be called can also find contact-1/@@embedded. The 'location error' is indicative that a path cannot be traversed.