Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spiders generated by Portia don't work with Scrapy 1.8.0 #895

Open
acrossoffwest opened this issue Jan 28, 2020 · 0 comments
Open

Spiders generated by Portia don't work with Scrapy 1.8.0 #895

acrossoffwest opened this issue Jan 28, 2020 · 0 comments

Comments

@acrossoffwest
Copy link

I don't know why projects created by Protia don't working

$ scrapyd-deploy -p Test

spiders are not deploying

{"status": "ok", "project": "Test", "version": "1580255071", "spiders": 0, "node_name": "7f4967535546"}

I tried this: https://github.com/scrapy/quotesbot It's okay.

My docker-compose file

version: '3'
services:
  app:
    build: ./portia
    volumes:
      - ./data/projects:/app/data/projects:rw
      - ./scripts:/app/data/scripts
    ports:
      - 9001:9001
    restart: always
    networks:
        - scrapy
  scrapyd:
    build: ./scrapyd
    ports:
      - 6800:6800
    environment:
      - USERNAME=scrap
      - PASSWORD=test1234
      - PACKAGES=simplejson,requests,redis,elasticsearch,certifi 
    networks:
      - scrapy
networks:
  scrapy:

./portia/Dockerfile

FROM scrapinghub/portia:latest

WORKDIR /app/data/projects

RUN pip install scrapyd-client

./scrapyd/Dockerfile

FROM cdrx/scrapyd-authenticated

RUN pip install --upgrade pip
RUN pip install --upgrade scrapy

Can anyone help me?

@milahu milahu mentioned this issue Apr 4, 2022
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant