oscar_gonzalez
02/02/2022, 10:04 PM[info ] Incremental state has been updated at 2022-02-02 21:59:49.354952.
2022-02-02T21:59:49.356159Z [error ] Extraction failed code=1 job_id=postgres-to-jsonl message=AttributeError: 'NoneType' object has no attribute 'get' name=meltano run_id=47a44ca5-792d-411a-a399-8127188e4919
2022-02-02T21:59:49.356876Z [info ] ELT could not be completed: Extractor failed cmd_type=elt job_id=postgres-to-jsonl name=meltano run_id=47a44ca5-792d-411a-a399-8127188e4919 stdio=stderr
aaronsteers
02/02/2022, 10:17 PM--log-level=debug
in the CLI?aaronsteers
02/02/2022, 10:17 PMmeltano config tap-postgres test
aaronsteers
02/02/2022, 10:20 PMoscar_gonzalez
02/02/2022, 11:23 PMmeltano select tap-postgres --list --all
oscar_gonzalez
02/02/2022, 11:24 PMoscar_gonzalez
02/02/2022, 11:25 PMoscar@Oscar-Gonzalez:~/meltano-projects/demo-project$ meltano config tap-postgres test
Plugin configuration is invalid
AttributeError: 'NoneType' object has no attribute 'get'
aaronsteers
02/02/2022, 11:30 PMmeltano --log-level=debug config tap-postgres test
I'm hoping for an error message that tells us where to look.oscar_gonzalez
02/02/2022, 11:30 PMoscar_gonzalez
02/02/2022, 11:33 PM2022-02-02T23:31:26.644113Z [debug ] Plugin configuration is invalid
AttributeError: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/meltano/cli/__init__.py", line 47, in main
cli(obj={"project": None})
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/meltano/cli/config.py", line 290, in test
raise CliError("\n".join(("Plugin configuration is invalid", detail)))
meltano.cli.utils.CliError: Plugin configuration is invalid
AttributeError: 'NoneType' object has no attribute 'get'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/oscar/.pyenv/versions/3.8.11/lib/python3.8/site-packages/meltano/cli/__init__.py", line 55, in main
raise CliError(str(err)) from err
meltano.cli.utils.CliError: Plugin configuration is invalid
AttributeError: 'NoneType' object has no attribute 'get'
Plugin configuration is invalid
AttributeError: 'NoneType' object has no attribute 'get'
oscar_gonzalez
02/02/2022, 11:34 PMaaronsteers
02/02/2022, 11:36 PMmeltano.yml
file or at least a snippet from it that covers the tap-postgres portion?aaronsteers
02/02/2022, 11:37 PMaaronsteers
02/02/2022, 11:37 PMoscar_gonzalez
02/02/2022, 11:38 PMsend_anonymous_usage_stats: true
project_id: 2713e6be-e0f5-4594-8f3c-3269c107525a
plugins:
extractors:
- name: tap-postgres
variant: transferwise
pip_url: pipelinewise-tap-postgres
config:
dbname: replication
host: host
user: user
port: 5432
default_replication_method: INCREMENTAL
password: password
filter_schemas: replication
oscar_gonzalez
02/02/2022, 11:39 PMaaronsteers
02/02/2022, 11:41 PMaaronsteers
02/02/2022, 11:42 PMmeltano.yml
file contents. (You can flag the issue confidential in addition to scrubbing sensitive info if that helps.)oscar_gonzalez
02/02/2022, 11:45 PMaaronsteers
02/02/2022, 11:51 PMaaronsteers
02/02/2022, 11:59 PMaaronsteers
02/03/2022, 12:00 AM