adam_roderick
06/18/2020, 1:47 PMselect --list --all <extractor> but getting what looks like a JSON validation erroradam_roderick
06/18/2020, 1:48 PMmeltano select --list --all tap-packet-db
[2020-06-18 07:38:55,192|I|MainThread|root] Catalog not found, trying to run the tap with --discover.
[2020-06-18 07:41:56,009|E|MainThread|root] Schema discovery failed: invalid catalog output by --discovery.
Traceback (most recent call last):
File "/home/adam/dev/pkt-pipeline/venv/meltano/lib/python3.8/site-packages/meltano/core/plugin/singer/tap.py", line 86, in run_discovery
schema_valid = Draft4Validator.check_schema(json.load(catalog))
File "/usr/lib/python3.8/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)adam_roderick
06/18/2020, 1:48 PMmeltano config <extractor> is valid JSONadam_roderick
06/18/2020, 2:01 PMmeltano invoke <extractor> --discover times out, which most likely means it is not pulling in the settings the way I expect it to. Are there any verbosity flags so I can see a log of what is happening?adam_roderick
06/18/2020, 2:03 PM.meltano/run/<extractor>/tap.config.json creates all properties as strings. So there is a boolean "true" instead of true. I think I can handle that in the tap source code. Is there some way to force casting of boolean or int config values?douwe_maan
06/18/2020, 2:30 PMkind: boolean to your setting definition! See https://meltano.com/docs/contributor-guide.html#connector-settingsdouwe_maan
06/18/2020, 2:34 PMAh it looks like the generated config inYou would have seen this in thecreates all properties as strings..meltano/run/<extractor>/tap.config.json
meltano config <extractor> output as well, right?douwe_maan
06/18/2020, 3:02 PMadam_roderick
06/18/2020, 3:10 PMadam_roderick
06/18/2020, 3:10 PMadam_roderick
06/18/2020, 3:11 PMdouwe_maan
06/18/2020, 3:12 PM