OmniSharp / omnisharp-sublime

C# IDE Plugin for Sublime Text 3
http://omnisharp-sublime.readthedocs.org/en/latest/
MIT License
551 stars 64 forks source link

Exception thrown when executing a Run Unit Test command #194

Closed nathanboktae closed 6 years ago

nathanboktae commented 9 years ago
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 556, in run_
    return self.run(edit)
  File "/Users/nblack/Library/Application Support/Sublime Text 3/Packages/OmniSharp/commands/type_lookup.py", line 19, in run
    omnisharp.get_response(self.view, '/typelookup', self._handle_typelookup, params)
  File "/Users/nblack/Library/Application Support/Sublime Text 3/Packages/OmniSharp/lib/omnisharp.py", line 84, in get_response
    timeout = int(get_settings(view, 'omnisharp_response_timeout'))
TypeError: int() argument must be a string or a number, not 'NoneType'

The setting is there in OmniSharp.sublime-settings in the package folder

{
    "omnisharp_response_timeout": 100,
    "omnisharp_auto_start": true,
    "omnisharp_server_config_location":"",
    "omnisharp_onsave_codecheck": true,
    "omnisharp_onsave_showwarningwindows":true,
    "omnisharp_onsave_showerrorwindows":true
}
igorkulman commented 9 years ago

Happens to me on Windows when trying to do anything (autocomplete, format document, go to definition, etc.)

Rosalie241 commented 6 years ago

Closing due to having outdated information.