login community faq

Getting below error while running scrapy command from cron job

1
2
3
4
5
UserWarning: Cannot import scrapy settings module myspider.settings
  warnings.warn("Cannot import scrapy settings module %s" % scrapy_module)
.....
raise KeyError("Spider not found: %s" % spider_name)
KeyError: 'Spider not found:

asked Sep 13 '12 at 09:50

mutant's gravatar image

mutant
1

edited Sep 13 '12 at 16:30

seanf's gravatar image

seanf ♦♦
56291220

We need more information to be able to assist with this. Can you please post the line from your crontab that is running this, and let us know where you have scrapy installed?

If you'd rather not post that in the forum, please feel free to open a support ticket.

(Sep 13 '12 at 16:32) seanf ♦♦ seanf's gravatar image
Be the first one to answer this question!
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×37
×1
×1

Asked: Sep 13 '12 at 09:50

Seen: 416 times

Last updated: Sep 13 '12 at 16:32

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited