boggdan_barrientos
09/23/2021, 10:23 PMedgar_ramirez_mondragon
09/27/2021, 5:33 PMedgar_ramirez_mondragon
09/27/2021, 5:59 PMmeltano elt ...
do translate to an exit code of 1:
$ meltano elt tap-github target-sqlite
target-sqlite | ERROR Exception in schema_apply() while prrocessing:
target-sqlite | {"type": "SCHEMA", "stream": "repositories", "schema": {"properties": {}, "type": "object"}, "key_properties": ["id"]}
target-sqlite |
target-sqlite | CRITICAL (sqlite3.OperationalError) unable to open database file (Background on this error at: <http://sqlalche.me/e/e3q8>)
meltano | Loading failed (1): CRITICAL (sqlite3.OperationalError) unable to open database file (Background on this error at: <http://sqlalche.me/e/e3q8>)
meltano | ELT could not be completed: Loader failed
$ echo $?
1
So I'm thinking the docker container is just exiting with code 0.
@boggdan_barrientos are you using the official Meltano docker image?boggdan_barrientos
09/27/2021, 6:05 PMedgar_ramirez_mondragon
09/27/2021, 7:01 PM$ docker run --name melty-run melty:test elt tap-github target-sqlite
meltano | Running extract & load...
meltano | No state was found, complete import.
meltano | ELT could not be completed: Cannot start extractor: Catalog discovery failed: command ['/project/.meltano/extractors/tap-github/venv/bin/tap-github', '--config', '/project/.meltano/run/elt/2021-09-27T185857--tap-github--target-sqlite/d2ce9b0a-ace6-4f02-8e5e-a4ecbaa30e25/tap.9279845d-ecb2-4396-8939-41d5d24c0b5b.config.json', '--discover'] returned 1
ELT could not be completed: Cannot start extractor: Catalog discovery failed: command ['/project/.meltano/extractors/tap-github/venv/bin/tap-github', '--config', '/project/.meltano/run/elt/2021-09-27T185857--tap-github--target-sqlite/d2ce9b0a-ace6-4f02-8e5e-a4ecbaa30e25/tap.9279845d-ecb2-4396-8939-41d5d24c0b5b.config.json', '--discover'] returned 1
$ docker inspect melty-run | jq '.[0].State.ExitCode'
1
boggdan_barrientos
09/27/2021, 7:14 PMedgar_ramirez_mondragon
09/27/2021, 7:51 PM