本文介绍了无法部署scrapy项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

突然我的scrapy部署开始失败:

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...

我删除了在部署期间由scrapy创建的所有构建文件夹和其他文件夹现在它给了我这个错误:

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}

但我在蜘蛛文件夹中有 30 个蜘蛛......有人可以帮我吗......

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

推荐答案

我遇到了同样的问题,我删除了一些较旧的部署版本,然后它开始工作了.您还应该删除一些较旧的部署版本.

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.

这篇关于无法部署scrapy项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 20:44