Closed ChristinaLast closed 1 year ago
(openaq-engine-py3.8) [prithviraj@ip-172-31-81-98 openaq-engine]$ openaq-engine feature-builder Traceback (most recent call last): File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/engine/base.py", line 3361, in _wrap_pool_connect return fn() File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/pool/base.py", line 327, in connect return _ConnectionFairy._checkout(self) File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/pool/base.py", line 894, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/pool/base.py", line 493, in checkout rec = pool._do_get() File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/pool/impl.py", line 146, in _do_get self._decoverflow() File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 70, in exit compat.raise( File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/util/compat.py", line 211, in raise_ raise exception File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/pool/impl.py", line 143, in _do_get return self._create_connection() File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/pool/base.py", line 273, in _create_connection return ConnectionRecord(self) File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/pool/base.py", line 388, in init self.connect() File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/pool/base.py", line 691, in connect pool.logger.debug("Error on connect(): %s", e) File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 70, in exit compat.raise( File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/util/compat.py", line 211, in raise_ raise exception File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/pool/base.py", line 686, in __connect self.dbapi_connection = connection = pool._invoke_creator(self) File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/engine/create.py", line 578, in connect return dialect.connect(*cargs, *cparams) File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/sqlalchemy/engine/default.py", line 598, in connect return self.dbapi.connect(cargs, cparams) File "/home/prithviraj/unicef/openaq-engine/.venv/lib64/python3.8/site-packages/psycopg2/init.py", line 122, in connect conn = _connect(dsn, connection_factory=connection_factory, kwasync) psycopg2.OperationalError: could not translate host name "None" to address: Name or service not known
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/prithviraj/unicef/openaq-engine/.venv/bin/openaq-engine", line 33, in
(Background on this error at: https://sqlalche.me/e/14/e3q8)
Description
This branch adds the weighted average to satellite query functionality in branch #17 Fixes #39
Type of change
Please delete options that are not relevant.
How has this been tested?
Please describe the tests that you ran to verify your changes.
Checklist: