You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
What version are you using? I can't reproduce this with python -m bblfsh -f file or adding it as an integration tests and running the generation command. I'm using the latest (v2.2.1) version of the driver and latest of bblfshd from Docker Hub.
Yes, that was it, Vim was being a too good boy and was adding a newline at the end of the file, removing it (perl -pi -e 'chomp if eof' filename.py) now I can reproduce the problem.
SDK updated. Drivers will need individual updates to get this fix, I'll update the python-driver now since it's the one you're finding the problem with and all the other drivers tomorrow.
Activity
juanjux commentedon Aug 9, 2018
I'll take a look.
juanjux commentedon Aug 9, 2018
What version are you using? I can't reproduce this with
python -m bblfsh -f fileor adding it as an integration tests and running the generation command. I'm using the latest (v2.2.1) version of the driver andlatestof bblfshd from Docker Hub.smacker commentedon Aug 9, 2018
bblfshd latest.
Sorry for misleading source! After wget it doesn't fail indeed! But it fails on my fixture. Diff:
New driver:
Old driver:
juanjux commentedon Aug 9, 2018
Yes, that was it, Vim was being a too good boy and was adding a newline at the end of the file, removing it (
perl -pi -e 'chomp if eof' filename.py) now I can reproduce the problem.juanjux commentedon Aug 9, 2018
SDK updated. Drivers will need individual updates to get this fix, I'll update the python-driver now since it's the one you're finding the problem with and all the other drivers tomorrow.
juanjux commentedon Aug 9, 2018
v2.2.2 of the Python driver released which should incorporate the fix.