Skip to content

SCRAPY_PROJECTS_DIR not detecting projects in directory #171

@caffeinatedMike

Description

@caffeinatedMike

I'm currently developing locally on windows 10 and have the SCRAPY_PROJECTS_DIR setting set to SCRAPY_PROJECTS_DIR = 'C:/Users/mhill/PycharmProjects/dScrapy/d_webscraping'

In that directory, I have the following structure:

  • d_webscraping/nutritional (first project)
  • d_webscraping/pricingandreviews (second project)
  • d_webscraping/scrapy.cfg
  • d_webscraping/scrapydweb_settings_v10.py

scrapy.cfg file setup is like so:

[settings]
default = nutritional.settings
nutritional = nutritional.settings
pricingandreviews = pricingandreviews.settings

[deploy:nutritional]
url = http://localhost:6800/
project = nutritional

[deploy:pricingandreviews]
url = http://localhost:6800/
project = pricingandreviews

In scrapydweb_settings_v10.py SCRAPYDWEB_BIND, SCRAPYD_SERVERS, and LOCAL_SCRAPYD_SERVER all have '127.0.0.1:6800' as the server address.

What am I doing wrong? Shouldn't the above two projects be showing up on http://127.0.0.1:5000/1/deploy/? Instead, I see the error message No projects found in 'C:/Users/mhill/PycharmProjects/dScrapy/d_webscraping' of the ScrapydWeb host, check and update the SCRAPY_PROJECTS_DIR option in the config file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions