-
Notifications
You must be signed in to change notification settings - Fork 15
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 does not work on Windows 7 #76
Comments
The version on OpenVSX should be 0.15.2 - can you double check if your version is 0.15.2 or 0.15.1? If you click “Show advanced options” at the bottom of the page (next to the Create button) it will reveal a Python installation selector - you can specify a full path to Python there. Although by default the extension should download its own copy of Python 3.12, so I’m not sure why that’s failing to happen in your case? Could you open the developer console (Help -> Toggle Developer Tools) and post the output that you get there? In windows the extension looks for a |
Thanks. I tried 0.15.2 first but it just showed an error, when clicking on the extension on the left, in Explorer view: "There is no data provider registered that can provide view data" That was in place of the menu which includes "New project from examples". Version does 0.15.1 provide that menu so that seemed like the best choice. I'm trying to set this up on a Windows 7 machine, with the goal of having the same environment set up on all my PCs, if possible, which is why I've chosen Codium over VSCode. Win 7 is still the most stable and user friendly version of Windows I currently have, mostly due to there being no more updates for it. It works fine with Arduino 1.8.19 and Earle Philhower's arduino-pico core, but so far, I haven't managed to set up the pico sdk on it. AFAIK, python 3.12 isn't supported, and 3.8.6 might be the final version that is - not entirely sure about that part. Using Advanced options, I'm able to select "Path to executable" then click "Choose files" to specify C:\Program Files\Python38\python.exe . The first time I did that then pressed Create, it looked busy for a while, then gave a failure notification. The second time, it did nothing other than go to the home/main page, with a red bar along the bottom. Clicking the notifications icon now says "NO NEW NOTIFICATIONS". I found some settings for the extension earlier, via File->Preferences->Settings, with one that says "Path to the Python executable [no spaces]". That makes me wonder whether having a space in the path is a problem when set via advanced settings. Here is the current contents of the developers console. I don't know how to tell which part is new or was added when:
|
I’m afraid this extension is only currently supported on Windows 10 & 11, as those are the versions that VS Code supports. Windows 7 is not supported as it reached end of life in 2020 and no longer receives security updates, and VS Code stopped supporting it in 2022. |
I'm aware that VSCode support for Windows 7 has ended. Codium is a build of VSCode without telemetry and still supports Windows 7 - it's specifically discussed in the repo for it. It appears to work fine. I noticed there are a couple of issues open for v0.15.2 of the extension, e.g. #73 and #54 which seem maybe related but didn't seem to be an exact match for what I experienced. Since they're all beta releases, there didn't seem to be any harm in trying v0.15.1, which at least gives me the user interface to try it, instead of just an error message. I get the impression that this is largely a problem of configuring things in the extension. I don't have any insight into what the developer console log says, and the error messages I've been given by it aren't really helpful. It started with saying that Git wasn't installed or on the path, neither of which was true, assuming it meant the PATH environment variable. The solution I found for that was to uninstall Git then install a newer version - which took me to the not entirely helpful error message about the missing Python. Without understanding the error messages or developer logs, I can't know for certain that it can't work; I just don't really get any clues from it about what the problems actually are. |
The UI issues with 0.15.2 that you’re seeing are actually the extension failing to activate, which is a more fundamental issue than the configuration issues - I think the best bet for debugging would be to use 0.15.2 and post the output from the developer console and also the extension host when you try to open the extension, but my guess would be that one of the extension’s dependencies doesn’t support Windows 7, and therefore the extension fails to activate I’ll add a note to the readme that only Windows 10 & 11 are currently supported. We’d be happy to take a PR adding Windows 7 support (provided it isn’t detrimental to other functionality), but I don’t think we’ll be able to support it ourselves, as we don’t have internet connected Windows 7 systems to test on due to them being insecure |
Thanks. Here's the Developers tools output, starting after uninstalling 0.15.1. After turning the Developers tools on, I then tried to install 0.15.2. I don't know how to get the extension host part because I'm not sure what that means. Codium reports the installation as successful but then still shows:
|
This looks like you have an incompatible NodeJS version as the |
It seems I have two versions of NodeJS installed. If I start it from the Programs menu, it says "Welcome to Node.js v18.20.2.", but if I look at Help->About in Codium, it shows 16.17.1. I made two separate attempts at installing Codium because I initially missed seeing the latest releases. I think the higher number was from the first, unsuccessful attempt. The older installer launched a script to install other things, which got a bit confusing. The latest one was much simpler, and I guess that has installed the NodeJS 16.17.1 along with it. I'm under the impression that the NodeJS used is also built specifically to run on Windows 7, but I don't fully understand the installation process for it all. Here's a screenshot of the About dialog box. Maybe I should uninstall Codium and the other NodeJS and start again? |
On reaching step 6 of Chapter 4 of the getting started guide ("Click Create to create the project."), I get two error boxes:
1: Failed to find python3 executable
2: Generating project based on the blink example in c:\Users\andy\Codium, this may take a while...: Failed
I have python3.8.6 installed, and it's on the command path. It's in C:\Program Files\Python38
Where is it trying to look for python3 and what is it expecting to see there so that it knows it has found it? Is there a setting I can change to tell it where to look?
I'm trying to set up the SDK with Codium, instead of VSCode, following the official Getting Started guide for all other details. I'm using the latest release of Codum for Windows x64, which is Codium_Setup_1.92.2.24235_win64.exe, with a manually installed Raspberry Pi Pico Visual Studio Code extension 0.15.1 from https://open-vsx.org/extension/raspberry-pi/raspberry-pi-pico.
The text was updated successfully, but these errors were encountered: