python - 为什么 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}
有想法该怎么解决这个吗?
解决方案
推荐阅读
- installation - 搜索包时 Atom 中的“获取 i.filter 不是函数”
- .net - 如何在 Windows 中永久更改 .NET 程序的 CPU 优先级?
- javascript - 使用 CSS、Javascript 在输出中添加额外的新行
- sql - 如果新记录在 30 天内以相同的 POS 订单 ID 出现,我需要编写查询以将以前的记录标记为“不合格”
- unity3d - Unity 的布料组件是否使用 GPU?
- python - 如何验证和断言所有下拉值
- javascript - Chartjs - 每个弧的不同阴影
- pyspark - AFT 生存模型 Pyspark 中的生存概率
- java - ForkJoinPool 中的工作线程是守护线程吗?
- php - Mysql查询查找缺货