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

Instructions for audit.py in README.md incomplete #251

Open
JaimieMurdock opened this issue Jul 17, 2019 · 0 comments
Open

Instructions for audit.py in README.md incomplete #251

JaimieMurdock opened this issue Jul 17, 2019 · 0 comments

Comments

@JaimieMurdock
Copy link
Contributor

The current instructions in README.md for running the audit fail. Adding the FLASK_APP=app.py fixes this, but the documentation does not detail how to generate list_of_papers.txt:

$ ELASTICSEARCH_HOST=127.0.0.1 ELASTICSEARCH_INDEX=arxiv pipenv run python audit.py -l list_of_papers.txt -o missing.txt
Usage: audit.py [OPTIONS]

Error: Failed to find Flask application or factory in module "wsgi". Use "FLASK_APP=wsgi:name to specify one.

$ FLASK_APP=app.py ELASTICSEARCH_HOST=127.0.0.1 ELASTICSEARCH_INDEX=arxiv pipenv run python audit.py -l list_of_papers.txt -o missing.txt
Error: no such file
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