microsoft / vscode-python

Python extension for Visual Studio Code
https://aka.ms/pvsc-marketplace
MIT License
4.31k stars 1.18k forks source link

Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information. #6863

Closed AeneasZhu closed 5 years ago

AeneasZhu commented 5 years ago

After vscode got its python insider's daily update(today), it cannot load the extension and displays what the title shows above.

janosh commented 5 years ago

Same problem here.

@rchiodo Is there any way to download an older version of the insider's channel? I need several of the upcoming features in my daily workflow.

rchiodo commented 5 years ago

I believe there's a 'stable' versus 'daily' setting. Not sure if that would change it though.

If you turn off the auto update, and then try going here, that might work too: https://dev.azure.com/ms/vscode-python/_build/results?buildId=29002

Upper right hand corner click on 'Artifacts' then scroll down to the VSIX.

I believe that build is working.

rchiodo commented 5 years ago

@DonJayamanne, @karrtikr, @ericsnowcurrently something since build 29002 has broken the extension loading.

I believe it was one of these 3 changes:

luabud commented 5 years ago

Same here.

Environment data

Steps to reproduce:

I installed the latest build and I get this prompt: image Extension never finishes loading: image

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

ser belongs to experiment group 'ShowPlayIcon - control'
> conda --version
> pyenv root
> python3.7 -c "import sys;print(sys.executable)"
> python3.6 -c "import sys;print(sys.executable)"
> python3 -c "import sys;print(sys.executable)"
> python2 -c "import sys;print(sys.executable)"
> python -c "import sys;print(sys.executable)"
> py -3.7 -c "import sys;print(sys.executable)"
> py -3.6 -c "import sys;print(sys.executable)"
> py -3 -c "import sys;print(sys.executable)"
> py -2 -c "import sys;print(sys.executable)"
> c:\Users\luabud\Apps\tweeter3-master\venv\Scripts\python.exe -c "import sys;print(sys.executable)"
> ~\AppData\Local\Microsoft\WindowsApps\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> ~\AppData\Local\Microsoft\WindowsApps\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> ~\AppData\Local\Microsoft\WindowsApps\python3.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> ~\AppData\Local\Microsoft\WindowsApps\python3.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> ~\.virtualenvs\Example-II-9dIpm\Scripts\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> ~\.virtualenvs\Example-II-9dIpm\Scripts\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> ~\.virtualenvs\NewEx-cooOG3E3\Scripts\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> ~\.virtualenvs\NewEx-cooOG3E3\Scripts\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> conda info --json
> conda info --json
> conda env list
> C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe ~\.vscode\extensions\ms-python.python-2019.9.29097-dev\pythonFiles\interpreterInfo.py
> conda env list

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

image

Full log: output060819.log

janosh commented 5 years ago

@rchiodo Thanks a lot! That build is indeed working. 🎉

However, "python.insidersChannel": "stable" is not recognized. Must be either "daily", "weekly" or "off". A "stable" setting that only updates to "stable" insiders would be cool, though.

karrtikr commented 5 years ago

@DonJayamanne Smoke tests are failing on PR validation and not being reported

image.png

karrtikr commented 5 years ago

validated