I'm getting HTTPError: 500 Server Error whenever I use dot to request a completion

220 views
Skip to first unread message

Michael Donux

unread,
Jun 16, 2016, 1:55:56 PM6/16/16
to ycm-users
Hi~

I use
System:    Host: myarcher Kernel: 4.6.2-1-ARCH x86_64 (64 bit) Desktop: Gnome 3.20.2 Distro: Arch Linux

And I installed ycm from aur package vim-youcompleteme-git.

Whenever I request a complete by using dot character, the error below occurs:

2016-06-15 18:37:58,735 - INFO - Received completion request
2016-06-15 18:37:58,737 - INFO - Starting new HTTP connection (1): 127.0.0.1
Traceback (most recent call last):
  File "/usr/share/vim/vimfiles/third_party/ycmd/third_party/bottle/bottle.py", line 861, in _handle
    return route.call(**args)
  File "/usr/share/vim/vimfiles/third_party/ycmd/third_party/bottle/bottle.py", line 1734, in wrapper
    rv = callback(*a, **ka)
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/watchdog_plugin.py", line 106, in wrapper
    return callback( *args, **kwargs )
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/hmac_plugin.py", line 72, in wrapper
    body = callback( *args, **kwargs )
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/handlers.py", line 98, in GetCompletions
    .ComputeCandidates( request_data ) )
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 218, in ComputeCandidates
    candidates = self._GetCandidatesFromSubclass( request_data )
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 234, in _GetCandidatesFromSubclass
    raw_completions = self.ComputeCandidatesInner( request_data )
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 256, in ComputeCandidatesInner
    for completion in self._JediCompletions( request_data ) ]
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 261, in _JediCompletions
    request_data )[ 'completions' ]
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 199, in _GetResponse
    response.raise_for_status()
  File "/usr/share/vim/vimfiles/third_party/ycmd/third_party/requests/requests/models.py", line 840, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:33205/completions

My shadowsocks is running as a daemon and use port 1080. But I have no idea whether it's related.

Any idea to fix it? 

Peng Wang

unread,
Jun 23, 2016, 7:26:55 PM6/23/16
to ycm-users
Same here. Please help!

Sharat Masetty

unread,
Oct 20, 2016, 2:48:47 AM10/20/16
to ycm-users
Were you able to get past this error? I see the same problem.
Reply all
Reply to author
Forward
0 new messages