Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin fails to generate new project on Ubuntu 24.04 #78

Closed
pradeepa-s opened this issue Sep 9, 2024 · 1 comment
Closed

Plugin fails to generate new project on Ubuntu 24.04 #78

pradeepa-s opened this issue Sep 9, 2024 · 1 comment

Comments

@pradeepa-s
Copy link

Plugin version: v0.15.2

Description:

When trying to generate the project the toolchain download seems not working.
I noticed this time to time, but it seems persistent now and I can't seem to create new projects at all.

This looks similar to #76 but, I don't get the failure message. It just tries to download the toolchain and somehow failing.

Steps to re-produce:

  1. Delete the .pico_sdk folder
  2. Open vscode and start the extension
  3. Create a new project
  4. The 'Downloading SDK and Toolchain' status message pops up
  5. Wait for 5 mins
  6. The 'Downloading SDK and Toolchain' status message wouldn't complete
  7. Examining the .pico_sdk shows three folders
MS-7D91:~$ tree -L 2 .pico-sdk/
.pico-sdk/
├── cmake
│   └── pico-vscode.cmake
├── sdk
│   └── 2.0.0
└── toolchain
    └── 13_2_Rel1

6 directories, 1 file
  1. Toolchain folder has no content
MS-7D91:~$ ls -al .pico-sdk/toolchain/13_2_Rel1/
total 8
drwxrwxr-x 2 pradeepa pradeepa 4096 Sep 10 08:15 .
drwxrwxr-x 3 pradeepa pradeepa 4096 Sep 10 08:15 ..
  1. Examined vscode console and found the following message.
[Extension Host] [raspberry-pi-pico] https://github.com/raspberrypi/pico-sdk.git 2.0.0 has been cloned and installed.
  1. Restarted vscode and started to generate the project again. Same result, but the console says SDK 2.0.0 is alrady installed
[Extension Host] [raspberry-pi-pico] SDK 2.0.0 is already installed.
@pradeepa-s
Copy link
Author

It just takes ~40 mins to download. That's the reason why I though it failes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant