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.

Extension never loads on folder synced to GIT

See original GitHub issue

Environment 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:

  1. Clone a Git repository
  2. Open a Python file that is versioned. If it does not load, open as administrator.

Logs

Output for Python in the Output panel (ViewOutput, 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:closed
  • Created 5 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
scottstaffierecommented, Feb 11, 2019

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!

0reactions
d3r3kkcommented, Jan 21, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Github doesn't detect new folder - Stack Overflow
Git will ignore empty folders. Make sure at least one file is present in the new folder in the Git repository, or else...
Read more >
Syncing of extensions not working in portable mode · Issue #756
When installing VS Code in portable mode with local data directory, extensions are not (fully) synced. VS Code can be installed in portable ......
Read more >
User and Workspace Settings - Visual Studio Code
You can share your user settings across your VS Code instances with the Settings Sync feature. This feature lets you share settings, keyboard...
Read more >
git-svn Documentation - Git
git svn can track a standard Subversion repository, following the common "trunk/branches/tags" layout, with the --stdlayout option.
Read more >
Push rules - GitLab Docs
Files tracked by Git LFS are exempted. Prevent pushing secrets to the repository. Moved to GitLab Premium in 13.9. Never commit secrets, such...
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