Closed mburbea closed 9 years ago
that is an odd one.
i would firstly close sublime, kill all omnisharp.exe processes via Task Manager, then open the project via Project - Open Project and see what you get
On 17 November 2014 19:20, Michael Burbea notifications@github.com wrote:
I just installed the omnisharp plugin but everytime I type I get the following error:: File "C:\Users\mburbea\AppData\Roaming\Sublime Text 3\Packages\OmniSharp\lib\omnisharp.py", line 38, in run response = urllib.request.urlopen(url, data, timeout) File "./urllib/request.py", line 156, in urlopen File "./urllib/request.py", line 475, in open File "./urllib/request.py", line 587, in http_response File "./urllib/request.py", line 507, in error File "./urllib/request.py", line 447, in _call_chain File "./urllib/request.py", line 692, in http_error_302 File "./urllib/request.py", line 475, in open File "./urllib/request.py", line 587, in http_response File "./urllib/request.py", line 513, in error File "./urllib/request.py", line 447, in _call_chain File "./urllib/request.py", line 595, in http_error_default urllib.error.HTTPError: HTTP Error 503: Service Unavailable ======== response ======== None CALLBACK_ERROR TERMINATE_OMNI_SHARP exit_omni_sharp_launcher:C
Any idea how to correct this issue?
Reply to this email directly or view it on GitHub https://github.com/OmniSharp/omnisharp-sublime/issues/79.
I tried that still get the same issues :(
you have python installed and its in your PATH?
Yes I do. I installed 2.7.8 this morning. From a cmd prompt I can type python and it launches the repl On Nov 17, 2014 4:58 PM, "Jonathan Channon" notifications@github.com wrote:
you have python installed and its in your PATH?
— Reply to this email directly or view it on GitHub https://github.com/OmniSharp/omnisharp-sublime/issues/79#issuecomment-63383822 .
Have you tried logging in and out since the install? see https://github.com/OmniSharp/omnisharp-sublime/issues/73
I've restarted and still get the issue
and you're definately using a sublime project file?
if you open a cs file and click inside it if you view the sublime console - View -> Show Console
do you see a LAUNCH statement
you should therefore have a ominsharp.exe running in task manager
Yes. Here is the excerpt: omnisharp plugin_loaded project file is : C:\repos\Polaris.Api\polaris.api.sublime-project solution_path:C:\repos\Polaris.Api\src\polaris.api.sln omni_port:51015 LAUNCH!!! C:\Users\mburbea\AppData\Roaming\Sublime Text 3\Packages\OmniSharp\launchers\omni_sharp_launcher.py start_omni_sharp_launcher:C:\repos\Polaris.Api\src\polaris.api.sln
Then when I actually try to use the thing by typing something like System. in a random cs then I get this error: ======== request params ======== {"filename": "C:\repos\Polaris.Api\src\Polaris.Api\Program.cs", "line": "31", "WantMethodHeader": true, "buffer": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing fpl.ServiceHost;\nusing System.Reflection;\nusing fpl.Common.Windsor;\nusing NLog;\n\nnamespace fpl.Polaris.Api\n{\n\tclass Program\n\t{\n\t\tstatic int Main(string[] args)\n\t\t{\n\t\t\tvar assemblyName = Assembly.GetEntryAssembly().GetName().Name;\n\t\t\tFunc<string, LogFactory> logger = (logName) => \n\t\t\t\tnew LogFactory(NLogConfigBuilder\n\t\t\t\t\t\t.Init(logName,\n\t\t\t\t\t\t\t@\"C:\logs\fpl\fpl.Polaris.Api\",\n\t\t\t\t\t\t\t@\"C:\logs\fpl\fpl.Polaris.Api\Archive\"\n\t\t\t\t\t\t)\n\t\t\t\t\t\t.SetupConsoleLog(LogLevel.Debug)\n\t\t\t\t\t\t.AddLogFile(LogLevel.Debug, \"install\")\n\t\t\t\t\t\t.Config);\n\t\t\tvar svc = new TopShelfWrapper(assemblyName, assemblyName, assemblyName.Replace('.', ' '), logger,defaultPort:8888);\n\t\t\t//new FplWebHost().Start(fpl.Common.Habitat.Dev, 9000);\n\t\t\t//return 0;\n\t\t\treturn svc.Run(args, new FplWebHost());\n\t\t\tSy\n\t\t\t\n\t\t}\n\t}\n}\n", "wordToComplete": "Sy", "WantSnippet": true, "WantReturnType": true, "column": "6"} Traceback (most recent call last): File "C:\Users\mburbea\AppData\Roaming\Sublime Text 3\Packages\OmniSharp\lib\omnisharp.py", line 38, in run response = urllib.request.urlopen(url, data, timeout) File "./urllib/request.py", line 156, in urlopen File "./urllib/request.py", line 475, in open File "./urllib/request.py", line 587, in http_response File "./urllib/request.py", line 507, in error File "./urllib/request.py", line 447, in _call_chain File "./urllib/request.py", line 692, in http_error_302 File "./urllib/request.py", line 475, in open File "./urllib/request.py", line 587, in http_response File "./urllib/request.py", line 513, in error File "./urllib/request.py", line 447, in _call_chain File "./urllib/request.py", line 595, in http_error_default urllib.error.HTTPError: HTTP Error 503: Service Unavailable ======== response ======== None CALLBACK_ERROR TERMINATE_OMNI_SHARP exit_omni_sharp_launcher:C:\repos\Polaris.Api\src\polaris.api.sln
I look my taskman and I do see omni sharp running.
its got itself in a state somehow
i'd try killing all sublime and all omnisharp.exe processes and start again
when you open sublime and open the project, just click in a CS file then check a 1 omnisharp.exe is running, if so then try a format document or something to see if it works
Only one is found. As I type new error spawn and eventually it launches new instances. I have no idea what I'm doing wrong :(
me either :smile:
Is your config.json corrupt?
Please try latest version of the plugin to see if it has been fixed
I"m closing this, if still an issue after 1.8.1 release please let me know
I just installed the omnisharp plugin but everytime I type I get the following error:: File "C:\Users\mburbea\AppData\Roaming\Sublime Text 3\Packages\OmniSharp\lib\omnisharp.py", line 38, in run response = urllib.request.urlopen(url, data, timeout) File "./urllib/request.py", line 156, in urlopen File "./urllib/request.py", line 475, in open File "./urllib/request.py", line 587, in http_response File "./urllib/request.py", line 507, in error File "./urllib/request.py", line 447, in _call_chain File "./urllib/request.py", line 692, in http_error_302 File "./urllib/request.py", line 475, in open File "./urllib/request.py", line 587, in http_response File "./urllib/request.py", line 513, in error File "./urllib/request.py", line 447, in _call_chain File "./urllib/request.py", line 595, in http_error_default urllib.error.HTTPError: HTTP Error 503: Service Unavailable ======== response ======== None CALLBACK_ERROR TERMINATE_OMNI_SHARP exit_omni_sharp_launcher:C
Any idea how to correct this issue?