[Zope] parse error message doesn't render properly in 2.0.0b1

bruce@perens.com bruce@perens.com
28 Jul 1999 05:11:10 -0000


Here's a parse error report from Zope 2.0.0b1.
Please take a look at the line starting with "  invalid parameter: ".
Note that nothing after the double-quotes is going to render. This can
be a real pain if your user is pasting an error report into e-mail.

	Thanks

	Bruce

<HTML>
<HEAD><TITLE>Zope Error</TITLE></HEAD>
<BODY>

<TABLE BORDER="0" WIDTH="100%">
<TR VALIGN="TOP">

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

<TD WIDTH="90%">
  <H2>Zope Error</H2>
  <P>Zope has encountered an error while publishing this resource.
  </P>
  <P><STRONG>Document Template Parse Error</STRONG></P>
  
  invalid parameter: ""<!--#var site_url", for tag <!--#var "<!--#var site_url-->, on line 54 of posting<p>
<PRE>
Traceback (innermost last):
  File /var/www/Zope-2.0.0b1-src/lib/python/ZPublisher/Publish.py, line 256, in publish_module
  File /var/www/Zope-2.0.0b1-src/lib/python/ZPublisher/Publish.py, line 161, in publish
  File /var/www/Zope-2.0.0b1-src/lib/python/ZPublisher/mapply.py, line 154, in mapply
    (Object: manage_upload)
  File /var/www/Zope-2.0.0b1-src/lib/python/ZPublisher/Publish.py, line 98, in call_object
    (Object: manage_upload)
  File /var/www/Zope-2.0.0b1-src/lib/python/OFS/DTMLMethod.py, line 270, in manage_upload
    (Object: posting)
  File /var/www/Zope-2.0.0b1-src/lib/python/DocumentTemplate/DT_String.py, line 365, in munge
    (Object: posting)
  File /var/www/Zope-2.0.0b1-src/lib/python/DocumentTemplate/DT_String.py, line 381, in cook
    (Object: posting)
  File /var/www/Zope-2.0.0b1-src/lib/python/DocumentTemplate/DT_String.py, line 228, in parse
    (Object: posting)
  File /var/www/Zope-2.0.0b1-src/lib/python/DocumentTemplate/DT_String.py, line 276, in parse_block
    (Object: posting)
  File /var/www/Zope-2.0.0b1-src/lib/python/DocumentTemplate/DT_String.py, line 228, in parse
    (Object: posting)
  File /var/www/Zope-2.0.0b1-src/lib/python/DocumentTemplate/DT_String.py, line 276, in parse_block
    (Object: posting)
  File /var/www/Zope-2.0.0b1-src/lib/python/DocumentTemplate/DT_String.py, line 235, in parse
    (Object: posting)
  File /var/www/Zope-2.0.0b1-src/lib/python/DocumentTemplate/DT_String.py, line 126, in parse_error
    (Object: posting)
Document Template Parse Error: (see above)

</PRE>
  <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 HTML source for this page.
  </P>

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

</BODY>
</HTML>