You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use Ycm on one of my C# project the Ycm Omnisharp completion stopped working.
I tried to use :YcmDiag in order to find the reason of this issue. However the only thing that I got from that command is:
After looking at the log directory of Ycm I found some weird output in the omnisharp logs.
System.IO.FileNotFoundException: Could not find file "/Volumes/Data".
File name: '/Volumes/Data'
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
at System.IO.File.OpenText (System.String path) [0x00000] in <filename unknown>:0
at System.IO.File.ReadLines (System.String path) [0x00000] in <filename unknown>:0
at OmniSharp.Solution.CSharpSolution.LoadSolution (System.String fileName) [0x00000] in <filename unknown>:0
at OmniSharp.Program.StartServer (System.String solutionPath, System.String clientPathMode, Int32 port, Boolean verbose) [0x00000] in <filename unknown>:0
The file path of my project is something like /Volume/Data HD/....., thus I personally think the problem is very likely to be caused by some kind of incorrect space handling.
I am not sure if this is an Omnisharp issue or a Ycm issue. I will take some look at this problem and would really appreciate any hint or help on this.
Thanks.
The text was updated successfully, but these errors were encountered:
I'll need to check whether putting quotes around the path is enough to make this work on all platforms (don't have my Windows-machine available right now to test).
When I try to use Ycm on one of my C# project the Ycm Omnisharp completion stopped working.
I tried to use
:YcmDiag
in order to find the reason of this issue. However the only thing that I got from that command is:After looking at the log directory of Ycm I found some weird output in the omnisharp logs.
The file path of my project is something like
/Volume/Data HD/.....
, thus I personally think the problem is very likely to be caused by some kind of incorrect space handling.I am not sure if this is an Omnisharp issue or a Ycm issue. I will take some look at this problem and would really appreciate any hint or help on this.
Thanks.
The text was updated successfully, but these errors were encountered: