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

unable to download rtags v2.41 through M-x rtags-install #1435

Open
zkytony opened this issue Mar 22, 2023 · 1 comment
Open

unable to download rtags v2.41 through M-x rtags-install #1435

zkytony opened this issue Mar 22, 2023 · 1 comment

Comments

@zkytony
Copy link

zkytony commented Mar 22, 2023

Describe the bug
When running M-x rtags-install on my emacs (version 28.2) on Ubuntu 22.04, I get the following output on *RTags Install*:

Downloading rtags from https://github.com/Andersbakken/rtags/releases/download/v2.41/rtags-2.41.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     9  100     9    0     0     55      0 --:--:-- --:--:-- --:--:--    55
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Failed to untar rtags-2.41.tar.bz2

The error is bzip2: (stdin) is not a bzip2 file.

It looks like the URL that is attempted to download rtags from is 404:
https://github.com/Andersbakken/rtags/releases/download/v2.41/rtags-2.41.tar.bz2

Looking at the releases and tags of rtags, there is no v2.41,
and the latest release is v2.38, while the latest tag is v2.40.

Is there a way to configure the version rtags-install downloads? And set it to 2.38 or 2.40?

To Reproduce
Steps to reproduce the behavior:

  1. M-x rtags-install

Expected behavior
The error message does not happen, and rtags gets installed and built under ~/.emacs.d/elpa/rtags-XXXX/rtags-vXX/bin

Screenshots/Backtrace
image

Environment (please complete the following information):

  • OS/Version: Ubuntu 22.04
  • Emacs: 28.2
@jack2gs
Copy link

jack2gs commented May 20, 2023

I got the same issue. the version seems incorrect. after M-x rtags-install run, there will be a shell script with name install-rtags.sh created in the package folder. you can correct the version there.
the path would be .emacs.d/elpa/rtags-20220818.1535

image

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

2 participants