Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Verilog Tree Sitter ValueError: Incompatible Language version 12. Must not be between 13 and 13 #53

Open
lhendre opened this issue Aug 31, 2021 · 5 comments

Comments

@lhendre
Copy link

lhendre commented Aug 31, 2021

I cloned this repo for the verilog language and am trying to use it with tree sitter; however I am getting the following error.

ValueError: Incompatible Language version 12. Must not be between 13 and 13

Tried to both manually change the version number and also go back to an older commit but didnt have much luck.

@lhendre lhendre changed the title I just built a .so file for Python language (using py-tree-sitter) and now then I am trying to use it, it throws an error - ValueError: Incompatible Language version 12. Must not be between 9 and 11 Issue with Verilog Tree Sitter ValueError: Incompatible Language version 12. Must not be between 13 and 13 Aug 31, 2021
@lhendre
Copy link
Author

lhendre commented Sep 14, 2021

Found a work around by using tree-sitter version 0.2.2. Trying that for the time being as a work around until I can find how o fix this issue and use the current version.

@abradd
Copy link
Contributor

abradd commented Sep 15, 2021

Were you regenerating the parser? What version of tree-sitter were you using?

I've used 0.19.5 in the past and I didn't have any issues. I did see some issues with 0.20.0, but never looking into it.

@lhendre
Copy link
Author

lhendre commented Oct 11, 2021

I was using the most up to date version, will need to go back and grab the version number

@lhendre
Copy link
Author

lhendre commented Oct 12, 2021

v0.20.0 is the one having issues

@drom
Copy link
Collaborator

drom commented Oct 15, 2021

Could you specify environment, in which issue is appears?
OS, node version, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants