tree-hugger icon indicating copy to clipboard operation
tree-hugger copied to clipboard

Make .so files also a part of core code

Open rcshubhadeep opened this issue 4 years ago • 4 comments

We may also want to make the .so files a part of the core code (I am not sure about it, let's discuss)

Hold on on this one

rcshubhadeep avatar Jul 03 '20 09:07 rcshubhadeep

This is relevant considering I'm trying to install and run but can't because of an error: ValueError: Incompatible Language version 12. Must not be between 9 and 11

This is probably due to tree-sitter version or how the .so file is generated.

A pre-build .so file might be more reliable.

ogabrielluiz avatar Oct 03 '20 03:10 ogabrielluiz

Hey, sorry for the problems. We are trying to make a pre-compiled version available. However, this seems to be something which broke recently in the tree-sitter side. I am trying to fix it. Please check my bug report here - https://github.com/tree-sitter/py-tree-sitter/issues/38

Meanwhile as soon as I can make some .so files available for you I will do it and notify you here.

Thanks for the comment @ogabrielluiz

rcshubhadeep avatar Oct 03 '20 16:10 rcshubhadeep

Awesome! I was able to get the files from code-bert project and they worked.

Thanks!

ogabrielluiz avatar Oct 03 '20 17:10 ogabrielluiz

Great! Thanks for the feedback again. tree-sitter had resolved the bug after I reported it and thanks to that we finally shipped the command by which you can easily get a supported, "all-supported-language-inside" version of the .so files with just one small command.

Please have a look here - https://github.com/autosoft-dev/tree-hugger#setup

rcshubhadeep avatar Oct 04 '20 11:10 rcshubhadeep