atom-youcompleteme icon indicating copy to clipboard operation
atom-youcompleteme copied to clipboard

[YCM] TypeError

Open Al-Nibras opened this issue 7 years ago • 3 comments

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

Al-Nibras avatar Jul 21 '17 16:07 Al-Nibras

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

njlr avatar Aug 14 '17 13:08 njlr

problem still exists in Atom 1.21.0 in Linux Mint 17

MagusLucius avatar Oct 09 '17 22:10 MagusLucius

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.

gokhansolak avatar Mar 27 '18 09:03 gokhansolak