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

Timeout exception in FSharp.AutoComplete, very rare #18

Closed
rneatherway opened this issue Jun 9, 2015 · 0 comments
Closed

Timeout exception in FSharp.AutoComplete, very rare #18

rneatherway opened this issue Jun 9, 2015 · 0 comments
Labels

Comments

@rneatherway
Copy link
Contributor

From @rneatherway on October 24, 2014 13:37

Unhandled Exception:
System.Exception: Exception when getting check options for '/auto/users/robnea/dev/rneatherway-fsharpbinding/FSharp.AutoComplete/build.fsx'
.Details: System.TimeoutException: The operation has timed-out.
  at Microsoft.FSharp.Control.CancellationTokenOps.RunSynchronously[ProjectOptions] (CancellationToken token, Microsoft.FSharp.Control.FSharpAsync`1 computation, Microsoft.FSharp.Core.FSharpOption`1 timeout) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[ProjectOptions] (Microsoft.FSharp.Control.FSharpAsync`1 computation, Microsoft.FSharp.Core.FSharpOption`1 timeout, Microsoft.FSharp.Core.FSharpOption`1 cancellationToken) [0x00000] in <filename unknown>:0 
  at FSharp.CompilerBinding.LanguageService.GetScriptCheckerOptions (System.String fileName, System.String projFilename, System.String source, FSharp.CompilerBinding.FSharpTargetFramework targetFramework) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Core.ExtraTopLevelOperators+PrintFormatToStringThenFail@128-1[Microsoft.FSharp.Compiler.SourceCodeServices.ProjectOptions].Invoke (System.String message) [0x00000] in <filename unknown>:0 

Copied from original issue: fsprojects/zarchive-fsharpbinding#776

rneatherway added a commit to rneatherway/FsAutoComplete that referenced this issue Jul 27, 2015
* FSharp.CompilerBinding removed, and used parts absorbed. Fixes ionide#17.
* ScriptCheckerOptions fetched with no timeout, and also stores them.
  Fixes ionide#18, ionide#28.
* If a .fs file is not in a loaded project, produce an incomplete
  typecheck environment for it to give basic results.
* Update helptext command to return { Name = ""; Text = "" }. Fixes ionide#35.
* Update parsing of project options to include ProjectReferences. Fixes ionide#39.
* Separate parsing of commands, main command loop, and formatting of
  response message into separate modules.
rneatherway added a commit to rneatherway/FsAutoComplete that referenced this issue Jul 27, 2015
Backwards-incompatible changes:

* Update helptext command to return { Name = ""; Text = "" }. Fixes ionide#35.
* `project` command response now has 'null' for OutputFile and
  TargetFramework if a value cannot be determined.

Other changes:

* FSharp.CompilerBinding removed, and used parts absorbed. Fixes ionide#17.
* ScriptCheckerOptions fetched with no timeout, and also stores them.
  Fixes ionide#18, ionide#28.
* If a .fs file is not in a loaded project, produce an incomplete
  typecheck environment for it to give basic results.
* Update parsing of project options to include ProjectReferences. Fixes ionide#39.
* Separate parsing of commands, main command loop, and formatting of
  response message into separate modules.
vasily-kirichenko added a commit to vasily-kirichenko/FsAutoComplete that referenced this issue Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant