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

Executing rdm & deletes all files in rtags directory on WSL 2 + Ubuntu 20.04 #1406

Closed
sangwoo-joh opened this issue Jan 6, 2021 · 1 comment

Comments

@sangwoo-joh
Copy link

sangwoo-joh commented Jan 6, 2021

Describe the bug
Executing rdm & deletes all files and directories related to rtags itself.
I'm not sure why this happened.

To Reproduce

  1. clone rtags: git clone https://github.com/Andersbakken/rtags --recursive ~/.rtags
  2. build rtags: cd ~/.rtags && cmake . && make -j30
  3. export PATH: export PATH="~/.rtags/bin:$PATH"
  4. check PATH: which rdm -> /home/me/.rtags/bin/rdm
  5. run rdm & then boom.
  6. tree ~/.rtags shows only several files as in the screenshot below...

Screenshots/Backtrace
image

Environment (please complete the following information):

  • OS/Version: Ubuntu 20.04 on WSL 2
  • RTags(rdm,rc): master branch, v2.38 tag
  • Emacs: feature/native-comp branch built-binary
  • LLVM/Clang: llvm-8-dev, libclang-8-dev
@sangwoo-joh sangwoo-joh changed the title Executing rdm & deletes all files in rtags directory in WSL 2 + Ubuntu 20.04 Executing rdm & deletes all files in rtags directory on WSL 2 + Ubuntu 20.04 Jan 6, 2021
@sangwoo-joh
Copy link
Author

sangwoo-joh commented Jan 6, 2021

Oh, it seems ~/.rtags directory is used by rdm itself. This was certainly my mistake! 😅🤣

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

1 participant