Extension never loads on folder synced to GIT
See original GitHub issueEnvironment data
- VS Code version: 1.30.0
- Extension version 2018.12.1
- OS and version: Windows 7
- Python version (& distribution if applicable, e.g. Anaconda): 3.6.6
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Relevant/affected Python packages and their versions: N/A
Expected behaviour
Open Python file and Python extension loads.
Actual behaviour
I am opening a Python file under a folder that is cloned from a Git repo. The “Python Extension Loading” message appears forever in the bottom. If I run as Administrator, it loads immediately. If I open a regular Python file that is not in the Git repo, it loads immediately. I’m using Git for Windows to do my cloning/checkouts.
Steps to reproduce:
- Clone a Git repository
- Open a Python file that is versioned. If it does not load, open as administrator.
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
N/A - No output
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
Here is the error stack: Error: spawn EPERM at _errnoException (util.js:1024:11) at ChildProcess.spawn (internal/child_process.js:323:11) at exports.spawn (child_process.js:514:9) at v.module.exports.v.keys (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:182883) at module.exports.l.getKeys.Promise (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:227142) at new Promise (<anonymous>) at C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:227113 at Generator.next (<anonymous>) at module.exports.i (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:226828) at new Promise (<anonymous>) at module.exports.i (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:226605) at C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:227073 at l.<anonymous> (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:227251) at Generator.next (<anonymous>) at module.exports.i (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:226828) at new Promise (<anonymous>) at module.exports.i (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:226605) at l.getKeys (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:227014) at v.<anonymous> (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:555425) at Generator.next (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:554302) at new Promise (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:554079) at v.getCompanies (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:555371) at v.<anonymous> (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:554854) at Generator.next (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:554302) at new Promise (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:554079) at v.getInterpretersFromRegistry (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:554757) at v.getInterpretersImplementation (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:554690) at v.<anonymous> (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:110539) at Generator.next (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:109873) at new Promise (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:109650) at v.getInterpreters (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:1:110310) at f.<anonymous> (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:524298) at Generator.next (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:523721) at new Promise (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:523498) at module.exports.f.getInterpreters.t.getLocators.map.t (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:524256) at Array.map (<anonymous>) at f.<anonymous> (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:524249) at Generator.next (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:523721) at new Promise (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:523498) at f.getInterpreters (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:524189) at v.<anonymous> (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:517121) at Generator.next (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:515818) at new Promise (<anonymous>) at module.exports.o (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:515595) at v.getInterpreters (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:83:517061) at C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:9:68009 at C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:9:68043 at Generator.next (<anonymous>) at module.exports.r (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:9:65576) at new Promise (<anonymous>) at module.exports.r (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:9:65353) at module.exports.t.activate (C:\Users\brodie11.vscode\extensions\ms-python.python-2018.12.1\out\client\extension.js:9:66372) at Function.t._callActivateOptional (c:\Users\brodie11\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:759:329) at Function.t._callActivate (c:\Users\brodie11\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:759:6) at c:\Users\brodie11\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:758:173 at <anonymous>
Issue Analytics
- State:
- Created 5 years ago
- Comments:11
Top GitHub Comments
Sorry for the delay - This is so across the board that I can’t reliably even submit a debug log. I just upgraded to Windows 10 the other day and so far, it seems like it’s working. I’m going to close this because it’s so inconsistent, but I’m sure it’s related to my particular setup here. Thank you for the help and I absolutely love the extension - top notch!
Awesome, looking forward to seeing the result - I hope we can sort out a way to better notify the user of an issue, if not provide a way to fix the problem altogether.