However, running the sync mode exited with a not subscriptable error:
$ ~/.pyenv/versions/tap-marketo/bin/tap-marketo --config config.json --catalog catalog.json
CRITICAL 'Catalog' object is not subscriptable
Traceback (most recent call last):
File "/home/airflow/.pyenv/versions/tap-marketo/bin/tap-marketo", line 9, in
load_entry_point('tap-marketo==2.1.1', 'console_scripts', 'tap-marketo')()
File "/home/airflow/.pyenv/versions/3.5.2/envs/tap-marketo/lib/python3.5/site-packages/tap_marketo/init.py", line 78, in main
raise e
File "/home/airflow/.pyenv/versions/3.5.2/envs/tap-marketo/lib/python3.5/site-packages/tap_marketo/init.py", line 75, in main
_main(args.config, args.properties or args.catalog, args.state, args.discover)
File "/home/airflow/.pyenv/versions/3.5.2/envs/tap-marketo/lib/python3.5/site-packages/tap_marketo/init.py", line 67, in _main
state = validate_state(config, properties, state)
File "/home/airflow/.pyenv/versions/3.5.2/envs/tap-marketo/lib/python3.5/site-packages/tap_marketo/init.py", line 36, in validate_state
for stream in catalog["streams"]:
TypeError: 'Catalog' object is not subscriptable
CentOS release 6.5 Python 3.5.2 installed tap-marketo using "pip install tap-marketo" which installed v2.1.1
The discover command worked fine
However, running the sync mode exited with a not subscriptable error:
From what I can tell, the Catalog object is not subscriptable based on the source code (https://github.com/singer-io/singer-python/blob/master/singer/catalog.py)
Help would be appreciated.