Mon 02 Nov 2009 02:39:46 PM UTC, comment #1:
another type of error for the same issue
2009-11-02 14:10:34+0000 [HTTPChannel,47,222.252.124.196] PokerResource: (client-ip:222.252.124.196) render {"type":"PacketPokerPersonalInfo","firstname":"Ki·ªÅu Minh","serial":44483,"lastname":"L√
2009-11-02 14:10:34+0000 [HTTPChannel,47,222.252.124.196] Unhandled Error
Traceback (most recent call last):
File "/root/poker/twisted/protocols/basic.py", line 239, in dataReceived
return self.rawDataReceived(data)
File "/root/poker/twisted/web/http.py", line 1117, in rawDataReceived
self.allContentReceived()
File "/root/poker/twisted/web/http.py", line 1108, in allContentReceived
req.requestReceived(command, path, version)
File "/root/poker/twisted/web/http.py", line 626, in requestReceived
self.process()
--- <exception caught here> ---
File "/root/poker/twisted/web/server.py", line 150, in process
self.render(resrc)
File "/root/poker/twisted/web/server.py", line 157, in render
body = resrc.render(self)
File "/root/poker/pokernetwork/pokersite.py", line 209, in render
args = simplejson.loads(data, encoding = 'UTF-8')
File "build/bdist.linux-x86_64/egg/simplejson/__init__.py", line 318, in loads
File "build/bdist.linux-x86_64/egg/simplejson/decoder.py", line 335, in decode
File "build/bdist.linux-x86_64/egg/simplejson/decoder.py", line 351, in raw_decode
exceptions.ValueError: Unterminated string starting at: line 1 column 86 (char 86)
|
Mon 02 Nov 2009 02:15:37 PM UTC, original submission:
Here's the server log from 1.7.5 /POKER_REST:
<pre>
2009-11-02 00:56:32+0000 [HTTPChannel,12036,60.54.195.102] PokerResource: (client-ip:60.54.195.102) render {"serial":37617,"firstname":"宝贝","type":"PacketPokerPersonalInfo","lastname":
2009-11-02 00:56:32+0000 [HTTPChannel,12036,60.54.195.102] Unhandled Error
Traceback (most recent call last):
File "/root/poker/twisted/protocols/basic.py", line 239, in dataReceived
return self.rawDataReceived(data)
File "/root/poker/twisted/web/http.py", line 1117, in rawDataReceived
self.allContentReceived()
File "/root/poker/twisted/web/http.py", line 1108, in allContentReceived
req.requestReceived(command, path, version)
File "/root/poker/twisted/web/http.py", line 626, in requestReceived
self.process()
--- <exception caught here> ---
File "/root/poker/twisted/web/server.py", line 150, in process
self.render(resrc)
File "/root/poker/twisted/web/server.py", line 157, in render
body = resrc.render(self)
File "/root/poker/pokernetwork/pokersite.py", line 209, in render
args = simplejson.loads(data, encoding = 'UTF-8')
File "build/bdist.linux-x86_64/egg/simplejson/__init__.py", line 318, in loads
File "build/bdist.linux-x86_64/egg/simplejson/decoder.py", line 335, in decode
File "build/bdist.linux-x86_64/egg/simplejson/decoder.py", line 353, in raw_decode
exceptions.ValueError: No JSON object could be decoded
</pre>
|