cfpb / ccdb-data-pipeline Goto Github PK
View Code? Open in Web Editor NEWLicense: Creative Commons Zero v1.0 Universal
License: Creative Commons Zero v1.0 Universal
https://github.com/cfpb/ccdb-data-pipeline/blob/main/INSTALL.md#building-the-complaint-index starts with pyenv virtualenv 3.6.9 ccdb-data-pipeline && pyenv activate ccdb-data-pipeline
. However, this needs brew install pyenv-virtualenv
run beforehand. It seems like the install docs should say this.
I'm trying to get up and running with the ccdb5-ui but am not certain the steps to get the data pipeline operational (which is a dependency to actually seeing the UI function). Would be over the ๐ if you could compile some installation instructions.
Boilerplate
Detailed instructions on to install the project
Executing these steps:
> docker-compose up -d
> cd path/to/repo
> workon ccdb5
> python run_pipeline -c config.ini
results in this:
2017-09-18 12:44:09,090 - complaint - INFO - Creating Elasticsearch Connection
2017-09-18 12:44:09,091 - complaint - INFO - Testing to ensure Socrata index is stable or growing
Traceback (most recent call last):
File "run_pipeline.py", line 104, in <module>
main()
File "run_pipeline.py", line 101, in main
download_and_index(c)
File "run_pipeline.py", line 84, in download_and_index
test_index_growing(es, index_name)
File "run_pipeline.py", line 49, in test_index_growing
res = es.search(index=index_name, doc_type=DOC_TYPE_NAME)
File "python2.7/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped
return func(*args, params=params, **kwargs)
File "python2.7/site-packages/elasticsearch/client/__init__.py", line 548, in search
doc_type, '_search'), params=params, body=body)
File "python2.7/site-packages/elasticsearch/transport.py", line 329, in perform_request
status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
File "python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 109, in perform_request
self._raise_error(response.status, raw_data)
File "python2.7/site-packages/elasticsearch/connection/base.py", line 108, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
elasticsearch.exceptions.NotFoundError: TransportError(404, u'index_not_found_exception', u'no such index')
It should fail quietly when no index has been established yet
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.