Stephan and Hermann,<br><br>Thank you both so much for all of your help; I can now display my object -- it turned out that my z3c.form had not put its configs in my package-includes, so Stephan's #3 made my display work. Of course, I also fixed some other things that you both suggested, so I know I had other problems. Unfortunately, when I try to use either add or edit, I get the following now:
<br><br>for edit.html I get<br><br><div style="margin-left: 40px;"><a href="http://127.0.0.1">127.0.0.1</a> - - [05/Jul/2007:21:03:22 -0400] "GET /++skin++MovingTargetBrowser/viewguy/edit.html HTTP/1.1" 500 201 "-" "Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:
<a href="http://1.8.1.4">1.8.1.4</a>) Gecko/20070515 Firefox/2.0.0.4"<br>exceptions.RuntimeError:<br>maximum recursion depth exceeded<br>> /opt/zope/zope-3.4.0a1/lib/python/zope/tal/talinterpreter.py(379)do_startEndTag()
<br>-> self.do_startTag(stuff, self.endsep, self.endlen)<br></div><br>I pasted the full trackback for edit here: <a href="http://paste.plone.org/15590">http://paste.plone.org/15590</a><br><br>For addNextAction.html, I get
<br><br><div style="margin-left: 40px;"><a href="http://127.0.0.1">127.0.0.1</a> - - [05/Jul/2007:21:04:37 -0400] "GET /++skin++MovingTargetBrowser/viewguy/edit.html HTTP/1.1" 500 201 "-" "Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:
<a href="http://1.8.1.4">1.8.1.4</a>) Gecko/20070515 Firefox/2.0.0.4"<br>exceptions.RuntimeError:<br>maximum recursion depth exceeded<br>> /opt/zope/zope-3.4.0a1/lib/python/zope/tal/talinterpreter.py(226)StringIO()
<br>-> return FasterStringIO()<br></div><br>I pasted the full traceback for add here: <a href="http://paste.plone.org/15589">http://paste.plone.org/15589</a><br><br>The tracebacks are 1600+ lines long, so I'm having a little trouble working my way through them to decipher my error, so if anyone has any idea what I've done wrong or has seen anything similar, I'd be grateful to hear.
<br><br>Thank you all for all the help you've already given.<br><br>Best,<br>Matt<br><br><div><span class="gmail_quote">On 7/4/07, <b class="gmail_sendername">Stephan Richter</b> <<a href="mailto:srichter@cosmos.phy.tufts.edu">
srichter@cosmos.phy.tufts.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wednesday 04 July 2007 12:59, Matt Bowen wrote:
<br>> File "/opt/zope/python2.4/lib/python2.4/site-packages/z3c.form-<br>> 1.3.0-py2.4.egg/z3c/form/form.py", line 144, in __call__<br>> self.update()<br>> File "/opt/zope/python2.4/lib/python2.4/site-packages/z3c.form-
<br>> 1.3.0-py2.4.egg/z3c/form/form.py", line 139, in update<br>> super(Form, self).update()<br>> File "/opt/zope/python2.4/lib/python2.4/site-packages/z3c.form-<br>> 1.3.0-py2.4.egg/z3c/form/form.py", line 88, in update
<br>> self.updateWidgets()<br>> File "/opt/zope/python2.4/lib/python2.4/site-packages/z3c.form-<br>> 1.3.0-py2.4.egg/z3c/form/form.py", line 167, in updateWidgets<br>> self.widgets = zope.component.getMultiAdapter
(<br>> File "/opt/zope/zope-3.4.0a1/lib/python/zope/component/_api.py", line<br>> 103, in getMultiAdapter<br>> raise ComponentLookupError(objects, interface, name)<br>> zope.component.interfaces.ComponentLookupError
: ((<<br>> z3c.pagelet.zcml.NextActionAddForm object at 0x2b69896b4850>, <<br>> zope.publisher.browser.BrowserRequest instance URL=<br>> <a href="http://localhost:9080/++skin++MovingTargetBrowser/addNextAction.html">
http://localhost:9080/++skin++MovingTargetBrowser/addNextAction.html</a>>, <<br>> zope.app.folder.folder.Folder object at 0x2b69896eb0c8>), <InterfaceClass<br>> z3c.form.interfaces.IWidgets>, u'')
<br><br>This error tells you that the "widget manager" (implementing ``IWidgets``)<br>cannot be found for your (form, request, context) discriminator. This can<br>really just mean one of the following three things:
<br><br>1. Your skin "MovingTargetBrowser" does *not* inherit from the ``IFormLayer``<br>skin. Can you show us your skin definition in Python and the registration in<br>ZCML?<br><br>2. Your form does not provide ``IFieldsForm``. What does the following return?
<br><br> >>> from z3c.form import interfaces<br> >>> interfaces.IFieldsForm.providedBy(form)<br><br> Can you paste your form Python code and the registration?<br><br>3. You did not hook up the ZCML files of
z3c.form? Are you sure<br>z3c/form/configure.zcml is loaded? This can be checked by causing a syntax<br>error in that file and see whether the startup also breaks.<br><br>> I keep reading over the .txt files in z3c.form
, and I feel like I may be<br>> missing some line. Do I need a datamanager? My schema is pretty<br>> straightforward:<br><br>No, the data manager and everything else is defined for the common case you<br>are having.
<br><br>Regards,<br>Stephan<br>--<br>Stephan Richter<br>CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)<br>Web2k - Web Software Design, Development and Training<br></blockquote></div><br>