V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Lalone
V2EX  ›  反馈

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

  •  
  •   Lalone · 2013-02-27 12:10:42 +08:00 · 4005 次点击
    这是一个创建于 4323 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2831 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 14:27 · PVG 22:27 · LAX 06:27 · JFK 09:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.