首页 > pyspider安装github上最新版本后报 IOLoop is already running错误

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

已在 https://github.com/binux/pyspider/commit/e5112a3d46d21fc561b2d6db40adb6de020d2f2c 中修复

【热门文章】
【热门文章】