waiducom / jaikuengine

Automatically exported from code.google.com/p/jaikuengine
Apache License 2.0
0 stars 0 forks source link

when i input http://localhost:8080/ in explore,Jaiku servie run errors like this UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-9: #180

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[Note: this is for reporting issues on the JaikuEngine open source project.
if you are reporting an issue with the jaiku.com service, please send it to
support@jaiku.com]

What steps will reproduce the problem?
1.start Jaiku servie
2.Input http://localhost:8080/ in explore
3.explore show HTTP 500 error

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
python 2.7 ,os window xp

Please provide any additional information below.

UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-9: ordin
al not in range(128)
INFO:root:"GET / HTTP/1.1" 500 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 4740)
Traceback (most recent call last):
  File "D:\Python27\lib\SocketServer.py", line 284, in _handle_request_noblock
    self.process_request(request, client_address)
  File "D:\Python27\lib\SocketServer.py", line 310, in process_request
    self.finish_request(request, client_address)
  File "D:\Python27\lib\SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "E:\SNS社区项目\SNS\源码\第三方\Jaiku\Jaiku\.google_appengine\google\appe
ngine\tools\dev_appserver.py", line 3887, in __init__
    BaseHTTPServer.BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
  File "D:\Python27\lib\SocketServer.py", line 641, in __init__
    self.finish()
  File "D:\Python27\lib\SocketServer.py", line 694, in finish
    self.wfile.flush()
  File "D:\Python27\lib\socket.py", line 303, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10054]

Original issue reported on code.google.com by Glory...@gmail.com on 18 Jun 2011 at 2:14