You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched YCM's issue tracker to find issues similar to the one I'm
about to report and couldn't find an answer to my problem. (Example Google
search.)
If filing a bug report, I have included the output of vim --version.
If filing a bug report, I have included the output of :YcmDebugInfo.
If filing a bug report, I have attached the contents of the logfiles using
the :YcmToggleLogs command.
If filing a bug report, I have included which OS (including specific OS
version) I am using.
If filing a bug report, I have included a minimal test case that reproduces
my issue, using vim -Nu /path/to/YCM/vimrc_ycm_minimal, including what I
expected to happen and what actually happened.
If filing a installation failure report, I have included the entire output
of install.py (or cmake/make/ninja) including its invocation
I understand this is an open-source project staffed by volunteers and
that any help I receive is a selfless, heartfelt gift of their free time. I
know I am not entitled to anything and will be polite and courteous.
I understand my issue may be closed if it becomes obvious I didn't
actually perform all of these steps.
Thank you for adhering to this process! It ensures your issue is resolved
quickly and that neither your nor our time is needlessly wasted.
Issue Details
Provide a clear description of the problem, including the following key
questions:
What did you do?
Attempted to compile YCM under Ubuntu 20.04 with python3 v3.8.10
Include steps to reproduce here.
YCM installed into ~/.vim/bundle/YouCompleteMe via Vundle
cd ~/.vim/bundle/YouCompeteMe
python3 install.py --clangd-completer
If you made changes to vimrc_ycm_minimal, pase them here:
N/A
What did you expect to happen?
YCM to compile cleanly
What actually happened?
Compile failed with
AttributeError: module 'argparse' has no attribute 'BooleanOptionalAction'
Include description of the observed behaviour, including actual output,
screenshots, etc.
root@5ca634ec9adf:/home/testing/.vim/bundle/YouCompleteMe# python3 install.py --clangd-completer
Traceback (most recent call last):
File "/home/testing/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 1373, in <module>
Main()
File "/home/testing/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 1333, in Main
args = ParseArguments()
File "/home/testing/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 571, in ParseArguments
parser.add_argument( '--regex', action = argparse.BooleanOptionalAction,
AttributeError: module 'argparse' has no attribute 'BooleanOptionalAction'
Output of git rev-parse HEAD in YouCompleteMe installation directory
root@5ca634ec9adf:/home/testing/.vim/bundle/YouCompleteMe# git rev-parse HEAD
131b1827354871a4e984c1660b6af0fefca755c3
Contents of YCM, ycmd and completion engine logfiles
Reproduce the issue with vim -Nu /path/to/YCM/vimrc_ycm_minimal, which
enabled debug logging and other useful diagnostics. Include a link to a gist containing all of the log files listed by :YcmToggleLogs.
OS version, distribution, etc.
Include system information here.
Ubuntu 20.04
Python3 v3.8.10
Output of build/install commands
See above
Include link to a gist containing the invocation and entire output of install.py if reporting an installation issue.
See above
The text was updated successfully, but these errors were encountered:
We usually make sure that the latest Ubuntu LTS works out of the box. Ubuntu 20.04 is two LTS releases behind.
We also support old python versions until they go EOL. Python 3.8 reached its extended EOL 2 months ago.
I do realize we did not update our documentation to reflect the requirement for python 3.9.
The commit that introduced BooleanOptionalAction was 19fa3c8
My recommendation to you would be to install a newer python, though. If 3.9 isn't packaged by ubuntu 20.04, you should be able to add the deadsnakes PPA.
Easy enough to add 3.9, though python being python ... :P Was thinking perhaps there was gating around the BooleanOptionalAction that might have been missed somewhere
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
insidethe brackets) before filing your issue:
Frequently Asked Questions section.
about to report and couldn't find an answer to my problem. (Example Google
search.)
vim --version
.:YcmDebugInfo
.the
:YcmToggleLogs
command.version) I am using.
my issue, using
vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what Iexpected to happen and what actually happened.
of
install.py
(orcmake
/make
/ninja
) including its invocationthat any help I receive is a selfless, heartfelt gift of their free time. I
know I am not entitled to anything and will be polite and courteous.
actually perform all of these steps.
Thank you for adhering to this process! It ensures your issue is resolved
quickly and that neither your nor our time is needlessly wasted.
Issue Details
Attempted to compile YCM under Ubuntu 20.04 with python3 v3.8.10
~/.vim/bundle/YouCompleteMe
via Vundlecd ~/.vim/bundle/YouCompeteMe
python3 install.py --clangd-completer
What did you expect to happen?
YCM to compile cleanly
What actually happened?
Compile failed with
Compile
Diagnostic data
Output of
vim --version
Output of
YcmDebugInfo
Output of
YcmDiags
Output of
git rev-parse HEAD
in YouCompleteMe installation directoryContents of YCM, ycmd and completion engine logfiles
OS version, distribution, etc.
Output of build/install commands
See above
The text was updated successfully, but these errors were encountered: