Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrapy.cfg not found #4

Open
dwlifutang opened this issue Oct 31, 2022 · 1 comment
Open

scrapy.cfg not found #4

dwlifutang opened this issue Oct 31, 2022 · 1 comment

Comments

@dwlifutang
Copy link

使用系统: centos7

问题复现
1.使用auto_manage_spiders.py提示正常上传,但系统上无显示
(base) [root@localhost scrapyd_web_manager]# python auto_manage_spiders.py -dp
deploy True
POST Fetch: http://192.168.1.94:5000/1/deploy/upload/, data: {'folder': 'TLNewsSpider', 'project': 'TLNewsSpider', 'version': '1667234435'}
部署成功 {'folder': 'TLNewsSpider', 'project': 'TLNewsSpider', 'version': '1667234435'}

2.使用web上传数据,提示scrapy.cfg not found

Oops! Something went wrong.
Fail to deploy project:
scrapy.cfg not found
Tip
Make sure that the 'scrapy.cfg' file resides in your project directory.
Details
scrapy_cfg_searched_paths:
['/tmp/scrapydweb-uncompress-4xw6opqj',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/utils',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/test',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/package',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/package/monitors',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/package/rules',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/package/database',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/package/Kafaka',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/script',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/templates',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/templates/spiders',
'/tmp/scrapydweb-uncompress-4xw6opqj/TLNewsSpider/spiders']

大佬这个是啥子问题。。。

@casual-silva
Copy link
Owner

Fail to deploy project
scrapyd部署spider项目不成功 可能是之前的安装没有弄好

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants