binux / lixian.xunlei

xunlei lixian api & a website project base on it & a plugin for flexget
http://loli.lu/
362 stars 61 forks source link

请帮我看看这个错误是什么原因的~ #17

Closed 375773039 closed 12 years ago

375773039 commented 12 years ago

[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

binux commented 12 years ago

你填密码了吗?

375773039 commented 12 years ago

现在行了 现在出现一个问题就是我用“添加资源”和“获取离线地址”这两个功能的时候 就会自动崩溃掉 提示如下:

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, '')

binux commented 12 years ago

如果是这个的话,windows可能用不了

375773039 commented 12 years ago

~能不能完善一下啊 ^_^

binux commented 12 years ago

让windows完善下吧