Unterschiede zwischen den Revisionen 1 und 2

Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 6: Zeile 6:
#format wiki #format xslt
--> -->

UnicodeDecodeError

'ascii' codec can't decode byte 0xc3 in position 306: ordinal not in range(128)

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /var/www/vhosts/moin.kordewiner.com/packages-1.5.7/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1170 self.page.send_page(self, msg=msg)
    2. 1171 else:
    3. 1172 handler(self.page.page_name, self)
    4. 1173
    5. 1174 # generate page footer (actions that do not want this footer use
    • handler = <function do_diff>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'XsltVersionDansk'
  2. /var/www/vhosts/moin.kordewiner.com/packages-1.5.7/MoinMoin/wikiaction.py in do_diff (pagename=u'XsltVersionDansk', request=<MoinMoin.request.RequestCGI object>)

    1. 170 from MoinMoin.util.diff import diff
    2. 171 request.write(diff(request, oldpage.get_raw_body(), newpage.get_raw_body()))
    3. 172 newpage.send_page(request, count_hit=0, content_only=1, content_id="content-below-diff")
    4. 173 else:
    5. 174 lines = wikiutil.linediff(oldpage.getlines(), newpage.getlines())
    • newpage = <MoinMoin.Page.Page instance>
    • newpage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
    • count_hit undefined
    • content_only undefined
    • content_id undefined
  3. /var/www/vhosts/moin.kordewiner.com/packages-1.5.7/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'content_id': 'content-below-diff', 'content_only': 1, 'count_hit': 0})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 7
  4. /var/www/vhosts/moin.kordewiner.com/packages-1.5.7/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.xslt.Parser>, body=u'<?xml version="1.0"?>\n\n<?xml-stylesheet href="Xs...rsion\')"/>\n </xsl:template>\n\n</xsl:stylesheet>\n', format_args=u'', do_cache=1, **kw={'start_line': 7})

    1. 1350 raise
    2. 1351 try:
    3. 1352 code = self.makeCache(request, parser)
    4. 1353 self.execute(request, parser, code)
    5. 1354 except Exception, e:
    • code = <code object ? at 0x10c9b70, file "XsltVersionDansk", line 2>
    • self = <MoinMoin.Page.Page instance>
    • self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
    • parser = <MoinMoin.parser.xslt.Parser instance>
  5. /var/www/vhosts/moin.kordewiner.com/packages-1.5.7/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.xslt.Parser instance>)

    1. 1408 saved_current_lang = request.current_lang
    2. 1409 try:
    3. 1410 text = request.redirectedOutput(parser.format, formatter)
    4. 1411 finally:
    5. 1412 request.current_lang = saved_current_lang
    • text undefined
    • request = <MoinMoin.request.RequestCGI object>
    • request.redirectedOutput = <bound method RequestCGI.redirectedOutput of <MoinMoin.request.RequestCGI object>>
    • parser = <MoinMoin.parser.xslt.Parser instance>
    • parser.format = <bound method Parser.format of <MoinMoin.parser.xslt.Parser instance>>
    • formatter = <MoinMoin.formatter.text_python.Formatter instance>
  6. /var/www/vhosts/moin.kordewiner.com/packages-1.5.7/MoinMoin/request.py in redirectedOutput (self=<MoinMoin.request.RequestCGI object>, function=<bound method Parser.format of <MoinMoin.parser.xslt.Parser instance>>, *args=(<MoinMoin.formatter.text_python.Formatter instance>,), **kw={})

    1. 746 finally:
    2. 747 self.redirect()
    3. 748 text = buffer.getvalue()
    4. 749 buffer.close()
    5. 750 return text
    • text undefined
    • buffer = <StringIO.StringIO instance>
    • buffer.getvalue = <bound method StringIO.getvalue of <StringIO.StringIO instance>>
  7. /usr/lib64/python2.6/StringIO.py in getvalue (self=<StringIO.StringIO instance>)

    1. 268 """
    2. 269 if self.buflist:
    3. 270 self.buf += ''.join(self.buflist)
    4. 271 self.buflist = []
    5. 272 return self.buf
    • self = <StringIO.StringIO instance>
    • self.buf = ''
    • ''.join = <built-in method join of str object>
    • self.buflist = [u'<div class="message">XSLT-Option ist abgeschalte...lpOnConfiguration">HelpOnConfiguration</a>.</div>', '<pre>', '&lt;?xml version="1.0"?&gt;\n\n&lt;?xml-stylesheet... &lt;/xsl:template&gt;\n\n&lt;/xsl:stylesheet&gt;\n', '</pre>']

UnicodeDecodeError

'ascii' codec can't decode byte 0xc3 in position 306: ordinal not in range(128)

  • args = ('ascii', '&lt;?xml version="1.0"?&gt;\n\n&lt;?xml-stylesheet... &lt;/xsl:template&gt;\n\n&lt;/xsl:stylesheet&gt;\n', 306, 307, 'ordinal not in range(128)')
  • encoding = 'ascii'
  • end = 307
  • message = ''
  • object = '&lt;?xml version="1.0"?&gt;\n\n&lt;?xml-stylesheet... &lt;/xsl:template&gt;\n\n&lt;/xsl:stylesheet&gt;\n'
  • reason = 'ordinal not in range(128)'
  • start = 306

System Details

  • Date: Fri, 20 Sep 2019 22:40:05 +0000
  • Platform: Linux cgn.cheeseburg.de 2.6.32-042stab138.1 #1 SMP Wed May 15 09:33:10 MSK 2019 x86_64
  • Python: Python 2.6.6 (/usr/bin/python)
  • MoinMoin: Release 1.5.7 (release)