question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error `Start and End must be well ordered` returned by Language Server

See original GitHub issue

While working on some python code, I noticed the following error message:

Starting Microsoft Python language server.
[Info  - 10:05:43 PM] Created Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter instance from Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory
Initializing for /Users/donjayamanne/.local/share/virtualenvs/dbg-cDgS3Mye/bin/python
[Info  - 11:10:00 PM] Found 228 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (80, 83) after filtering
[Info  - 11:10:01 PM] Found 293 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (80, 85) after filtering
[Info  - 11:11:21 PM] Found 293 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (82, 92) after filtering
[Info  - 11:15:20 PM] Found 224 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (80, 9) after filtering
[Error - 11:16:43 PM] Request textDocument/completion failed.
  Message: Start and End must be well ordered
  Code: -32000 
[object Object]
[Info  - 11:16:43 PM] Found 77 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (80, 36) after filtering

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
MikhailArkhipovcommented, Aug 14, 2018

Gonna close then, there were fixes made in the area.

0reactions
MikhailArkhipovcommented, Dec 17, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Language Server Extension Guide - Visual Studio Code
With Language Servers, you can implement autocomplete, error-checking (diagnostics), jump-to-definition, and many other language features supported in VS Code.
Read more >
Language Server Protocol Specification - 3.17
This document describes the 3.17.x version of the language server protocol. ... No LSP error codes should * be defined between the start...
Read more >
Extending a client with the language server protocol
In this post we will investigate how to use the language server protocol for actually extending any client understanding the LSP. Language ...
Read more >
Integrating Code Completion in Visual Studio Code - Strumenta
Introduction. Automatic code completion, also known as IntelliSense, is an important part of the modern software development experience.
Read more >
Example language server - vscode-docs1
A good starting point for a language server implementation in Node.js is the ... always provide the same completion items. return [ {...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found