Hello there, I’m trying to connect to verdin-imx8mp Board using VS code, I have also downloaded docker desktop in laptop, torzion ide extension, docker extension in vs code still I’m getting the following errors
1)Errors during the initialization of Torizon IDE Extension.
2)The terminal process “/bin/bash ‘–norc’, ‘–noprofile’” terminated with exit code: 1.
3) Torizon ide extension couldn’t connect in backend
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Based on the context provided, here are some steps you can take to resolve the issues you’re experiencing with Visual Studio Code and the Verdin iMX8MP Board:
-
Initialization Errors of Torizon IDE Extension:
- Configuration Issues: Ensure that the Torizon IDE Extension is properly installed and configured. Check the extension’s documentation for any prerequisites or specific settings that need to be adjusted for compatibility with your version of VS Code and the connected board.
- Compatibility Problems: Verify that the installed version of the Torizon IDE Extension is compatible with the version of Visual Studio Code you are using. Extensions may not work properly with certain versions of the IDE.
- Docker Dependency: Make sure Docker Desktop is running correctly and that your user has the necessary permissions to access Docker. Any issues with Docker could lead to initialization errors in the extension.
-
Terminal Process Error:
- Shell Configuration: The error message suggests there may be a misconfiguration in the terminal settings within VS Code. Check the terminal settings and ensure that the shell path and arguments are correctly configured.
- Bash Shell Issues: The exit code 1 indicates a general error. Ensure that the bash shell is correctly installed and configured on your system. If necessary, try using a different shell or resetting the terminal settings in VS Code.
By addressing these areas, you should be able to mitigate the errors you are experiencing.
Please, also check if these links can help you solve your problem:
Hi @atharva.s
Can you give a better description of your setup?
Are you running VS Code on a windows host machine?
Are you following this tutorial?
We also have a wizard installer for windows users.
Yes alan I have followed all the steps in the article and video
[11-08 04:10:35.329] Activating Torizon IDE …
[11-08 04:10:35.329] Torizon IDE version :: 2.6.3
[11-08 04:10:35.875] Latest Torizon IDE published :: 2.6.187
[11-08 04:10:35.875] Telemetry is enabled
[11-08 04:10:35.875] Extension collects completely anonymous telemetry data about templates usage. Participation in this anonymous program is optional, and you may opt-out if you’d not like to share any information.
[11-08 04:10:35.875] Telemetry allows us to accurately gauge templates usage. This data will help us to focus better on the most used templates, adding new features and putting effort in the right place.
[11-08 04:10:35.875] Resolving host IP address …
[11-08 04:10:36.327] Host IP address OK
[11-08 04:10:36.338] Docker installed OK
[11-08 04:10:36.442] Docker running OK
[11-08 04:10:36.467] ERROR :: Docker compose is not installed. Please install Docker compose
[11-08 04:10:36.788] ERROR :: PowerShell Core is not installed. Please install:
[11-08 04:10:36.794] git OK
[11-08 04:10:36.802] dig OK
[11-08 04:10:36.815] avahi-resolve OK
[11-08 04:10:36.823] nmap OK
[11-08 04:10:36.834] iputils-ping OK
[11-08 04:10:36.843] file OK
[11-08 04:10:36.852] sshpass OK
[11-08 04:10:36.859] net-tools OK
[11-08 04:10:36.868] rsync OK
[11-08 04:10:36.869] Cloning project templates
[11-08 04:10:36.892] Project templates clone OK
[11-08 04:10:37.832] Project templates fetched OK
[11-08 04:10:37.973] Checkout templates repo to v2.6.3 OK
[11-08 04:10:45.028] Error trying to install PowerShell
[11-08 04:10:45.317] ERROR :: PowerShell Core is not installed. Please install: Install PowerShell on Linux - PowerShell | Microsoft Learn
[11-08 04:10:45.319] Checking connected devices …
[11-08 04:10:45.319] Scanning Torizon devices …
[11-08 04:10:45.327] Debian bookworm packages list load OK
[11-08 04:10:45.327] ERROR :: Errors during the initialization of Torizon IDE Extension.
[11-08 04:10:45.327] HOUSTON WE HAVE A PROBLEM!
[11-08 04:10:45.327] PLEASE READ THE LOGS!
[11-08 04:10:45.418] Checking host ip sanity …
[11-08 04:10:46.444] Host ip is OK
[11-08 04:10:46.462] Device 192.168.1.239 set as Docker Host
[11-08 04:10:46.463] No workspace opened
I reinstalled everything right from wsl to vs code now this the problem I’m encountering as per net I also installed docker ,docker compose on wsl but the issue is not solved
[11-09 17:31:40.272] Activating Torizon IDE …
[11-09 17:31:40.273] Torizon IDE version :: 2.6.3
[11-09 17:31:40.696] Latest Torizon IDE published :: 2.6.187
[11-09 17:31:40.696] Telemetry is enabled
[11-09 17:31:40.696] Extension collects completely anonymous telemetry data about templates usage. Participation in this anonymous program is optional, and you may opt-out if you’d not like to share any information. Check: Settings - Data Collection | Toradex Developer Center
[11-09 17:31:40.696] Telemetry allows us to accurately gauge templates usage. This data will help us to focus better on the most used templates, adding new features and putting effort in the right place.
[11-09 17:31:40.696] Resolving host IP address …
[11-09 17:31:41.264] Host IP address OK
[11-09 17:31:41.281] Docker installed OK
[11-09 17:31:42.265] ERROR :: Docker is not running. Please start the Docker runtime daemon
[11-09 17:31:43.135] Docker compose OK
[11-09 17:31:43.141] PowerShell OK
[11-09 17:31:43.150] git OK
[11-09 17:31:43.157] dig OK
[11-09 17:31:43.166] avahi-resolve OK
[11-09 17:31:43.173] nmap OK
[11-09 17:31:43.182] iputils-ping OK
[11-09 17:31:43.189] file OK
[11-09 17:31:43.197] sshpass OK
[11-09 17:31:43.204] net-tools OK
[11-09 17:31:43.211] rsync OK
[11-09 17:31:43.212] Cloning project templates
[11-09 17:31:43.229] Project templates clone OK
[11-09 17:31:44.119] Project templates fetched OK
[11-09 17:31:44.137] Checkout templates repo to v2.6.3 OK
[11-09 17:31:44.138] Checking connected devices …
[11-09 17:31:44.139] Scanning Torizon devices …
[11-09 17:31:44.146] Debian bookworm packages list load OK
[11-09 17:31:44.146] Debug id_rsa OK
[11-09 17:31:44.146] ERROR :: Errors during the initialization of Torizon IDE Extension.
[11-09 17:31:44.146] HOUSTON WE HAVE A PROBLEM!
[11-09 17:31:44.146] PLEASE READ THE LOGS!
[11-09 17:31:44.371] Checking host ip sanity …
[11-09 17:31:45.256] Host ip is OK
[11-09 17:31:45.271] Device 192.168.1.239 set as Docker Host
[11-09 17:31:45.863] Error scanning devices: Not possible to get docker network gateway
Hi @atharva.s
And the installation went well?
Were you able to connect and configure WSL2?
Can you create a template?
Can you share a screenshot of your VS Code environment?