[ZO-Coll] [ZOC] 152/ 2 Resolve "Cannot edit HowTos"

Collector: NEW Zope.org (the ... zope-web at zope.org
Mon Aug 25 19:01:17 EDT 2003


Issue #152 Update (Resolve) "Cannot edit HowTos"
 Status Resolved, functionality/bug medium
To followup, visit:
  http://collector.zope.org/ZopeOrg/152

==============================================================
= Resolve - Entry #2 by Brian on Aug 25, 2003 6:01 pm

 Status: Pending => Resolved

fixed
________________________________________
= Request - Entry #1 by jens on Aug 11, 2003 12:58 pm

After creating a HowTo editing it will produce these two errors:

**************
Traceback (innermost last):
  Module ZPublisher.Publish, line 98, in publish
  Module ZPublisher.mapply, line 83, in mapply
  Module ZPublisher.Publish, line 44, in missing_name
  Module ZPublisher.HTTPResponse, line 648, in badRequestError
BadRequest: <TABLE BORDER="0" WIDTH="100%">
<TR VALIGN="TOP">

<TD WIDTH="10%" ALIGN="CENTER">
&nbsp;
</TD>

<TD WIDTH="90%">
  <H2>Site Error</H2>
  <P>An error was encountered while publishing this resource.
  </P>
  <P><STRONG>Invalid request</STRONG></P>

  The parameter, <em>file</em>, was omitted from the request.<p>Make sure to specify all required parameters, and try the request again.
  <HR NOSHADE>

  <P>Troubleshooting Suggestions</P>

  <UL>
  <LI>The URL may be incorrect.</LI>
  <LI>The parameters passed to this resource may be incorrect.</LI>
  <LI>A resource that this resource relies on may be
      encountering an error.</LI>
  </UL>

  <P>For more detailed information about the error, please
  refer to the error log.
  </P>

  <P>If the error persists please contact the site maintainer.
  Thank you for your patience.
  </P>
</TD></TR>
</TABLE>
**************

**************
Traceback (innermost last):
  Module ZPublisher.Publish, line 98, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module Products.CMFCore.FSPythonScript, line 92, in __call__
  Module Shared.DC.Scripts.Bindings, line 252, in __call__
  Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 126, in _exec
   - __traceback_info__: ({'traverse_subpath': [], 'container': <PloneSite instance at 40c657e0>, 'context': <PloneFolder instance at a828020>, 'script': <FSPythonScript at /zopeorg/howto_edit used for /zopeorg/Members/Zen/tips>}, ('structured-text', 'This technique is extremly usesful if your ZSQL methods are throwing exceptions like \'ambiguous column\' and giving you no clue as to where the error is. Simply create a DTMLMethod like the one below, grab the generated SQL and paste it into another tool that will give you more informative feedback (eg. SQL*Plus)::\n\n  <dtml-call "REQUEST.set(\'myArg\',\'testacct\')">\n  <pre>\n  <dtml-var "qMyZSQLQuery(REQUEST,src__=1)">\n  </pre>\n\nThe magic here is the \'src__=1\' argument which tells the ZSQL method that we want to view the SQL rather than execute it and return the results.', <ZPublisher.HTTPRequest.FileUpload instance at 0x1186cd6c>, '1059752610.62'), {}, None)
  Module Script (Python), line 1, in howto_edit
TypeError: edit() takes at most 3 arguments (5 given)
*****************
==============================================================




More information about the Zopeorg-collector mailing list