[I 120608 12:35:02 connectionpool:190] Starting new HTTP connection (1): login.x
unlei.com
Traceback (most recent call last):
File "main.py", line 100, in
main()
File "main.py", line 93, in main
http_server = HTTPServer(Application(), xheaders=True)
File "main.py", line 76, in init
password = options.password
File "c:\lx\libs\db_task_manager.py", line 56, in init
self.islogin = self._xunlei.login(self.username, self.password)
File "c:\lx\libs\lixian_api.py", line 71, in login
p = hex_md5(hex_md5(hex_md5(password))+verifycode.upper()),
File "c:\lx\libs\lixian_api.py", line 24, in hex_md5
return md5(string).hexdigest()
TypeError: must be string or buffer, not None
Traceback (most recent call last):
File "C:\py\lixian\main.py", line 100, in
main()
File "C:\py\lixian\main.py", line 97, in main
IOLoop.instance().start()
File "C:\Python27\lib\site-packages\tornado-2.3-py2.7.egg\tornado\ioloop.py",
line 301, in start
event_pairs = self._impl.poll(poll_timeout)
File "C:\Python27\lib\site-packages\tornado-2.3-py2.7.egg\tornado\ioloop.py",
line 639, in poll
self.read_fds, self.write_fds, self.error_fds, timeout)
select.error: (10038, '')
[I 120608 12:35:02 connectionpool:190] Starting new HTTP connection (1): login.x unlei.com Traceback (most recent call last): File "main.py", line 100, in
main()
File "main.py", line 93, in main
http_server = HTTPServer(Application(), xheaders=True)
File "main.py", line 76, in init
password = options.password
File "c:\lx\libs\db_task_manager.py", line 56, in init
self.islogin = self._xunlei.login(self.username, self.password)
File "c:\lx\libs\lixian_api.py", line 71, in login
p = hex_md5(hex_md5(hex_md5(password))+verifycode.upper()),
File "c:\lx\libs\lixian_api.py", line 24, in hex_md5
return md5(string).hexdigest()
TypeError: must be string or buffer, not None