Skip to content

Error 'NoneType' object has no attribute 'SendCodeCompletionRequest' #26

@mulle-nat

Description

@mulle-nat

I built the current ycmd with ./build.py --all, nothing fancy. It built nicely. Then I tried out the YcmdCompletion plugin, with Sublime build 3314 on OS X 10.10.5, but I don't have luck so far.

Here's what the console says:

[YCMD] #### START COMPLETION ####
[Ycmd][Completion] for tmpfile.cpp:8:15
[Ycmd][Completion] Error 'NoneType' object has no attribute 'SendCodeCompletionRequest'
[Ycmd][Notify] tmpfile.cpp
[Ycmd][Notify] Error 'NoneType' object has no attribute 'SendEventNotification'
[Ycmd][Completion] for tmpfile.cpp:8:16
[Ycmd][Completion] Error 'NoneType' object has no attribute 'SendCodeCompletionRequest'

Here's my user config file: ( HMAC edited out)

{
   "HMAC": "<secret>",
   "languages": [ "c", "objc", "cpp", "python"],
   "ycmd_path": "/Volumes/Source/src/unix/ycmd/ycmd",
   "use_auto_start_localserver": 1,
   "python_binary_path": "/usr/local/bin/python"
}

and my environment:

$ which python
/usr/local/bin/python
$ python --version 
Python 2.7.11
$ ls -d /Volumes/Source/src/unix/ycmd/ycmd
/Volumes/Source/src/unix/ycmd/ycmd
$ uname -v
Darwin Kernel Version 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64

and the contents of tmpfile.cpp (just in case :)), where the buffer is in C++ mode:

class xxx 
{
public:
   int  x;
};


int  main( void)
{
   xxx  a;

   a.x = 1848;
   return( a.x);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions