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

HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:<randomnumber>/completions #2494

Closed
11 tasks done
park0kyung0won opened this issue Jan 7, 2017 · 2 comments

Comments

@park0kyung0won
Copy link

park0kyung0won commented Jan 7, 2017

Issue Prelude

Please complete these steps and check these boxes (by putting an x inside
the brackets) before filing your issue:

  • I have read and understood YCM's [CONTRIBUTING][cont] document.
  • I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
  • I have read and understood YCM's [README][readme], especially the
    [Frequently Asked Questions][faq] section.
  • 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.][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.
  • 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

OS

Arch Linux latest version

vim --version

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 15 2016 18:06:04)
Included patches: 1-86
Compiled by Arch Linux
Huge version without GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_sgr +tag_old_static
+arabic +find_in_path -mouse_sysmouse -tag_any_white
+autocmd +float +mouse_urxvt +tcl/dyn
-balloon_eval +folding +mouse_xterm +termguicolors
-browse -footer +multi_byte +terminfo
++builtin_terms +fork() +multi_lang +termresponse
+byte_offset +gettext -mzscheme +textobjects
+channel -hangul_input +netbeans_intg +timers
+cindent +iconv +num64 +title
-clientserver +insert_expand +packages -toolbar
-clipboard +job +path_extra +user_commands
+cmdline_compl +jumplist +perl/dyn +vertsplit
+cmdline_hist +keymap +persistent_undo +virtualedit
+cmdline_info +lambda +postscript +visual
+comments +langmap +printer +visualextra
+conceal +libcall +profile +viminfo
+cryptv +linebreak +python/dyn +vreplace
+cscope +lispindent +python3/dyn +wildignore
+cursorbind +listcmds +quickfix +wildmenu
+cursorshape +localmap +reltime +windows
+dialog_con +lua/dyn +rightleft +writebackup
+diff +menu +ruby/dyn -X11
+digraphs +mksession +scrollbind -xfontset
-dnd +modify_fname +signs -xim
-ebcdic +mouse +smartindent -xpm
+emacs_tags -mouseshape +startuptime -xsmp
+eval +mouse_dec +statusline -xterm_clipboard
+ex_extra +mouse_gpm -sun_workshop -xterm_save
+extra_search -mouse_jsbterm +syntax
+farsi +mouse_netterm +tag_binary
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lncurses -lelf -lnsl -lacl -lattr -lgpm -ldl -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib -L/usr/lib/perl5/core_perl/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lieee -lm

:YcmDebugInfo

Printing YouCompleteMe debug information...
-- Client logfile:/tmp/ycm_QW1CRj.log
-- Server has Clang support compiled in: Ture
-- Clang version: clang version 3.9.1 (tags/RELEASE_391/final)
-- Python competer debug information:
-- JediHTTP running at: http://127.0.0.1:58257
-- JediHTTP process ID: 5944
-- JediHTTP executable: /home/pkw/.vim/bundle/youcompleteme/third_party/ycmd/third_party/JediHTTP/jedihttp.py
-- JediHTTP logfiles:
-- /tmp/jedihttp_58257_stdout_hv6c0e1o.log
-- /tmp/jedihttp_58257_stderr_6ukj779z.log
-- Python interpreter: /usr/bin/python3
-- Server running at: http://127.0.0.1:58983
-- Server process ID: 5906
-- Server logfiles:
-- /tmp/ycmd_58983_stdout_vAcVZg.log
-- /tmp/ycmd_58983_stderr_BCYLjw.log

:YcmToggleLogs

Available logfiles are:
ycm_QW1CRj.log
ycmd_58983_stderr_BCYLjw.log
ycmd_58983_stdout_vAcVZg.log

Actual error log files

ErrorLogs.zip

Minimal test case

I installed Arch Linux base system...
Then I installed vim...
Then I installed xorg...
Then I installed firefox...
Then I installed python... ( python3.6 in Arch Linux )
Then I installed i3-gaps... ( by Arch AUR repository )
Then I installed youcompleteme vim plugin through vim-bundle...
Then I installed cmake, clang, llvm, gcc-fortran, clisp, lua by pacman...
Then I compiled youcompleteme by

sudo python install.py --clang-completer --system-libclang

Then I tired...

vim test.py

and typed stuffs...
Then I got this error. Ycm isn't working and
something poped up very fast and dissapeared in status bar.
I checked it out with :message command and it says...

HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:58983/completions

I got this error right after changing my desktop environment to i3-gaps.
I was using xfce4 before and it worked well back then...

@micbou
Copy link
Collaborator

micbou commented Jan 7, 2017

Thanks for the detailed report. Completion for Python 3.6 is not yet supported by YCM. We need to merge PR ycm-core/ycmd#686 then update the ycmd submodule for that.

@micbou
Copy link
Collaborator

micbou commented Jan 8, 2017

Fixed by PR #2495.

@micbou micbou closed this as completed Jan 8, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants