首页 > 解决方案 > 为什么 Scrapyd 在部署过程中会返回 basic_auth 错误?

问题描述

我正在将scrapy部署到scrapyd。虽然它正在工作,但速度非常慢,我相信我确实会超时,因为几天后出现了“致命”:

/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/scrapyd_client/deploy.py:23: ScrapyDeprecationWarning: Module `scrapy.utils.http` is deprecated, Please import from `w3lib.http` instead.
  from scrapy.utils.http import basic_auth_header
fatal: No names found, cannot describe anything.
Packing version r392-master
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/scrapyd_client/deploy.py:276: ScrapyDeprecationWarning: Call to deprecated function retry_on_eintr.
  retry_on_eintr(check_call, [sys.executable, 'setup.py', 'clean', '-a', 'bdist_egg', '-d', d],
Deploying to project "Maven360" in http://myip:6843/addversion.json
Server response (200):
{"node_name": "spider", "status": "ok", "project": "test", "version": "r392-master", "spiders": 32}

有想法该怎么解决这个吗?

标签: pythonscrapyd

解决方案


推荐阅读