Lalone
V2EX  ›  反馈

500错误后页面显示信息乱码

  •  
  •   Lalone · Feb 27, 2013 · 4757 views
    This topic created in 4827 days ago, the information mentioned may be changed or developed.
    500错误后页面显示信息乱码



    提交主题报错
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1042, in _execute
    getattr(self, self.request.method.lower())(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1809, in wrapper
    return method(self, *args, **kwargs)
    File "/www/v2ex/galaxy/handlers/web/topic.py", line 73, in post
    topic_title = self.get_argument('title').strip()
    File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 311, in get_argument
    args = self.get_arguments(name, strip=strip)
    File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 327, in get_arguments
    v = self.decode_argument(v, name=name)
    File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 350, in decode_argument
    return _unicode(value)
    File "/usr/local/lib/python2.7/dist-packages/tornado/escape.py", line 183, in to_unicode
    return value.decode("utf-8")
    File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
    UnicodeDecodeError: 'utf8' codec can't decode byte 0xb4 in position 3: invalid start byte
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2863 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 94ms · UTC 10:38 · PVG 18:38 · LAX 03:38 · JFK 06:38
    ♥ Do have faith in what you're doing.