突然间我的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只蜘蛛.....请有人帮帮我........
答案 0 :(得分:2)
我遇到了同样的问题,我删除了一些旧的部署版本,它开始工作了。你还应该删除一些旧的部署版本。