Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

[YCM] TypeError #85

Open
Al-Nibras opened this issue Jul 21, 2017 · 3 comments
Open

[YCM] TypeError #85

Al-Nibras opened this issue Jul 21, 2017 · 3 comments

Comments

@Al-Nibras
Copy link

TypeError: Key must be a buffer
at new Hmac (crypto.js:91:16)
at Object.Hmac (crypto.js:89:12)
at generateHmac (/Users/al-nibras/.atom/packages/you-complete-me/lib/handler.coffee:102:12)
at signMessage (/Users/al-nibras/.atom/packages/you-complete-me/lib/handler.coffee:113:65)
at /Users/al-nibras/.atom/packages/you-complete-me/lib/handler.coffee:164:7

this issue is still not fixed even after applying this commit:
https://github.com/Qusic/atom-youcompleteme/blob/master/lib/handler.coffee#L89-L98

@njlr
Copy link

njlr commented Aug 14, 2017

I am also having this issue on macOS with Atom 1.19.0.

@MagusLucius
Copy link

MagusLucius commented Oct 9, 2017

problem still exists in Atom 1.21.0 in Linux Mint 17

@gokhansolak
Copy link

gokhansolak commented Mar 27, 2018

I had the same problem in Ubuntu 16.04, Atom 1.24.1.

This is how it is solved for me:

  • Clone the Valloric/ycmd repo and build as instructed.
  • In Atom you-complete-me settings, put the path of the built ycmd as the Ycmd path setting.
  • If necessary: specify the Python executable option as the python you've built Ycmd.

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

4 participants