I've been trying to run an spider on Scrapy Cloud and this error "Unhandled error in Deferred" is raised, I don't know why. The spider is working well in local.
Yes, the scraper finally worked. I was propagating a response (I needed to do it) using the meta key, it worked in local. I solved the problem passing the response using functools.partial.
Did the spider extracted any elements beyond the error?
Try to check if all your file resources in locally are the same as in Scrapy cloud.
Best,
Pablo
J
Jerick Órdenes Sepúlveda
said
over 7 years ago
Answer
Yes, the scraper finally worked. I was propagating a response (I needed to do it) using the meta key, it worked in local. I solved the problem passing the response using functools.partial.
T
Takeaki Kawai
said
over 5 years ago
I got the same issue.
When I passed the ItemLoader object to callback function,
with passing the response object, it works on local but not on Scrapinghub.
Jerick Órdenes Sepúlveda
I've been trying to run an spider on Scrapy Cloud and this error "Unhandled error in Deferred" is raised, I don't know why. The spider is working well in local.
Yes, the scraper finally worked. I was propagating a response (I needed to do it) using the meta key, it worked in local. I solved the problem passing the response using functools.partial.
- Oldest First
- Popular
- Newest First
Sorted by Popularvaz
Did the spider extracted any elements beyond the error?
Try to check if all your file resources in locally are the same as in Scrapy cloud.
Best,
Pablo
Jerick Órdenes Sepúlveda
Yes, the scraper finally worked. I was propagating a response (I needed to do it) using the meta key, it worked in local. I solved the problem passing the response using functools.partial.
Takeaki Kawai
I got the same issue.
When I passed the ItemLoader object to callback function,
with passing the response object, it works on local but not on Scrapinghub.
Make sure use
not like
when you deploy.
Scrapy: Requests and Responses
-
Unable to select Scrapy project in GitHub
-
ScrapyCloud can't call spider?
-
Item API - Filtering
-
newbie to web scraping but need data from zillow
-
ValueError: Invalid control character
-
Cancelling account
-
Best Practices
-
Beautifulsoup with ScrapingHub
-
Delete a project in ScrapingHub
See all 460 topics