unable to deploy scrapy project

白昼怎懂夜的黑 提交于 2020-01-15 08:05:44

问题


Suddenly my scrapy deployment is started getting failed :

sudo scrapy deploy default -p eScraper
Password:
Building egg of eScraper-1372327569
'build/scripts-2.7' does not exist -- can't clean it
zip_safe flag not set; analyzing archive contents...
eScraper.settings: module references __file__
eScraperInterface.settings: module references __file__
Deploying eScraper-1372327569 to http://localhost:6800/addversion.json
Server response (200):
{"status": "error", "message": "OSError: [Errno 20] Not a directory: '/tmp/eScraper-1372327569-NEM0fx.egg/images'"}

Can someone tell me whats happening...

I deleted all the build folder and other created by scrapy during deployment Now it is giving me this error:

sudo scrapy deploy default -p eScraper
Building egg of eScraper-1372328423
'build/scripts-2.7' does not exist -- can't clean it
zip_safe flag not set; analyzing archive contents...
eScraper.settings: module references __file__
eScraperInterface.settings: module references __file__
Deploying eScraper-1372328423 to http://localhost:6800/addversion.json
Server response (200):
{"status": "ok", "project": "eScraper", "version": "1372328423", "spiders": 0}

But i have 30 spiders inside spiders folder.....can someone help me please........


回答1:


I was having the same issue , i deleted some older deployed versions and it started to work. you should also delete some older deployed versions.



来源:https://stackoverflow.com/questions/17340357/unable-to-deploy-scrapy-project

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