V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
misaka
V2EX  ›  V2EX

@Livid 刚刚在回复里输入了 iOS 表情结果报错了 (> <)

  •  
  •   misaka · Feb 12, 2014 via iPad · 4208 views
    This topic created in 4461 days ago, the information mentioned may be changed or developed.
    Traceback (most recent call last):
    File "/Library/Python/2.7/site-packages/tornado/web.py", line 1141, in _when_complete
    callback()
    File "/Library/Python/2.7/site-packages/tornado/web.py", line 1162, in _execute_method
    self._when_complete(method(*self.path_args, **self.path_kwargs),
    File "/www/v2ex/galaxy/handlers/web/topic.py", line 510, in post
    self.store.flush()
    File "/Library/Python/2.7/site-packages/storm/store.py", line 501, in flush
    self._flush_one(obj_info)
    File "/Library/Python/2.7/site-packages/storm/store.py", line 538, in _flush_one
    result = self._connection.execute(expr)
    File "/Library/Python/2.7/site-packages/storm/databases/mysql.py", line 88, in execute
    result = Connection.execute(self, statement, params)
    File "/Library/Python/2.7/site-packages/storm/database.py", line 241, in execute
    raw_cursor = self.raw_execute(statement, params)
    File "/Library/Python/2.7/site-packages/storm/database.py", line 374, in raw_execute
    self._run_execution(raw_cursor, args, params, statement)
    File "/Library/Python/2.7/site-packages/storm/database.py", line 388, in _run_execution
    self._check_disconnect(raw_cursor.execute, *args)
    File "/Library/Python/2.7/site-packages/storm/database.py", line 454, in _check_disconnect
    return function(*args, **kwargs)
    File "/Library/Python/2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
    self.errorhandler(self, exc, value)
    File "/Library/Python/2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
    OperationalError: (1366, "Incorrect string value: '\\xF0\\x9F\\x91\\x8D' for column 'content' at row 1")
    8 replies    1970-01-01 08:00:00 +08:00
    rrfeng
        1
    rrfeng  
       Feb 12, 2014
    \\xF0\\x9F\\x91\\x8D
    是什麽
    dndx
        2
    dndx  
       Feb 12, 2014
    看这 path ,难道 V2EX 现在跑在 Mac 服务器上?
    Livid
        3
    Livid  
    MOD
    PRO
       Feb 12, 2014
    MySQL 字符集的问题。
    Livid
        4
    Livid  
    MOD
    PRO
       Feb 12, 2014
    找到解决方案了。但是需要找一个人少的时段部署。

    谢谢反馈。
    misaka
        5
    misaka  
    OP
       Feb 12, 2014 via iPad
    @Livid 辛苦啦 )

    @rrfeng iOS 下 “赞” 的表情。
    Livid
        6
    Livid  
    MOD
    PRO
       Feb 13, 2014
    @misaka 现在回复里已经可以支持 emoji 了

    😄
    misaka
        7
    misaka  
    OP
       Feb 13, 2014 via iPad
    @Livid 好棒 👍
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2463 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 05:59 · PVG 13:59 · LAX 22:59 · JFK 01:59
    ♥ Do have faith in what you're doing.