After inspecting that error message, it seems like the advice on this page fixes the issue
Search Criteria
Package Details: vim-youcompleteme-git r3216.0d855962-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/vim-youcompleteme-git.git (read-only, click to copy) |
---|---|
Package Base: | vim-youcompleteme-git |
Description: | A code-completion engine for Vim |
Upstream URL: | https://ycm-core.github.io/YouCompleteMe/ |
Keywords: | completion engine neovim vim ycm |
Licenses: | GPL3 |
Groups: | vim-plugins |
Submitter: | thestinger |
Maintainer: | artafinde |
Last Packager: | artafinde |
Votes: | 170 |
Popularity: | 0.047698 |
First Submitted: | 2013-02-05 21:32 (UTC) |
Last Updated: | 2024-08-19 15:53 (UTC) |
Dependencies (19)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-bottle
- python-watchdog (python-watchdog-gitAUR)
- vim (neovim-drop-inAUR, neovim-symlinksAUR, vim-cli-gitAUR, gvim-wayland-lilydjwg-gitAUR, vim-gitAUR, gvim-gtk2AUR, gvim)
- cmake (cmake-gitAUR, cmake3AUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- pybind11 (pybind11-gitAUR) (make)
- abseil-cpp (abseil-cpp-gitAUR) (optional) – if setting _use_system_abseil ON
- gopls (optional) – Go semantic completion
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jdk-openjdk-wakefieldAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk-android-studioAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk8-dragonwell-extendedAUR, jdk11AUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk8AUR, zulu-17-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk23-graalvm-ee-binAUR, jdk-ltsAUR, liberica-jdk-11-full-binAUR, liberica-jdk-17-full-binAUR, zulu-17-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, java-openjdk-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jdkAUR, jdk-temurinAUR, liberica-jdk-full-binAUR, zulu-24-binAUR, jdk24-graalvm-ee-binAUR, jdk8-perfAUR, zing-8-binAUR, zing-21-binAUR, zing-23-binAUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, liberica-jdk-21-binAUR, jre-jetbrainsAUR, jdk21-jetbrains-binAUR, jdk17-jetbrains-binAUR, java-openjdk-ea-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (optional) – Java semantic completion
- jdtlsAUR (optional) – Java semantic completion
- nodejs-ternAUR (optional) – JavaScript semantic completion
- omnisharp-roslynAUR (omnisharp-roslyn-bundledAUR, omnisharp-roslyn-binAUR) (optional) – C# semantic completion
- python-jedi (optional) – Python semantic completion
- python-numpydoc (optional) – Python semantic completion
- python-regex (python-regex-gitAUR) (optional) – Better Unicode support
- rust-analyzer (rust-analyzer-gitAUR, rust-analyzer-nightly-binAUR, rustup-gitAUR, rustup) (optional) – Rust semantic completion
- typescript (typescript-gitAUR) (optional) – Typescript semantic completion
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 53 Next › Last »
wjhandley commented on 2021-02-18 23:43 (UTC)
wjhandley commented on 2021-02-18 23:26 (UTC) (edited on 2021-02-18 23:27 (UTC) by wjhandley)
Apologies @staletic -- I'd thought it looked similar to @David01's error, but you are right that it is different.
@artafinde -- yes, this error occurs after a clean build and fresh pacman update.
Error detected while processing function <SNR>80_PollServerReady:
line 7:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
File "/usr/share/vim/vimfiles/python/ycm/client/base_request.py", line 206, in Session
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
return cls.session
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
AttributeError: type object 'BaseRequest' has no attribute 'session'
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
During handling of the above exception, another exception occurred:
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
File "<string>", line 1, in <module>
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
File "/usr/share/vim/vimfiles/python/ycm/youcompleteme.py", line 226, in CheckIfServerIsReady
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
self._server_is_ready_with_cache = BaseRequest().GetDataFromHandler(
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
File "/usr/share/vim/vimfiles/python/ycm/client/base_request.py", line 105, in GetDataFromHandler
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
self.GetDataFromHandlerAsync( handler, timeout, payload ),
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
File "/usr/share/vim/vimfiles/python/ycm/client/base_request.py", line 114, in GetDataFromHandlerAsync
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
return BaseRequest._TalkToHandlerAsync(
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
File "/usr/share/vim/vimfiles/python/ycm/client/base_request.py", line 171, in _TalkToHandlerAsync
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
return BaseRequest.Session().get(
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
File "/usr/share/vim/vimfiles/python/ycm/client/base_request.py", line 209, in Session
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
from requests_futures.sessions import FuturesSession
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
ImportError: bad magic number in 'requests_futures': b'\x03\xf3\r\n'
Press ENTER or type command to continue
Error detected while processing function <SNR>80_PollServerReady:
line 7:
E858: Eval did not return a valid python object
Press ENTER or type command to continue
artafinde commented on 2021-02-18 12:07 (UTC)
@wjhandley Did you rebuild ycm
after a recent pacman
full upgrade?
staletic commented on 2021-02-18 09:39 (UTC)
@wjhandley It's useful to post entire errors, not just the first line.
wjhandley commented on 2021-02-18 09:12 (UTC)
I'm also still getting the error
Error detected while processing function <SNR>84_PollServerReady:
line 7:
Has anybody found a solution to this?
David01 commented on 2021-01-03 02:33 (UTC) (edited on 2021-01-03 02:34 (UTC) by David01)
After new year's there has been a recent pacman packages update. This update was performed successfully, but there is some conflict with ycm's 2020-12-21 update:
vim filename
gives:
Error detected while processing function <SNR>37_PollServerReady:
line 7:
Press ENTER or type command to continue
Error detected while processing function <SNR>37_PollServerReady:
line 7:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function <SNR>37_PollServerReady:
line 7:
File "<string>", line 1, in <module>
Press ENTER or type command to continue
Error detected while processing function <SNR>37_PollServerReady:
line 7:
File "/usr/share/vim/vimfiles/python/ycm/youcompleteme.py", line 226, in CheckIfServerIsReady
:scriptnames
gives:
1: /etc/vimrc
2: /usr/share/vim/vimfiles/archlinux.vim
3: ~/.vimrc
4: /usr/share/vim/vim82/filetype.vim
5: /usr/share/vim/vimfiles/ftdetect/PKGBUILD.vim
6: /usr/share/vim/vimfiles/ftdetect/meson.vim
7: /usr/share/vim/vim82/ftplugin.vim
8: /usr/share/vim/vim82/indent.vim
9: /usr/share/vim/vim82/syntax/syntax.vim
10: /usr/share/vim/vim82/syntax/synload.vim
11: /usr/share/vim/vim82/syntax/syncolor.vim
12: /usr/share/vim/vim82/autoload/netrw_gitignore.vim
13: /usr/share/vim/vimfiles/autoload/pathogen.vim
14: /usr/share/vim/vim82/ftoff.vim
15: ~/.vim/bundle/vim-polyglot/ftdetect/polyglot.vim
16: ~/.vim/bundle/vim-colors-xcode/colors/xcodelighthc.vim
17: /usr/share/vim/vimfiles/plugin/SyntaxFolds.vim
18: /usr/share/vim/vimfiles/plugin/filebrowser.vim
19: /usr/share/vim/vimfiles/plugin/fzf.vim
20: /usr/share/vim/vimfiles/plugin/imaps.vim
21: /usr/share/vim/vimfiles/plugin/indentLine.vim
22: /usr/share/vim/vimfiles/plugin/remoteOpen.vim
23: /usr/share/vim/vimfiles/plugin/youcompleteme.vim
24: /usr/share/vim/vim82/plugin/getscriptPlugin.vim
25: /usr/share/vim/vim82/plugin/gzip.vim
26: /usr/share/vim/vim82/plugin/logiPat.vim
27: /usr/share/vim/vim82/plugin/manpager.vim
28: /usr/share/vim/vim82/plugin/matchparen.vim
29: /usr/share/vim/vim82/plugin/netrwPlugin.vim
30: /usr/share/vim/vim82/plugin/rrhelper.vim
31: /usr/share/vim/vim82/plugin/spellfile.vim
32: /usr/share/vim/vim82/plugin/tarPlugin.vim
33: /usr/share/vim/vim82/plugin/tohtml.vim
34: /usr/share/vim/vim82/plugin/vimballPlugin.vim
35: /usr/share/vim/vim82/plugin/zipPlugin.vim
36: /usr/share/vim/vim82/scripts.vim
37: /usr/share/vim/vimfiles/autoload/youcompleteme.vim
Could you please help me ? Many thanks
lahwaacz commented on 2020-12-12 09:49 (UTC)
@artafinde I see you've removed the ycmd
repo from the sources
array, which makes sense - now makepkg won't update the module only for git submodule update
to skip back to the tracked commit.
Now the only problem with package versions is that the last 11 commits have the same message: upgpkg: vim-youcompleteme-git r2774.4496153a-1
. I understand you just force-install the same package version with makepkg, but people who put the package into their custom binary repo actually need to bump pkgrel
, otherwise pacman won't recognize it as an update and will just tell you that the old, cached package has become corrupted.
artafinde commented on 2020-12-09 08:20 (UTC)
@lahwaacz: The -git
packages in AUR are mostly pkgver
of 1
since they don't represent any particular release / tag. Whoever uses them agrees in the "silent contract" that they should keep them up to date.
On top of that the vim-youcompleteme-git
plugin is a bit more complicated since the upstream depends on the ycmd
(server) and it's tracked as git submodule in the upstream source code. So even if the upstream youcompleteme
project source code might seem as not updated the submodule (ycmd
) might.
My recommendation is to rebuild the -git
packages you use often.
Disclaimer: I don't use any aur helper - just makepkg
so no clue on what they offer, if any.
staletic commented on 2020-12-09 01:23 (UTC)
@lahwaacz The ycmd git source is YCM's submodule, so it can't change without getting updated in the YCM repo first.
@artafinde pybind11-2.6.1-1 is out and headers now do exist in /usr/include/pybind11
. This PKGBUILD should be able to add pybind11
to the rm -rf
command on line 77.
lahwaacz commented on 2020-12-08 23:13 (UTC)
The pkgver
function is wrong - the PKGBUILD has 2 git repos in the sources
array, but the current pkgver
function considers only one of them. If the other repo changes, the build obviously results in a different package, but the pkgver
stays the same.
Pinned Comments
artafinde commented on 2021-04-10 13:03 (UTC)
If you want to use system's abseil set the
_use_system_abseil
toON
- default is to download from internet during build.