emacs-tree-sitter / elisp-tree-sitter

Emacs Lisp bindings for tree-sitter
https://emacs-tree-sitter.github.io
MIT License
816 stars 73 forks source link

Error retrieving tree-sitter-grammars-linux-0.9.1.tar.gz archive #152

Closed wvannoordt closed 2 years ago

wvannoordt commented 3 years ago

I am running on Ubuntu 18, emacs version 27 with dynamic module support. I am at the stage in the installation when I am trying to run e.g. make ensure/rust, and it looks like it attempts to fetch the tree-sitter-grammars-linux-0.9.1.tar.gz archive, but the archive is simply a text file containing the word 'Forbidden!', rather than valid data.

tree-sitter-langs: Installing grammar bundle v0.9.1 (was vnil)
Contacting host: dl.bintray.com:443
[tree-sitter-langs] Running (tar -xvzf tree-sitter-grammars-linux-0.9.1.tar.gz) in /home/wvn/dirs/installs/emacs-tree-sitter/langs/bin/

gzip: stdin: not in gzip format
/bin/tar: Child returned status 1
/bin/tar: Error is not recoverable: exiting now

Eager macro-expansion failure: (error "Error calling (tar -xvzf tree-sitter-grammars-linux-0.9.1.tar.gz), exit code is 2")
tree-sitter-langs: Installing grammar bundle v0.9.1 (was vnil)
[tree-sitter-langs] Running (tar -xvzf tree-sitter-grammars-linux-0.9.1.tar.gz) in /home/wvn/dirs/installs/emacs-tree-sitter/langs/bin/

gzip: stdin: not in gzip format
/bin/tar: Child returned status 1
/bin/tar: Error is not recoverable: exiting now

Eager macro-expansion failure: (error "Error calling (tar -xvzf tree-sitter-grammars-linux-0.9.1.tar.gz), exit code is 2")
tree-sitter-langs: Installing grammar bundle v0.9.1 (was vnil)
Contacting host: dl.bintray.com:443
[tree-sitter-langs] Running (tar -xvzf tree-sitter-grammars-linux-0.9.1.tar.gz) in /home/wvn/dirs/installs/emacs-tree-sitter/langs/bin/

gzip: stdin: not in gzip format
/bin/tar: Child returned status 1
/bin/tar: Error is not recoverable: exiting now
Error calling (tar -xvzf tree-sitter-grammars-linux-0.9.1.tar.gz), exit code is 2
Makefile:13: recipe for target 'ensure/rust' failed
make: *** [ensure/rust] Error 255

Is there some way to provde a link to download this archive?

ubolonton commented 2 years ago

Binaries for older versions were hosted on bintray, which was shut down. If you install from source, you should update the code to a newer version whose binaries are hosted on GitHub.

If, for some reason, you cannot update, the older binaries can be downloaded from here.