on deploying egg file in scrapyd server then {“status”: “error”, “message”: “IndexError: list index out of range”}

℡╲_俬逩灬. 提交于 2019-12-11 12:23:00

问题


Deploying to project "projectname" in http://127.0.0.1:6800/addversion.json

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

when I create egg file , and deploy in scrapyd server , then such kind of error comes , please if someone have any solution give me. thanks in advance


回答1:


please check your argument parameter which used in yout code

import os
 s_file = sys.argv[2]

please check your agrument paramter or check your code should not be outside to your class



来源:https://stackoverflow.com/questions/35838718/on-deploying-egg-file-in-scrapyd-server-then-status-error-message-ind

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!