Description
Describe the bug...
Steps to reproduce
- do this... Go to gui edit, there is no window with scroll bar shown. Do see the menu bar.
Example
Component selection
- general
Details
<!--: spam Content-Type: text/html
<body><font style="color: white; font-size: 1px"> --> <body><font style="color: white; font-size: 1px"> --> --> </font> </font> </font> </script> </object> </blockquote> </pre> </table> </table> </table> </table> </table> </font> </font> </font> <div class="cgitb"> <script type="text/javascript"> function toggleDebugInfo() {
- var tb = document.getElementById('debug-info'); if (tb == null) return;
tb.style.display = tb.style.display ? : 'none';
} </script> <style type="text/css"> .cgitb {background: #E6EAF0; border: 1px solid #4D6180; direction: ltr;} .cgitb p {margin: 0.5em 0; padding: 5px 10px; text-align: left;} .cgitb ol {margin: 0} .cgitb li {margin: 0.25em 0;} .cgitb h1, .cgitb h2, .cgitb h3 {padding: 5px 10px; margin: 0; background: #4D6180; color: white;} .cgitb h1 {font-size: 1.3em;} .cgitb h2 {font-size: 1em; margin-top: 1em;} .cgitb h3 {font-size: 1em;} .cgitb .frames {margin: 0; padding: 0; color: #606060} .cgitb .frames li {display: block;} .cgitb .call {padding: 5px 10px; background: #A3B4CC; color: black} .cgitb .context {padding: 0; font-family: monospace; } .cgitb .context li {display: block; white-space: pre;} .cgitb .context li.highlight {background: #C0D3F0; color: black} .cgitb .variables {padding: 5px 10px; font-family: monospace;} .cgitb .variables li {display: inline;} .cgitb .variables li:after {content: ", ";} .cgitb .variables li:last-child:after {content: "";} .cgitb .exception {border: 1px solid #4D6180; margin: 10px} .cgitb .exception h3 {background: #4D6180; color: white;} .cgitb .exception p {color: black;} .cgitb .exception ul {padding: 0 10px; font-family: monospace;} .cgitb .exception li {display: block;}
.cgitb .buttons {margin: 0.5em 0; padding: 5px 10px;} .cgitb .buttons li {display: inline; margin: 0; padding: 0 0.25em;} </style><h1>ConvertError</h1> <p>ExpatError: mismatched tag: line 376, column 699 (see dump in /home/zhuw/share/moin/casWiki/data/expaterror.log)</p> <p>If you want to report a bug, please save this page and attach it to your bug report.</p> <ul class="buttons"> <li><a href="javascript:toggleDebugInfo()">Show debugging information</a> </li> <li><a href="http://moinmoin.wikiwikiweb.de/MoinMoinBugs">Report bug</a> </li> <li><a href="http://moinmoin.wikiwikiweb.de/FrontPage">Visit MoinMoin wiki</a> </li> </ul> <div id="debug-info"> <script type="text/javascript">toggleDebugInfo()</script> <div class="traceback"><h2>Traceback</h2> <p>A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the order they occurred.</p>
<ol class="frames"> <li><p class="call"><a href="file:///home/zhuw/lib/python2.4/site-packages/MoinMoin/request.py">/home/zhuw/lib/python2.4/site-packages/MoinMoin/request.py</a>
in <strong>run</strong>
(self=<MoinMoin.request.RequestCGI object>)</p> <ol class="context"> <li> 1170 self.page.send_page(self, msg=msg) </li> <li> 1171 else: </li> <li class="highlight"> 1172 handler(self.page.page_name, self) </li> <li> 1173 </li> <li> 1174 # generate page footer (actions that do not want this footer use </li>
</ol> <ul class="variables"> <li><strong>handler</strong>
= <function do_edit></li>
<li><strong>self</strong>
= <MoinMoin.request.RequestCGI object></li>
<li>self.<strong>page</strong>
= <MoinMoin.Page.Page instance></li>
<li>self.page.<strong>page_name</strong>
= u'FrontPage'</li>
</ul> </li> <li><p class="call"><a href="file:///home/zhuw/lib/python2.4/site-packages/MoinMoin/wikiaction.py">/home/zhuw/lib/python2.4/site-packages/MoinMoin/wikiaction.py</a>
in <strong>do_edit</strong>
(pagename=u'FrontPage', request=<MoinMoin.request.RequestCGI object>)</p> <ol class="context"> <li> 597 try: </li> <li> 598 if lasteditor == 'gui': </li> <li class="highlight"> 599 savetext = convert(request, pagename, savetext) </li> <li> 600 </li> <li> 601 # IMPORTANT: normalize text from the form. This should be done in </li>
</ol> <ul class="variables"> <li><strong>savetext</strong>
= u'<pre class="comment">## Please edit system and h..._dte/cgi-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. '</li>
<li><strong>convert</strong>
= <function convert></li>
<li><strong>request</strong>
= <MoinMoin.request.RequestCGI object></li>
<li><strong>pagename</strong>
= u'FrontPage'</li>
</ul> </li> <li><p class="call"><a href="file:///home/zhuw/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py">/home/zhuw/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py</a>
in <strong>convert</strong>
(request=<MoinMoin.request.RequestCGI object>, pagename=u'FrontPage', text=u'<page><pre class="comment">## Please edit system...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>')</p> <ol class="context"> <li> 1218 def convert(request, pagename, text): </li> <li> 1219 text = u"<page>%s</page>" % text </li> <li class="highlight"> 1220 tree = parse(request, text) </li> <li> 1221 strip_whitespace().do(tree) </li> <li> 1222 text = convert_tree(request, pagename).do(tree) </li>
</ol> <ul class="variables"> <li>tree <em>undefined</em> </li> <li><em>global</em>
<strong>parse</strong> = <function parse></li>
<li><strong>request</strong>
= <MoinMoin.request.RequestCGI object></li>
<li><strong>text</strong>
= u'<page><pre class="comment">## Please edit system...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>'</li>
</ul> </li> <li><p class="call"><a href="file:///home/zhuw/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py">/home/zhuw/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py</a>
in <strong>parse</strong>
(request=<MoinMoin.request.RequestCGI object>, text='<?xml version="1.0"?><font color="#c040c0">\n</font><!DOCTYPE html [<font color="#c040c0">\n</font><!ENTITY ...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>')</p> <ol class="context"> <li> 1214 f.write("\n" + "-"*80 + "\n" + str(msg)) </li> <li> 1215 f.close() </li> <li class="highlight"> 1216 raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname)) </li> <li> 1217 </li> <li> 1218 def convert(request, pagename, text): </li>
</ol> <ul class="variables"> <li><em>global</em>
<strong>ConvertError</strong> = <class MoinMoin.converter.text_html_text_x_moin.ConvertError></li>
<li><strong>msg</strong>
= <xml.parsers.expat.ExpatError instance></li>
<li><strong>logname</strong>
= '/home/zhuw/share/moin/casWiki/data/expaterror.log'</li>
</ul> </li> </ol> <div class="exception"><h3>ConvertError</h3> <p>ExpatError: mismatched tag: line 376, column 699 (see dump in /home/zhuw/share/moin/casWiki/data/expaterror.log)</p> <ul> <li>exceptions = <bound method ConvertError.exceptions of <MoinMo...ter.text_html_text_x_moin.ConvertError instance>></li> <li>innerException = (<class xml.parsers.expat.ExpatError>, <xml.parsers.expat.ExpatError instance>, <traceback object>)</li> <li>message = 'ExpatError: mismatched tag: line 376, column 699...home/zhuw/share/moin/casWiki/data/expaterror.log)'</li> <li>name = 'MoinMoin Convert Error'</li> </ul> </div> </div> <div class="traceback"><h2>Traceback</h2> <p>A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the order they occurred.</p>
<ol class="frames"> <li><p class="call"><a href="file:///home/zhuw/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py">/home/zhuw/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py</a>
in <strong>parse</strong>
(request=<MoinMoin.request.RequestCGI object>, text='<?xml version="1.0"?><font color="#c040c0">\n</font><!DOCTYPE html [<font color="#c040c0">\n</font><!ENTITY ...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>')</p> <ol class="context"> <li> 1206 text = text.encode(config.charset) </li> <li> 1207 try: </li> <li class="highlight"> 1208 return xml.dom.minidom.parseString(text) </li> <li> 1209 except xml.parsers.expat.ExpatError, msg: </li> <li> 1210 # this sometimes crashes when it should not, so save the stuff to analyze it: </li>
</ol> <ul class="variables"> <li><em>global</em>
<strong>xml</strong> = <module 'xml' from '/usr/local/lib/python2.4/xml/init.py'></li>
<li>xml.<strong>dom</strong>
= <module 'xml.dom' from '/usr/local/lib/python2.4/xml/dom/init.py'></li>
<li>xml.dom.<strong>minidom</strong>
= <module 'xml.dom.minidom' from '/usr/local/lib/python2.4/xml/dom/minidom.py'></li>
<li>xml.dom.minidom.<strong>parseString</strong>
= <function parseString></li>
<li><strong>text</strong>
= '<?xml version="1.0"?><font color="#c040c0">\n</font><!DOCTYPE html [<font color="#c040c0">\n</font><!ENTITY ...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>'</li>
</ul> </li> <li><p class="call"><a href="file:///usr/local/lib/python2.4/xml/dom/minidom.py">/usr/local/lib/python2.4/xml/dom/minidom.py</a>
in <strong>parseString</strong>
(string='<?xml version="1.0"?><font color="#c040c0">\n</font><!DOCTYPE html [<font color="#c040c0">\n</font><!ENTITY ...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>', parser=None)</p> <ol class="context"> <li> 1923 if parser is None: </li> <li> 1924 from xml.dom import expatbuilder </li> <li class="highlight"> 1925 return expatbuilder.parseString(string) </li> <li> 1926 else: </li> <li> 1927 from xml.dom import pulldom </li>
</ol> <ul class="variables"> <li><strong>expatbuilder</strong>
= <module 'xml.dom.expatbuilder' from '/usr/local/lib/python2.4/xml/dom/expatbuilder.py'></li>
<li>expatbuilder.<strong>parseString</strong>
= <function parseString></li>
<li><strong>string</strong>
= '<?xml version="1.0"?><font color="#c040c0">\n</font><!DOCTYPE html [<font color="#c040c0">\n</font><!ENTITY ...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>'</li>
</ul> </li> <li><p class="call"><a href="file:///usr/local/lib/python2.4/xml/dom/expatbuilder.py">/usr/local/lib/python2.4/xml/dom/expatbuilder.py</a>
in <strong>parseString</strong>
(string='<?xml version="1.0"?><font color="#c040c0">\n</font><!DOCTYPE html [<font color="#c040c0">\n</font><!ENTITY ...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>', namespaces=1)</p> <ol class="context"> <li> 938 else: </li> <li> 939 builder = ExpatBuilder() </li> <li class="highlight"> 940 return builder.parseString(string) </li> <li> 941 </li> <li> 942 </li>
</ol> <ul class="variables"> <li><strong>builder</strong>
= <xml.dom.expatbuilder.ExpatBuilderNS instance></li>
<li>builder.<strong>parseString</strong>
= <bound method ExpatBuilderNS.parseString of <xml.dom.expatbuilder.ExpatBuilderNS instance>></li>
<li><strong>string</strong>
= '<?xml version="1.0"?><font color="#c040c0">\n</font><!DOCTYPE html [<font color="#c040c0">\n</font><!ENTITY ...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>'</li>
</ul> </li> <li><p class="call"><a href="file:///usr/local/lib/python2.4/xml/dom/expatbuilder.py">/usr/local/lib/python2.4/xml/dom/expatbuilder.py</a>
in <strong>parseString</strong>
(self=<xml.dom.expatbuilder.ExpatBuilderNS instance>, string='<?xml version="1.0"?><font color="#c040c0">\n</font><!DOCTYPE html [<font color="#c040c0">\n</font><!ENTITY ...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>')</p> <ol class="context"> <li> 221 parser = self.getParser() </li> <li> 222 try: </li> <li class="highlight"> 223 parser.Parse(string, True) </li> <li> 224 self._setup_subset(string) </li> <li> 225 except ParseEscape: </li>
</ol> <ul class="variables"> <li><strong>parser</strong>
= <pyexpat.xmlparser object></li>
<li>parser.<strong>Parse</strong>
= <built-in method Parse of pyexpat.xmlparser object></li>
<li><strong>string</strong>
= '<?xml version="1.0"?><font color="#c040c0">\n</font><!DOCTYPE html [<font color="#c040c0">\n</font><!ENTITY ...i-bin/casWiki.cgi/MoinMoin">MoinMoin</a>. </page>'</li>
<li><em>builtin</em>
<strong>True</strong> = True</li>
</ul> </li> </ol> <div class="exception"><h3>ExpatError</h3> <p>mismatched tag: line 376, column 699</p> <ul> <li>args = ('mismatched tag: line 376, column 699',)</li> <li>code = 7</li> <li>lineno = 376</li> <li>offset = 699</li> </ul> </div> </div> <h2>System Details</h2> <ul class="system"> <li>Date: Fri, 20 Apr 2007 20:59:59 +0000</li> <li>Platform: SunOS ccserv1 5.8 Generic_117350-25 sun4us</li> <li>Python: Python 2.4.2 (/usr/local/bin/python)</li> <li>MoinMoin: Release 1.5.7 (release)</li> </ul> </div>
<!-- The above is a description of an error in a Python program,
formatted for a Web browser. In case you are not reading this in a Web browser, here is the original traceback:
Traceback (most recent call last):
File "/home/zhuw/lib/python2.4/site-packages/MoinMoin/request.py", line 1172, in run
handler(self.page.page_name, self)
File "/home/zhuw/lib/python2.4/site-packages/MoinMoin/wikiaction.py", line 599, in do_edit
savetext = convert(request, pagename, savetext)
File "/home/zhuw/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py", line 1220, in convert
tree = parse(request, text)
File "/home/zhuw/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py", line 1216, in parse
raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))
ConvertError: ExpatError: mismatched tag: line 376, column 699 (see dump in /home/zhuw/share/moin/casWiki/data/expaterror.log) Traceback (most recent call last):
File "/home/zhuw/lib/python2.4/site-packages/MoinMoin/converter/text_html_text_x_moin.py", line 1208, in parse
return xml.dom.minidom.parseString(text)
File "/usr/local/lib/python2.4/xml/dom/minidom.py", line 1925, in parseString
return expatbuilder.parseString(string)
File "/usr/local/lib/python2.4/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/local/lib/python2.4/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
ExpatError: mismatched tag: line 376, column 699
--> </div>
MoinMoin Version |
|
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
Discussion
We need the traceback as traceback.html (save the file with your browser when you get the traceback).
We need the wiki content of the page where it crashed.
If you also could provide the html content (see gui editor html source function), it would be good to debug.
We need the version ... stuff filled out.
Plan
Priority:
Assigned to:
Status: