在 scrapyd 服务器中部署 egg 文件时,{ "status" : "error" , "message" : "IndexError: list index out of range" }



部署到项目中的项目"项目名称"http://127.0.0.1:6800/addversion.json

Server response (200):
{"status": "error", "message": "IndexError: list index out of range"}

当我创建蛋文件,并部署在Scrapyd服务器中时,就会出现这种错误,如果有人有任何解决方案,请给我。 提前致谢

请检查您在

代码中使用的参数参数

import os
 s_file = sys.argv[2]

请检查您的参数 或者检查你的代码不应该在你的类之外

最新更新