Re-GET Page
URL: c:\uralexpont\eggs\zope.formlib-4.0.4-py2.6.egg\zope\formlib\pageform.pt
Module paste.evalexception.middleware:306 in respond
>> app_iter = self.application(environ, detect_start_response)
Module paste.translogger:68 in __call__
>> return self.application(environ, replacement_start_response)
Module zope.app.wsgi:59 in __call__
>> request = publish(request, handle_errors=handle_errors)
Module zope.publisher.publish:132 in publish
>> result = publication.callObject(request, obj)
Module zope.app.publication.zopepublication:205 in callObject
>> return mapply(ob, request.getPositionalArguments(), request)
<security proxied zope.browserpage.metaconfigure.PhotoCatalogAdd instance at 0x0352C630>
Module zope.publisher.publish:107 in mapply
>> return debug_call(obj, args)
Module zope.publisher.publish:113 in debug_call
>> return obj(*args)
Module zope.formlib.form:800 in __call__
>> result = self.render()
Module zope.formlib.form:920 in render
>> return super(AddFormBase, self).render()
Module zope.formlib.form:790 in render
>> self.form_result = self.template()
Module zope.browserpage.viewpagetemplatefile:83 in __call__
>> return self.im_func(im_self, *args, **kw)
Module zope.browserpage.viewpagetemplatefile:51 in __call__
>> sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
Warning: Macro expansion failed
Warning: <class 'zope.location.interfaces.LocationError'>: (<uralexpont.content.publications.photo.photo.PhotoCollection object at 0x0359CB30>, 'standard_macros')
Module zope.pagetemplate.pagetemplate:113 in pt_render
>> strictinsert=0, sourceAnnotations=sourceAnnotations)()
Module zope.tal.talinterpreter:271 in __call__
>> self.interpret(self.program)
Module zope.tal.talinterpreter:343 in interpret
>> handlers[opcode](self, args)
Module zope.tal.talinterpreter:858 in do_defineMacro
>> self.interpret(macro)
Module zope.tal.talinterpreter:343 in interpret
>> handlers[opcode](self, args)
Module zope.tal.talinterpreter:906 in do_extendMacro
>> definingName, extending)
Module zope.tal.talinterpreter:867 in do_useMacro
>> macro = self.engine.evaluateMacro(macroExpr)
Line 1
In expression: <PathExpr standard:u'context/@@standard_macros/view'>
- Names:
{'args': (),
'context': <uralexpont.content.publications.photo.photo.PhotoCollection object at 0x0359CB30>,
'default': <object object at 0x01921738>,
'loop': {},
'nothing': None,
'options': {},
'repeat': {},
'request': <zope.publisher.browser.BrowserRequest instance URL=http://127.0.0.1:8080/publications/photocollection/@@add_photocatalog>,
'template': <zope.browserpage.viewpagetemplatefile.ViewPageTemplateFile object at 0x0313E310>,
'view': <zope.browserpage.metaconfigure.PhotoCatalogAdd object at 0x0352C630>,
'views': <zope.browserpage.viewpagetemplatefile.ViewMapper object at 0x0352C770>}
Module zope.tales.tales:696 in evaluate
>> return [removed]self)
Module zope.tales.expressions:217 in __call__
>> return self._eval(econtext)
Module zope.tales.expressions:194 in _eval
>> ob = self._subexprs[-1](econtext)
Module zope.tales.expressions:124 in _eval
>> ob = self._traverser(ob, element, econtext)
Module zope.pagetemplate.engine:66 in __call__
>> request=request)
(<uralexpont.content.publications.photo.photo.PhotoCollection object at 0x0359CB30>, '@@standard_macros')
Module zope.traversing.adapters:126 in traversePathElement
>> return namespaceLookup(ns, nm, obj, request)
Module zope.traversing.namespace:112 in namespaceLookup
>> return traverser.traverse(name, ())
Module zope.traversing.namespace:329 in traverse
>> raise LocationError(self.context, name)
LocationError: (<uralexpont.content.publications.photo.photo.PhotoCollection object at 0x0359CB30>, 'standard_macros')
extra data
text version
Add a code snippet to your website: www.paste.org