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

Extension fails to create projects when display language is not English #136

Open
jnull opened this issue Dec 15, 2024 · 2 comments
Open
Labels
known issue Issues that are known but are on hold.

Comments

@jnull
Copy link

jnull commented Dec 15, 2024

Hello everyone,
I wanted to test this extension but run into issues early on. I followed the recommendations in the pdf and installed the extension. Then I tried to create a new project from an example, but the project could not be created. I tried it with the Pico 2, Pico 2W and the Pico 1W to no avail.
I was greeted by the following messages in the dev console for the Pico 2W:
ERR [Extension Host] [�[31mERROR�[0m] [raspberry-pi-pico - downloadHelper] Extracting archive file failed: ENOENT: no such file or directory, chmod 'C:\Users\<username>\.pico-sdk\openocd\0.12.0+dev\scripts\target\?1879x?1?.cfg'
followed by
ERR [Extension Host] [�[31mERROR�[0m] [raspberry-pi-pico - NewProjectPanel] Generator Process error: Command failed: "c:\Program Files\Python\Python313\python.exe" "c:/Users/<username>/.vscode/extensions/raspberry-pi.raspberry-pi-pico-0.17.2/scripts/pico_project.py" -board pico2_w -exam -d 0 --project vscode --projectRoot "c:\Users\<username>\IDE\rbPico2W" --sdkVersion 2.1.0 --toolchainVersion 13_3_Rel1 --picotoolVersion 2.1.0 --openOCDVersion 0.12.0+dev --ninjaPath "C:/Users/<username>/.pico-sdk/ninja/v1.12.1/ninja" --cmakePath "C:/Users/<username>/.pico-sdk/cmake/v3.29.9/bin/cmake" "blink"
and finally
ERR [Extension Host] [�[31mERROR�[0m] [raspberry-pi-pico - NewProjectPanel] Generator Process exited with code: 4294967295

I am running on Win11Pro x64 Version 24H2 with an up-to-date Vs Code. I also could not find any logs.

Any advise or help is much appreciated.

@jnull
Copy link
Author

jnull commented Dec 15, 2024

I just saw that there is another issue with similar errors: #34 This gave me the idea to switch my language settings. This actually worked. Changing my default language settings from German to English (US) seems to be a work around for the issue.

@will-v-pi
Copy link
Collaborator

I can confirm that I can reproduce this if I change my VS Code display language from English to German, then install the extension and try to create an example project.

Unfortunately, I cannot see what would cause this, so labelling this as a known issue for now

ERR [Extension Host] [�[31mERROR�[0m] [raspberry-pi-pico - downloadHelper] Extracting archive file failed: ENOENT: no such file or directory, chmod 'C:\Users<username>.pico-sdk\openocd\0.12.0+dev\scripts\target?1879x?1?.cfg'

Note that this error is not actually a problem, it's the Generator Process error that's the actual issue

@will-v-pi will-v-pi added the known issue Issues that are known but are on hold. label Dec 17, 2024
@will-v-pi will-v-pi changed the title Extension fails to create or import projects Extension fails to create projects when display language is not English Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
known issue Issues that are known but are on hold.
Projects
None yet
Development

No branches or pull requests

2 participants