richard1122 / vscode-youcompleteme

YouCompleteMe for VSCode
https://marketplace.visualstudio.com/items?itemName=RichardHe.you-complete-me
MIT License
53 stars 8 forks source link

[UriError]: Scheme is missing #59

Open hsnusonic opened 5 years ago

hsnusonic commented 5 years ago

Hi,

I just installed this extension and got the error message as below.

[Error - 10:12:51 PM] Server initialization failed. Message: Request initialize failed with message: [UriError]: Scheme is missing: {scheme: "", authority: "", path: "null", query: "", fragment: ""} Code: -32603

How could I get more information to inspect why it can't be initialized?

VScode information:

Version: 1.39.2 Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390 Date: 2019-10-15T15:33:00.827Z Electron: 4.2.10 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Darwin x64 19.0.0

extension version: 1.1.0

richard1122 commented 5 years ago

Can you set ycmd.debug to see if there are more logs?

Also what's the version of your vscode and extension?

hsnusonic commented 5 years ago

Hi @richard1122 ,

I got the same message in "Output" after setting ycmd.debug. The version is added in my post.

richard1122 commented 5 years ago

@hsnusonic Hi, I can repro it sometimes.

I'll try to fix it these days.

Thanks.