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

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

Closed
luomingshuang opened this issue Mar 24, 2022 · 7 comments
Closed

Comments

@luomingshuang
Copy link

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
Copy link
Member

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
Copy link
Member

puremourning commented Mar 24, 2022

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
Copy link
Author

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
Copy link
Member

You need to wait for the submodules to be updated.

Please raise YCM issues on the YCM repo.

@Yeeeeeee123
Copy link

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

@puremourning
Copy link
Member

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

@puremourning
Copy link
Member

ycm-core/YouCompleteMe#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?

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

3 participants