Twisted Critical unhandled error in scrapy tutorial

Asked

Viewed 241 times

0

I’m new in programming and I’m trying to perform the scrapy tutorial http://doc.scrapy.org/en/latest/intro/tutorial.html

Use python 2.7 and windows 7. When I run cmd the command "scrapy Crawl dmoz" I receive as message the following information:

2015-07-14 16:11:02 [scrapy] INFO: Scrapy 1.0.1 started (bot: tutorial)
2015-07-14 16:11:02 [scrapy] INFO: Optional features available: ssl, http11
2015-07-14 16:11:02 [scrapy] INFO: Overridden settings: {'NEWSPIDER_MODULE':     'tu
torial.spiders', 'SPIDER_MODULES': ['tutorial.spiders'], 'BOT_NAME':   'tutorial'}

2015-07-14 16:11:05 [scrapy] INFO: Enabled extensions: CloseSpider, TelnetConsol
e, LogStats, CoreStats, SpiderState
Unhandled error in Deferred:
2015-07-14 16:11:06 [twisted] CRITICAL: Unhandled error in Deferred:
2015-07-14 16:11:07 [twisted] CRITICAL:

My Spider file is in tutorial/tutorial/Spider. You could tell me how to find out what mistake it is, or how to solve this problem?

Grateful for the attention

  • Hello, Vinicius! Can you paste the full Spider code? If you can send the entire project in a zip, even better.

1 answer

0

It may be due to the pywin32 module that has only been loaded but not installed. Try to install it this way:

python python27\scripts\pywin32_postinstall.py -install

A similar problem can be seen here.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.