-
-
Notifications
You must be signed in to change notification settings - Fork 399
core update-index results in "panic: minor version must not be prefixed with zero" #1334
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
Comments
Hi @bmitov. Please post the output you get from running this command:
|
|
I cleared the entire After
here is the dump:
Tested on a clean VM It appears to work fine. Older versions on the main system work fine. How to make the new version to work on my main system? What could be causing this? |
Ok, I have been running with:
Installed go and everything. I got it to work to a point. Now I get:
The |
I fixed it by changing: type indexToolReleaseFlavour struct {
OS string `json:"host,required"`
URL string `json:"url,required"`
ArchiveFileName string `json:"archiveFileName,required"`
Size json.Number `json:"size,required,string"`
Checksum string `json:"checksum,required"`
} I added |
I saw that also when I did a quick test with your list of Boards Manager URLs. However, it doesn't seem to be related to the original error you reported:
After trimming the string, does that error issue go away?
Not even Arduino's developers are allowed to push fixes directly. All changes are done via pull requests. Everyone is very much welcome to submit pull requests. They don't require any special permissions. |
I have discovered what was causing the other error. It was a platform.txt file that had : instead of version=1.0.0 It was outdated file, and they had already fixed this. I also created a pull request for the seeeduino fix. Also learned how to debug GO in VSCode, so at least got some benefit from it :-D |
I cannot reproduce it anymore with the current master:
Since I'm not able to reproduce it anymore I'm going to close this issue as auto-solved. |
I verified the original issue is fixed. If you set the
With Arduino CLI 0.18.3, Using the latest build of Arduino CLI (589cbcc),
|
Bug Report
Current behavior
It returns error:
Expected behavior
It should have updated the board index
Environment
arduino-cli version
): arduino-cli_0.18.3_Windows_64bitThe text was updated successfully, but these errors were encountered: