forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Milestone
Description
Environment data
- VS Code version: 1.30.0
- Extension version (available under the Extensions sidebar): 2018.12.0
- OS and version: Arch Linux
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.1
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
- Relevant/affected Python packages and their versions: N/A
Expected behavior
Python extension loads with the language server running.
Actual behavior
The extension never finishes loading ("Python extension loading..." forever), and instead throws an exception from the code added in 66f8a27.
Steps to reproduce:
- Start the extension with LS enabled on Arch.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Nothing is output.
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
With the source map enabled:
ERR Cannot read property 'replace' of undefined: TypeError: Cannot read property 'replace' of undefined
at Object.SemVer [as parseVersion] (/home/jake/.vscode/extensions/ms-python.python-2018.12.0/src/client/common/utils/version.ts:12:1)
at parseVersion (/home/jake/.vscode/extensions/ms-python.python-2018.12.0/src/client/common/platform/platformService.ts:142:1)
at cb (/home/jake/.vscode/extensions/ms-python.python-2018.12.0/node_modules/getos/index.js:66:1)
at cb (/home/jake/.vscode/extensions/ms-python.python-2018.12.0/node_modules/getos/index.js:125:51)
at customLogic (/home/jake/.vscode/extensions/ms-python.python-2018.12.0/node_modules/getos/index.js:63:1)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
emaballarin and abhnvkmr
Metadata
Metadata
Assignees
Labels
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug