Package: ycmd
Version: 0+20160327+gitc3e6904-1+b1
Severity: important
Control: affects -1 vim-youcompleteme

Hi,

I'm getting lots of errors like the following:

Error detected while processing function 
<SNR>31_OnCursorMovedNormalMode[5]..<SNR>31_OnFileReadyToParse:

Googling led me to a different (but similar) issue[1]. There it is
suggested to set `g:ycm_path_to_python_interpreter` to a value matching
the python version vim was compiled with (3.5 right now). However, this
still leaves us with issues, as we get ImportError exceptions:

ImportError: dynamic module does not define init function (PyInit_ycm_core)

This lead me to [2]. And indeed, one shouldn't expect to be able to use
a python2 module in a python3 process...

[1] https://github.com/Valloric/YouCompleteMe/issues/1652
[2] 
https://github.com/Valloric/YouCompleteMe#i-get-importerror-exceptions-that-mention-pyinit_ycm_core-or-initycm_core

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ycmd depends on:
ii  libboost-filesystem1.61.0  1.61.0+dfsg-3+b1
ii  libboost-python1.61.0      1.61.0+dfsg-3+b1
ii  libboost-regex1.61.0       1.61.0+dfsg-3+b1
ii  libboost-system1.61.0      1.61.0+dfsg-3+b1
ii  libc6                      2.24-8
ii  libclang1-3.8              1:3.8.1-16
ii  libgcc1                    1:6.2.1-7
ii  libpython2.7               2.7.13-1
ii  libstdc++6                 6.2.1-7
ii  python-bottle              0.12.11-1
ii  python-future              0.15.2-4
ii  python-jedi                0.9.0-1
ii  python-requests            2.12.4-1
ii  python-waitress            1.0.1-1
ii  python2.7                  2.7.13-1
pn  python:any                 <none>

Versions of packages ycmd recommends:
ii  libclang-common-3.8-dev  1:3.8.1-16
ii  node-typescript          2.1.4-1
ii  vim-youcompleteme        0+20160327+git1b76af4-2

ycmd suggests no packages.

-- no debconf information

Reply via email to