question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scrapyd NOT Enable Item Pipelines

See original GitHub issue

Hello, I’m having problem using Scrapyd service. I use MongoDB Pipeline to write scraped items to database. It works fine when I directly run spider on command line : scrapy crawl digi 2018-01-22 13:25:18 [scrapy.middleware] INFO: Enabled item pipelines: ['tutorial.pipelines.MongoPipeline'] When I send curl request to scrapyd server, the spider still runs. However, the item pipelines are not enabled: 2018-01-22 13:29:32 [scrapy.middleware] INFO: Enabled item pipelines: [] Could you suggest any solutions for this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jpmckinneycommented, Mar 25, 2022
  1. Make sure the item pipeline is activated as described here: https://docs.scrapy.org/en/latest/topics/item-pipeline.html#activating-an-item-pipeline-component

  2. Make sure the file containing that setting is discoverable using entry_points like at https://github.com/scrapy/scrapyd-client#including-static-files

0reactions
medkalilcommented, Mar 25, 2022

hi , i have the same problem : scrapy crawl digi 2018-01-22 13:25:18 [scrapy.middleware] INFO: Enabled item pipelines: ['tutorial.pipelines.MongoPipeline'] When I send curl request to scrapyd server, the spider still runs. However, the item pipelines are not enabled: 2018-01-22 13:29:32 [scrapy.middleware] INFO: Enabled item pipelines: []

how did you solve it ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scrapy Item pipelines not enabling - Stack Overflow
You are asking why the item pipeline is not enabled. Is that the only setting that is not picked up? Have you checked...
Read more >
Item Pipeline — Scrapy 2.7.1 documentation
Item pipeline example¶. Price validation and dropping items with no prices¶. Let's take a look at the following hypothetical pipeline that ...
Read more >
Scrapy Item Pipelines Not Enabling - ADocLib
Scrapy Item Pipelines Not Enabling. This class will start a Twisted reactor for you configuring the logging and setting some additional helpers you...
Read more >
Item Pipeline - Scrapy documentation - Read the Docs
Dropped items are no longer processed by further pipeline components. ... To activate an Item Pipeline component you must add its class to...
Read more >
Scrapy - Item Pipeline - Tutorialspoint
Scrapy - Item Pipeline, Item Pipeline is a method where the scrapped items are processed. When an item is sent to the Item...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found