ycm-core / ycmd

A code-completion & code-comprehension server
https://ycm-core.github.io/ycmd/
GNU General Public License v3.0
1.7k stars 767 forks source link

The third party `mrab-regex` is empty, and the url for it is invalid. #1630

Closed luomingshuang closed 2 years ago

luomingshuang commented 2 years ago

When I try to get the third party mrab-regex, I find it is empty. And at the same time, the url is invalid.

puremourning commented 2 years ago

please provide:

Steps to reproduce. Actual error text. Actual log out put.

Some actual effort in reporting an issue so that we can help and/or resolve it for you.

puremourning commented 2 years ago

A fresh clone of ycmd works for me:

ben@BeniMac2020 YouCompleteMe % git clone https://github.com/ycm-core/ycmd
Cloning into 'ycmd'...
remote: Enumerating objects: 30718, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 30718 (delta 1), reused 4 (delta 1), pack-reused 30710
Receiving objects: 100% (30718/30718), 23.11 MiB | 16.74 MiB/s, done.
Resolving deltas: 100% (20106/20106), done.
ben@BeniMac2020 YouCompleteMe % cd ycm
cd: no such file or directory: ycm
ben@BeniMac2020 YouCompleteMe % cd ycmd
ben@BeniMac2020 ycmd % git submodule update --init --recursive
Submodule 'third_party/bottle' (https://github.com/defnull/bottle) registered for path 'third_party/bottle'
Submodule 'third_party/jedi' (https://github.com/davidhalter/jedi) registered for path 'third_party/jedi_deps/jedi'
Submodule 'third_party/jedi_deps/numpydoc' (https://github.com/numpy/numpydoc) registered for path 'third_party/jedi_deps/numpydoc'
Submodule 'third_party/parso' (https://github.com/davidhalter/parso) registered for path 'third_party/jedi_deps/parso'
Submodule 'third_party/mrab-regex' (https://bitbucket.org/mrabarnett/mrab-regex.git) registered for path 'third_party/mrab-regex'
Submodule 'third_party/watchdog' (https://github.com/gorakhargosh/watchdog) registered for path 'third_party/watchdog_deps/watchdog'
Cloning into '/Users/ben/Development/YouCompleteMe/ycmd/third_party/bottle'...
Cloning into '/Users/ben/Development/YouCompleteMe/ycmd/third_party/jedi_deps/jedi'...
Cloning into '/Users/ben/Development/YouCompleteMe/ycmd/third_party/jedi_deps/numpydoc'...
Cloning into '/Users/ben/Development/YouCompleteMe/ycmd/third_party/jedi_deps/parso'...
Cloning into '/Users/ben/Development/YouCompleteMe/ycmd/third_party/mrab-regex'...
Cloning into '/Users/ben/Development/YouCompleteMe/ycmd/third_party/watchdog_deps/watchdog'...
Submodule path 'third_party/bottle': checked out '1d531f79ab3f7255d872eef69ad74e3adb40acee'
Submodule path 'third_party/jedi_deps/jedi': checked out '4b5b2e791b66f3a99542bc2a0e1d5730dc1491df'
Submodule 'jedi/third_party/django-stubs' (https://github.com/davidhalter/django-stubs) registered for path 'third_party/jedi_deps/jedi/jedi/third_party/django-stubs'
Submodule 'jedi/third_party/typeshed' (https://github.com/davidhalter/typeshed.git) registered for path 'third_party/jedi_deps/jedi/jedi/third_party/typeshed'
Cloning into '/Users/ben/Development/YouCompleteMe/ycmd/third_party/jedi_deps/jedi/jedi/third_party/django-stubs'...
Cloning into '/Users/ben/Development/YouCompleteMe/ycmd/third_party/jedi_deps/jedi/jedi/third_party/typeshed'...
Submodule path 'third_party/jedi_deps/jedi/jedi/third_party/django-stubs': checked out 'fd057010f6cbf176f57d1099e82be46d39b99cb9'
Submodule path 'third_party/jedi_deps/jedi/jedi/third_party/typeshed': checked out 'd38645247816f862cafeed21a8f4466d306aacf3'
Submodule path 'third_party/jedi_deps/numpydoc': checked out 'c8513c5db6088a305711851519f944b33f7e1b25'
Submodule 'doc/scipy-sphinx-theme' (https://github.com/scipy/scipy-sphinx-theme) registered for path 'third_party/jedi_deps/numpydoc/doc/scipy-sphinx-theme'
Cloning into '/Users/ben/Development/YouCompleteMe/ycmd/third_party/jedi_deps/numpydoc/doc/scipy-sphinx-theme'...
Submodule path 'third_party/jedi_deps/numpydoc/doc/scipy-sphinx-theme': checked out 'bc3b4b8383d4cd676fe75b7ca8c3e11d6afa8d97'
Submodule path 'third_party/jedi_deps/parso': checked out 'a9d0cc117935064ce075c19c1e60e99216fd9e68'
Submodule path 'third_party/mrab-regex': checked out 'fa9def53cf920ed9343a0afab54d5075d4c75394'
Submodule path 'third_party/watchdog_deps/watchdog': checked out '5fbd4b689ab86cef21834d6359969bd57f20dab0'
ben@BeniMac2020 ycmd %
ben@BeniMac2020 ycmd % ./build.py --all
Generating ycmd build configuration...OK
Compiling ycmd target: ycm_core...OKBuilding regex module...OK
Building watchdog module...OK
Installing Omnisharp for C# support...OK
Building gopls for go completion...OK
Setting up Tern for JavaScript completion...OK
Installing rust-analyzer for Rust support...OK
Installing jdt.ls for Java support...OK
Setting up TSserver for TypeScript completion...OK
Setting up Clangd completer...OK
ben@BeniMac2020 ycmd %
luomingshuang commented 2 years ago

Actually, I install it for YouCompleteMe.

(k2-python) luomingshuang@de-74279-k2-train-6-0309102839-6644d5fdfd-gz27x:~/.vim/bundle/YouCompleteMe$ python install.py
ERROR: folder mrab-regex in /ceph-ms/luomingshuang/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party is empty; you probably forgot to run:
        git submodule update --init --recursive

Then, I run git submodule update --init --recursive. But it takes much time to wait. So I want to download the mrab-regex single. But I find it can't be downloaded.

(k2-python) luomingshuang@de-74279-k2-train-6-0309102839-6644d5fdfd-gz27x:~/.vim/bundle/YouCompleteMe/third_party/ycmd$ git submodule update --init --recursive
子模组 'third_party/bottle'(https://github.com/defnull/bottle)未对路径 'third_party/bottle' 注册
子模组 'third_party/jedi'(https://github.com/davidhalter/jedi)未对路径 'third_party/jedi_deps/jedi' 注册
子模组 'third_party/jedi_deps/numpydoc'(https://github.com/numpy/numpydoc)未对路径 'third_party/jedi_deps/numpydoc' 注册
子模组 'third_party/parso'(https://github.com/davidhalter/parso)未对路径 'third_party/jedi_deps/parso' 注册
子模组 'third_party/mrab-regex'(https://bitbucket.org/mrabarnett/mrab-regex.git)未对路径 'third_party/mrab-regex' 注册
子模组 'third_party/watchdog'(https://github.com/gorakhargosh/watchdog)未对路径 'third_party/watchdog_deps/watchdog' 注册
正克隆到 '/ceph-ms/luomingshuang/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle'...
正克隆到 '/ceph-ms/luomingshuang/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/jedi_deps/jedi'...
正克隆到 '/ceph-ms/luomingshuang/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/jedi_deps/numpydoc'...
正克隆到 '/ceph-ms/luomingshuang/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/jedi_deps/parso'...
正克隆到 '/ceph-ms/luomingshuang/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/mrab-regex'...
puremourning commented 2 years ago

You need to wait for the submodules to be updated.

Please raise YCM issues on the YCM repo.

Yeeeeeee123 commented 1 year ago

A year has passed,but it's still not updated. Who can tell me why?

puremourning commented 1 year ago

It has been updated for a long time. What are you talking about? First warning.

puremourning commented 1 year ago

https://github.com/ycm-core/YouCompleteMe/issues/4134

I wonder if this is a Great Firewall issue? At least one other person has experienced an issue with this repo (see above). however, I cannot reproduce.

Is bitbucket blocked for you?