Hi All! After upgrading to Meltano 1.80.0 / SDK 0....
# troubleshooting
r
Hi All! After upgrading to Meltano 1.80.0 / SDK 0.3.7 got this error:
Copy code
File "/usr/local/lib/python3.6/codecs.py", line 499, in read
data = self.bytebuffer + newdata
TypeError: can't concat generator to bytes
Any suggestion? Thx
d
@rocco_melillo Is the error coming from inside Meltano, or from a tap/target built using the SDK? Is there any more to the stack trace?
r
Hi Douwe, It seems Meltano:
Copy code
meltano elt --database-uri=xxxx --job_id=task_id_custom_tap tap-custom target-bigquery-adswerve
meltano                  | Running extract & load...
meltano                  | Found state from 2021-09-10 10:46:16.355372.
meltano                  | Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/meltano/core/plugin/singer/tap.py", line 300, in _streamresp
    data = await stream.readline()
  File "/usr/local/lib/python3.6/codecs.py", line 557, in readline
    data = self.read(readsize, firstline=True)
  File "/usr/local/lib/python3.6/codecs.py", line 499, in read
    data = self.bytebuffer + newdata
TypeError: can't concat generator to bytes
meltano                  | ELT could not be completed: Cannot start extractor: Catalog discovery failed: command ['/projects/app/.meltano/extractors/tap-custom/venv/bin/tap-custom', '--config', '/projects/app/.meltano/run/elt/task_id_custom_tap/ccc493c7-17f7-4bef-9342-0bedcbd39a94/tap.9e32f15f-1771-449e-9902-9cc9bad77b20.config.json', '--state', '/projects/app/.meltano/run/elt/task_id_custom_tap/ccc493c7-17f7-4bef-9342-0bedcbd39a94/state.json', '--discover'] returned 1
d
@florian.hines Can you please check this out?
f
yea 👍, was just checking and see’ing if i can reproduce something locally
a
@nil I think this is what you just hit?
n
Yes same error
message has been deleted
d
Looks like a regression then! Curious why it didn’t trigger in CI. I think we’re going to want to do a patch release cc @aaronsteers @florian.hines
f
yep, should have a fix a few minutes