Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OmniSharp Ubuntu installation python errors, opening .cs file error. Not working. It seems server not starting or something due to python errors. #262

Open
3 of 8 tasks
idchlife opened this issue Sep 30, 2019 · 1 comment

Comments

@idchlife
Copy link

idchlife commented Sep 30, 2019

Platform

  • Linux
  • Windows
  • OSX

Type

  • This is an issue
  • This is a feature request
  • Other

Checklist

  • It hasn't been fixed in the latest master
  • I can reproduce this issue in a fresh Sublime Text install without other extensions

Versions

output of mono --version:

Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:21:28 UTC 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          yes(610)
	Suspend:       hybrid
	GC:            sgen (concurrent by default)

output of msbuild /version:

Microsoft (R) Build Engine version 16.3.0-ci for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

16.300.19.41901%

Details

What's the bug?

After opening .cs file - error, not working.
Error:

omni_port:51367
RAISE_OMNI_SHARP_LAUNCHER_EXCEPTION:TypeError("'NoneType' object is not iterable",)

Also, right after installation this error:

ignored packages updated to: []
reloading plugin OmniSharp.OmniSharpSublime
omnisharp plugin_loaded
Traceback (most recent call last):
  File "/snap/sublime-text/69/opt/sublime_text/sublime_plugin.py", line 196, in load_module
    m.plugin_loaded()
  File "/home/idchlife/.config/sublime-text-3/Packages/OmniSharp/OmniSharpSublime.py", line 25, in plugin_loaded
    omni_exe_path = get_omni_path(active_view())
  File "/home/idchlife/.config/sublime-text-3/Packages/OmniSharp/lib/helpers.py", line 85, in get_omni_path
    relative_omni_path = get_omni_active(view).get("path")
  File "/home/idchlife/.config/sublime-text-3/Packages/OmniSharp/lib/helpers.py", line 70, in get_omni_active
    for server in servers:
TypeError: 'NoneType' object is not iterable
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings

How-To

How do I reproduce this issue?

Install Sublime Text 3.2.1, 3207 on Ubuntu Linux:

image

Install OmniSharp, try to open Unity project.

I think it's important to mention, VSCode on same system with OmniSharp is working fine

@idchlife
Copy link
Author

Guys? Issue exist even on new installation Lubuntu, latest version.

Same errors.

Does anybody know hot to fix it and use C# in sublime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant