Closed dennwc closed 5 years ago
Related to https://github.com/bblfsh/bblfshd/issues/266.
1) Run native Python driver:
docker run -it --rm --entrypoint /opt/driver/bin/native bblfsh/python-driver:v2.8.1
2) Copy the content of this gist, paste to the terminal and press Enter. 3) The driver will emit an error:
{"status": "fatal", "errors": ["error decoding JSON from input: {\"content\":\"# Protocol Buffers - ... ... an actual decoder.\n"], "driver": "python23:1.1", "ast": null, "filepath": "<jsonstream>"}
Note the decoder.\n" at the end of an error. This meant to be a full JSON string and should end with }, but it appears to be truncated.
decoder.\n"
}
Cannot reproduce with https://github.com/bblfsh/python-driver/pull/190 applied. Probably related to the IDE I'm using.
Related to https://github.com/bblfsh/bblfshd/issues/266.
Steps to reproduce:
1) Run native Python driver:
2) Copy the content of this gist, paste to the terminal and press Enter. 3) The driver will emit an error:
Note the
decoder.\n"
at the end of an error. This meant to be a full JSON string and should end with}
, but it appears to be truncated.