Closed pierrejdlf closed 9 years ago
It looks a lot like #139. Can you try to change "scrapy", "deploy"
into "scrapyd-deploy"
line 93 of hyphe_backend/crawler/deploy.py
then cleanup your prebuilt docker image and rebuild it?
PS @oncletom would you know how to make sure Docker installs scrapyd-0.17 & scrapy-0.24 and not further versions until I make hyphe compatible with multiple scrapy versions?
thanks, but using scrapy-deploy
doesn't remove the exception
logging on the hyphemaster_crawler
docker image, gives:
# scrapy --version
Scrapy 0.18.0 - no active project
# scrapyd --version
twistd (the Twisted daemon) 15.2.1
not sure what to test next
mmm, not sure either,
can you try and check/paste the content of the corpus collection in hyphe's mongoDB? And can you check scrapyd's local pages (localhost:6800, it should list projects, jobs, etc.)
Scrapy is installed from these locations:
So maybe the backend (first link) installs which is way too recent? Should be just a matter of pinning Scrapy
to the correct version (pip install Scrapy
-> pip install Scrapy==0.24
or something like that).
Hey @pierrejdlf, FYI, we finally released a new version with a more generic Docker installation process which should allow you to easily install Hyphe now.
Bravo! for the packaging work done through docker I just succeeded installing it on my OSX 10.8.5 (very last master version from github this day)
the frontend seems to work, but when i create a new project, the scrapyd service crashes
i tried to create another project, but then i keep having the same
exceptions.KeyError: 'hyphe.newproject'
,exceptions.KeyError: 'hyphe.otherproject'
, etc... from the crawler serviceHere is the traceback :