Errors during the initialization of Torizon IDE Extension

Hi Toradex,

I want to activate the Torizon IDE Extension on my WSL Ubuntu-24.04.

I have installed the .NET SDK-8 through the apt packages repository, running this command

sudo apt-get update && sudo apt-get install -y dotnet-sdk-8.0

But the .NET SDK 7 is not supported .NET version, which is not available in the built-in Ubuntu feed. It is provided from the Ubuntu .NET backports package repository

See here

So, I have Installed the .NET SDK 7 through the Ubuntu .NET backports package repository.

I can see the list of dotnet-sdks have been installed on my wsl Ubuntu-24.04

But the Torizon Extension IDE trows this error

Errors during the initialization of Torizon IDE Extension.
Any help?

Best regards
Ahmed49

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hi Ahmed49,

It seems like you are encountering issues with the initialization of the Torizon IDE Extension due to the .NET SDK versions installed on your WSL Ubuntu-24.04 environment. Here are a few steps you can follow to troubleshoot and potentially resolve this issue:

  1. Verify .NET SDK Installation:
    Ensure that the .NET SDKs are correctly installed and recognized by your system. You can list the installed SDKs using the following command:

    dotnet --list-sdks
    
  2. Check Compatibility:
    Verify that the versions of the .NET SDKs you have installed are compatible with the Torizon IDE Extension. The extension might have specific requirements for the .NET SDK version. Refer to the Torizon documentation or release notes for the required .NET SDK version.

  3. Environment Configuration:
    Ensure that your environment variables are correctly set up. Sometimes, the IDE might not pick up the correct SDK if the environment variables are not properly configured. You can set the DOTNET_ROOT environment variable to point to the installation path of the .NET SDK.

  4. Extension Logs:
    Check the logs for the Torizon IDE Extension in Visual Studio Code. These logs can provide more detailed information about what might be going wrong during initialization. You can access the logs from the “Output” pane in Visual Studio Code and select “Torizon IDE Extension” from the dropdown.

  5. Reinstall the Extension:
    Sometimes, reinstalling the extension can resolve initialization issues. You can uninstall the Torizon IDE Extension from Visual Studio Code and then reinstall it.

  6. Update WSL and Dependencies:
    Ensure that your WSL and all related dependencies (including Docker and Visual Studio Code) are up to date. Sometimes, updates can resolve compatibility issues.

If none of these steps resolve the issue, please provide the specific error message from the logs, and we can further investigate the problem.

Best regards,
[Your Name]

Please, also check if these links can help you solve your problem:

Problems setting up VS Code IDE Extension V2.

Hi @Ahmed49 !

Please note that for now we support Ubuntu 22.04 image for WSL. Could you please use this one and check if it works for you?

You can check the supported Host OS on the table under the Feature Overview section of the following article:

Best regards,

Hi again!

I just remembered that we recently released an installation Wizard for the Torizon IDE on Windows. This is meant to simplify the experience of preparation and setup of the development environment on Torizon.

Please check the video in the following article:

Best regards,

Hi @Ahmed49 !

We were informed that most of your open questions are solved. So we are going to close this question tomorrow.

Could you please confirm that this specific thread is indeed solved? Otherwise, please let us know how we can further help you.

Best regards,