When new Python dependencies are deployed, "myproject/resources/FILE.txt" is not detected, whereas the contrary is true when Python dependencies are not included. How is it possible? Should I update the "requirements" or "setup" file?
Please, let me know!
Best Answer
A
Arnau Pont Vílchez
said
over 5 years ago
Finally, I included the "FILE.txt" information inside the spider source file as a dictionary. That's how I fixed it!
Arnau Pont Vílchez
I want to deploy a non-code file located at "myproject/resources/FILE.txt" folder. It works perfectly setting up the "setup.py" file, considering following link instructions:
"https://support.scrapinghub.com/support/solutions/articles/22000200416-deploying-non-code-files".
The problem appears when I also want to deploy Python dependencies following this link: https://support.scrapinghub.com/support/solutions/articles/22000200400-deploying-python-dependencies-for-your-projects-in-scrapy-cloud
When new Python dependencies are deployed, "myproject/resources/FILE.txt" is not detected, whereas the contrary is true when Python dependencies are not included. How is it possible? Should I update the "requirements" or "setup" file?
Please, let me know!
Finally, I included the "FILE.txt" information inside the spider source file as a dictionary. That's how I fixed it!
- Oldest First
- Popular
- Newest First
Sorted by Oldest Firstnestor
Please post the contents of your setup.py, your scrapinghub.yml and requirements.txt files
nestor
I can see you deployed successfully so I assume you figured this out.
Arnau Pont Vílchez
Finally, I included the "FILE.txt" information inside the spider source file as a dictionary. That's how I fixed it!
-
Unable to select Scrapy project in GitHub
-
ScrapyCloud can't call spider?
-
Unhandled error in Deferred
-
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 438 topics