Open leffss opened 5 years ago
安装完成之后,输入scrapydweb命令,出现这个报错,请问如何解决:
Traceback (most recent call last):
File "D:\fenxihuanjing\lib\logging\config.py", line 389, in resolve
self.importer(used)
ModuleNotFoundError: No module named 'flask.logging.wsgi_errors_stream'; 'flask.logging' is not a package
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\fenxihuanjing\lib\logging\config.py", line 562, in configure
handler = self.configure_handler(handlers[name])
File "D:\fenxihuanjing\lib\logging\config.py", line 733, in configure_handler
kwargs = {k: config[k] for k in config if valid_ident(k)}
File "D:\fenxihuanjing\lib\logging\config.py", line 733, in <dictcomp>
kwargs = {k: config[k] for k in config if valid_ident(k)}
File "D:\fenxihuanjing\lib\logging\config.py", line 324, in __getitem__
return self.convert_with_key(key, value)
File "D:\fenxihuanjing\lib\logging\config.py", line 290, in convert_with_key
result = self.configurator.convert(value)
File "D:\fenxihuanjing\lib\logging\config.py", line 461, in convert
value = converter(suffix)
File "D:\fenxihuanjing\lib\logging\config.py", line 400, in ext_convert
return self.resolve(value)
File "D:\fenxihuanjing\lib\logging\config.py", line 396, in resolve
raise v
File "D:\fenxihuanjing\lib\logging\config.py", line 389, in resolve
self.importer(used)
ValueError: Cannot resolve 'flask.logging.wsgi_errors_stream': No module named 'flask.logging.wsgi_errors_stream'; 'flask.logging' is not a package
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "run.py", line 11, in <module>
from scrapydweb import create_app
File "D:\fenxihuanjing\lib\site-packages\scrapydweb\__init__.py", line 36, in <module>
'handlers': ['wsgi']
File "D:\fenxihuanjing\lib\logging\config.py", line 799, in dictConfig
dictConfigClass(config).configure()
File "D:\fenxihuanjing\lib\logging\config.py", line 570, in configure
'%r' % name) from e
ValueError: Unable to configure handler 'wsgi'
@cgleiyucun
Try pip install --upgrade flask
@my8100 very thanks
file模块下的items功能页面出现这种报错,请问要如何解决? Oops! Something went wrong. http://127.0.0.1:6800/items/ status_code: 404
No such child resource.
Tip Click the above link to make sure your Scrapyd server is accessable.
thanks
@my8100 就是说这个页面不用去处理它,一旦启用会覆盖掉scrapy的items设置?
Yes, you can also hide the menu by setting SHOW_SCRAPYD_ITEMS
to False.
thanks
@my8100 do you finished this feature?
I love this pro, also I need this ability
The tip is trying to access hard-coded 127.0.0.1:6800
All of the blue link (for example Monitor and control all of your Scrapyd servers.
) also have this issue.