在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/Python/ pyspider 安裝后webui界面無法完全顯示

pyspider 安裝后webui界面無法完全顯示

我一直都在用pyspider做網(wǎng)絡(luò)爬蟲,但是最近運行程序發(fā)現(xiàn)了這樣一個問題:
在CMD輸入pyspider all之后,運行日志如下:
Microsoft Windows [版本 6.3.9600]
(c) 2013 Microsoft Corporation。保留所有權(quán)利。

C:\Users\wei>pyspider all
Web server running on port 25555
[I 180118 10:46:41 result_worker:49] result_worker starting...
[I 180118 10:46:43 processor:208] processor starting...
[I 180118 10:46:44 tornado_fetcher:508] fetcher starting...
c:\python27\lib\site-packages\pyspider\webui\index.py:11: ExtDeprecationWarning:
 Importing flask.ext.login is deprecated, use flask_login instead.
  from flask.ext import login
[I 180118 10:46:46 scheduler:569] scheduler starting...
[I 180118 10:46:46 scheduler:683] scheduler.xmlrpc listening on 127.0.0.1:23333
[I 180118 10:46:46 app:76] webui running on 0.0.0.0:5000
[I 180118 10:46:46 scheduler:68] project sinanews updated, status:TODO, paused:F
alse, 0 tasks
[I 180118 10:46:46 scheduler:68] project tianyancha2 updated, status:STOP, pause
d:False, 0 tasks
[I 180118 10:46:46 scheduler:68] project nationaldata updated, status:TODO, paus
ed:False, 0 tasks
[I 180118 10:46:46 scheduler:68] project Jd updated, status:TODO, paused:False,
0 tasks
[I 180118 10:46:46 scheduler:68] project text updated, status:RUNNING, paused:Fa
lse, 0 tasks
[I 180118 10:46:46 scheduler:68] project ifeng updated, status:STOP, paused:Fals
e, 0 tasks
[I 180118 10:46:46 scheduler:866] select text:_on_get_info data:,_on_get_info
[I 180118 10:46:46 scheduler:68] project KHTML updated, status:STOP, paused:Fals
e, 0 tasks
[I 180118 10:46:46 scheduler:68] project taobaom updated, status:TODO, paused:Fa
lse, 0 tasks
[I 180118 10:46:46 scheduler:68] project taobao updated, status:STOP, paused:Fal
se, 0 tasks
[I 180118 10:46:46 scheduler:68] project yuqing updated, status:RUNNING, paused:
False, 0 tasks
[E 180118 10:46:46 scheduler:579] dictionary changed size during iteration
    Traceback (most recent call last):
      File "c:\python27\lib\sitepackages\pyspider\scheduler\scheduler.py", line574, in run
      self.run_once()
      File "c:\python27\lib\site packages\pyspider\scheduler\scheduler.py", line1166, in run_once
     super(ThreadBaseScheduler, self).run_once()File "c:\python27\lib\site-packages\pyspider\scheduler\scheduler.py",line563, in run_onceself._check_select()File "c:\python27\lib\site-packages\pyspider\scheduler\scheduler.py", line 418, in _check_select for project in itervalues(self.projects): 
     RuntimeError: dictionary changed size during iteration

然后打開localhost:5000出現(xiàn)了如下界面:
clipboard.png

我覺得可能是有項目在Running導(dǎo)致的,但是現(xiàn)在無法通過webui將項目關(guān)掉,請問有小伙伴遇到這樣的問題嗎?求解決方法。

回答
編輯回答
囍槑

我的界面現(xiàn)在也變成這樣了.
剛才卸載了之前的版本,重新安裝最新版本就可以了。

2017年3月5日 14:12