scrapyd-deploy with“ deploy failed(400)”

问题描述 投票:0回答:1

我正在尝试使用scrapyd-deploy部署到远程scrapyd服务器,该服务器失败,没有错误消息:

% scrapyd-deploy                                                       
/Library/Frameworks/Python.framework/Versions/3.8/bin/scrapyd-deploy: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 r3-master
Deploying to project "crawler" in http://ip:6843/addversion.json
Deploy failed (400):

没有显示其他错误信息。有人可以帮助解决此问题吗?

scrapy scrapyd scrapyd-deploy
1个回答
1
投票

从评论移至答案:在具有相同错误代码的similar sounding issue中,问题是早于18.9的Twisted版本不支持python-3.7。如果您使用的是python-3.7,并且您的扭曲版本低于18.9,请尝试将扭曲版本至少升级到18.9:

pip install -U Twisted==18.9.0
© www.soinside.com 2019 - 2024. All rights reserved.