<html>
<head />
<body>
That looks promising. However (again...), I run into the next issue. It seems there is a problem with hurry.resource:<br /><br />URL: /srv/foo/src/foo/custom_edit_form.pt<br />File '/root/.buildout/eggs/Paste-1.7.2-py2.6.egg/paste/evalexception/middleware.py', line 306 in respond<br /> app_iter = self.application(environ, detect_start_response)<br />File '/root/.buildout/eggs/zope.app.wsgi-3.6.1-py2.6.egg/zope/app/wsgi/__init__.py', line 59 in __call__<br /> request = publish(request, handle_errors=handle_errors)<br />File '/root/.buildout/eggs/zope.publisher-3.12.3-py2.6.egg/zope/publisher/publish.py', line 134 in publish<br /> result = publication.callObject(request, obj)<br />File '/root/.buildout/eggs/grok-1.1.1-py2.6.egg/grok/publication.py', line 89 in callObject<br /> return super(ZopePublicationSansProxy, self).callObject(request, ob)<br />File '/root/.buildout/eggs/zope.app.publication-3.10.2-py2.6.egg/zope/app/publication/zopepublication.py', line 205 in callObject<br /> return mapply(ob, request.getPositionalArguments(), request)<br /><Foo.app.FooEditForm object at 0x2783610><br />File '/root/.buildout/eggs/zope.publisher-3.12.3-py2.6.egg/zope/publisher/publish.py', line 109 in mapply<br /> return debug_call(obj, args)<br />File '/root/.buildout/eggs/zope.publisher-3.12.3-py2.6.egg/zope/publisher/publish.py', line 115 in debug_call<br /> return obj(*args)<br />File '/root/.buildout/eggs/grokcore.formlib-1.5-py2.6.egg/grokcore/formlib/components.py', line 91 in __call__<br /> return self.render()<br />File '/root/.buildout/eggs/grokcore.formlib-1.5-py2.6.egg/grokcore/formlib/components.py', line 74 in render<br /> self.form_result = self._render_template()<br />File '/root/.buildout/eggs/grokcore.view-1.13.2-py2.6.egg/grokcore/view/components.py', line 104 in _render_template<br /> return self.template.render(self)<br />File '/root/.buildout/eggs/grokcore.view-1.13.2-py2.6.egg/grokcore/view/components.py', line 245 in render<br /> return template.pt_render(namespace)<br />File '/root/.buildout/eggs/zope.pagetemplate-3.5.0-py2.6.egg/zope/pagetemplate/pagetemplate.py', line 115 in pt_render<br /> strictinsert=0, sourceAnnotations=sourceAnnotations)()<br />File '/root/.buildout/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py', line 271 in __call__<br /> self.interpret(self.program)<br />File '/root/.buildout/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py', line 343 in interpret<br /> handlers[opcode](self, args)<br />File '/root/.buildout/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py', line 821 in do_loop_tal<br /> self.interpret(block)<br />File '/root/.buildout/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py', line 343 in interpret<br /> handlers[opcode](self, args)<br />File '/root/.buildout/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py', line 533 in do_optTag_tal<br /> self.do_optTag(stuff)<br />File '/root/.buildout/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py', line 518 in do_optTag<br /> return self.no_tag(start, program)<br />File '/root/.buildout/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py', line 513 in no_tag<br /> self.interpret(program)<br />File '/root/.buildout/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py', line 343 in interpret<br /> handlers[opcode](self, args)<br />File '/root/.buildout/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py', line 742 in do_insertStructure_tal<br /> structure = self.engine.evaluateStructure(expr)<br />Line 52, Column 16<br />In expression: <PathExpr standard:u'widget'><br /> - Names:<br /> {'args': (),<br /> 'context': <foo.app.foo object at 0x29efaa0>,<br /> 'default': <object object at 0x7f4a2fe79ac0>,<br /> 'loop': {},<br /> 'nothing': None,<br /> 'options': {},<br /> 'repeat': {},<br /> 'request': <zope.publisher.browser.BrowserRequest instance URL=http://localhost:8020/Foo/admin>,<br /> 'static': <grokcore.view.components.DirectoryResource object at 0x2783850>,<br /> 'template': <grokcore.view.components.TrustedFilePageTemplate object at 0x3514150>,<br /> 'view': <foo.app.FooEditForm object at 0x2783610>}<br />File '/root/.buildout/eggs/zope.tales-3.5.0-py2.6.egg/zope/tales/tales.py', line 696 in evaluate<br /> return expression(self)<br />File '/root/.buildout/eggs/zope.tales-3.5.0-py2.6.egg/zope/tales/expressions.py', line 217 in __call__<br /> return self._eval(econtext)<br />File '/root/.buildout/eggs/zope.tales-3.5.0-py2.6.egg/zope/tales/expressions.py', line 211 in _eval<br /> return ob()<br />File '/usr/local/lib/python2.6/site-packages/z3c.listjs-1.0b1-py2.6.egg/z3c/listjs/widget.py', line 25 in __call__<br /> listjs_js.need()<br />File '/usr/local/lib/python2.6/site-packages/hurry.resource-0.9-py2.6.egg/hurry/resource/core.py', line 113 in need<br /> interfaces.ICurrentNeededInclusions)()<br />File '/root/.buildout/eggs/zope.component-3.9.1-py2.6.egg/zope/component/_api.py', line 171 in getUtility<br /> raise ComponentLookupError(interface, name)<br />ComponentLookupError: (<InterfaceClass hurry.resource.interfaces.ICurrentNeededInclusions>, '')<br /><br />Is it related to my installation? I had to install z3c.listjs with easy_install. Buildout would not do it if I included it in the requirements section of setup.py. Therefore, I have some eggs in /usr/local/lib/... vs. the .buildout directory.<br />
<div class="signature"><br /><br /><br />-- <br />GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!<br />Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01</div></body>
</html>