-
Notifications
You must be signed in to change notification settings - Fork 16
unexpected EOF error for empty python files #184
Comments
I tried to reproduce this in the driver: $ docker exec -it srcd-cli-bblfshd touch /tmp/empty.py
$ docker exec -it srcd-cli-bblfshd bblfshctl parse --address=localhost:9432 /tmp/empty.py
Status: Ok
Elapsed: 15.2µs That would suggest this is downstream of the driver—but if you include the @dennwc am I doing something wrong here? |
@creachadair Interesting find with To reproduce this on latest master, similar to https://github.com/bblfsh/bblfshd/issues/266#issuecomment-474314324 do:
logs
While running only on latest python driver:
If no objections, going to move it to |
Hmm. I would have expected the Go client to use the same logic as |
Indeed, it seems like |
Was this intentional, or did we just never get around to bringing them in sync? This could explain several odd differences I've encountered when trying to reproduce bug reports. |
I think the latter one - nobody uses it, so we never got around to syncing them properly. |
We still suggest using |
Code from bblfsh/bblfshd#264:
/Users/smacker/tmp/srcd-all/apollo/apollo/init.py:unexpected EOF
not sure if it's a problem in driver or client or sdk.
The text was updated successfully, but these errors were encountered: