When running Algo VS Code, there is no authorization window / An error "Failed to update the extension" occurs / When running, an endless search for updates


Vsevolod Karpenko
Last Updated: 1 month ago

g8vI04NA.png

▪️ I do not see the error "Failed to update extension"

▪️ I see the error "Failed to update extension"

 

 

I do not see the error "Failed to update extension"

  • If the program is installed correctly, you should see the authorization window on the learning platform.

    grfgergre.png

  • Sometimes the program may freeze at the “Search for updates” notification. Try restarting it - an authorization window should appear.

    If it doesn't, check the following points:
    - Internet connection stability;
    - The relevance of installed extensions. Errors may occur if the algopython extension is installed lower than 2.85.

    Screenshot_7.png


    In case you find that you have an out-of-date extension installed, do the following:

    - Make sure you have the latest version of algo vs code installed.
    You can find all current installers in this knowledge base: for windows, for macOS, for linux.

    - If the version of the program is up-to-date, but the extension is not - remove the current version of algopython by clicking Uninstall:

    - Restart VSC;
    - Go to the extensions tab again, search for algopython;
    - Install the extension by clicking on Install;

    mceclip1.png

    - Restart VSC again, go to extensions and make sure the current version is installed.


  • Another reason for the problem of the absence of the authorization window may be the presence of a local problem with the certificate of the algoritmika site.

    This certificate is used when looking for updates when the program run.

    To fix this problem, install one more extension in the program: win-ca. After that restart algovsc - the authorization window should appear.

    mceclip0.png

  • Check that you have VPN disabled. It can be a problem when looking for updates.
    After dasabling, restart the program.

  • If you have a Low-End PC, try closing all programs and online services and run algovsc only.

  • Disable your antivirus and restart the program.

  • If the points above did not help you, completely reinstall the program, be sure to first uninstall the old version.

 

I see the error "Failed to update extension"

If after installing Algo Vs Code and launching the program, the message "Wait, checking for updates..." is displayed for a long time, and then the error "❌ Failed to update the extension" appears (see screenshot)

update.png

 

Then you need to follow these steps:

  • Open Help Tab -> Select Toggle Developer Tools

toggle.png

 

  • In the window that opens, select the Console tab and check that you have a message Extension update error: Error: spawn cmd.exe ENOENT
    python.png

 

Please note that only if you have this error, you need to follow the next steps of this manual.

 

1. Open Start
windows.png


2. Find Control Panel

Screenshot_9.png

 

3. Open Control Panel, find System and select it.

mceclip0.png

 

If the Control Panel looks different on your PC (by category), then select System and Security and then System

control-panel-windows-10.png

SysAndSec_2.png

4. In the system window that opens, click Change settings

mceclip1.png

 

5. Go to the Advanced tab

mceclip2.png

 

Click on the ‘Environment Variables…

0005_add_python_to_path.png

 

6. That should take you to the Environment Variables screen, where you can add/edit your paths.

Click on  ‘Edit…’ for Path

mceclip3.png

 

Click on the New button.

mceclip4.png

 

Enter:

 C:\Windows\system32 


and click ОК

mceclip5.png

 

7. Run VSCode again and check how it works.


Was this article helpful?