2

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

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'"}

谁能告诉我发生了什么...

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

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 只蜘蛛.....有人可以帮我吗......

4

1 回答 1

2

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

于 2013-06-27T13:11:01.397 回答