pyspider安装github上最新版本后报 IOLoop is already running错误
在github上更新了最新版本,webui里debug的时候报错,windows上和linux上都如此,回退到老版本没有问题
}
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/pyspider-0.3.7-py3.4.egg/pyspider/run.py", line 360, in <lambda>
app.config['fetch'] = lambda x: webui_fetcher.fetch(x)[1]
File "/usr/local/lib/python3.4/dist-packages/pyspider-0.3.7-py3.4.egg/pyspider/fetcher/tornado_fetcher.py", line 109, in fetch
return self.ioloop.run_sync(functools.partial(self.async_fetch, task, callback))
File "/usr/local/lib/python3.4/dist-packages/tornado/ioloop.py", line 448, in run_sync
self.start()
File "/usr/local/lib/python3.4/dist-packages/tornado/ioloop.py", line 748, in start
raise RuntimeError("IOLoop is already running")
RuntimeError: IOLoop is already running
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已在 https://github.com/binux/pyspider/commit/e5112a3d46d21fc561b2d6db40adb6de020d2f2c 中修复