-
Notifications
You must be signed in to change notification settings - Fork 132
Teensy JSON fails Board Platform install due to unsupported tar.zst archives #1611
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
I confirm this is an issue. |
Yes, confirm, we switched to zstd compression. Arduino IDE has supported zstd since version 2.0.4. It gives significantly smaller files to download and decompresses much faster, especially on Windows. |
Teensy will also soon start using Arduino's new pre_uninstall script feature. So far no stable Arduino IDE release has this feature, but it is in the nightly builds. I hope for your long term planning, consider checking for this script and run it before uninstall. The script allows cleanup to be done. In the short term, Teensy will use this to cause any lingering Teensy Loader application to automatically shut down. If the installed files are to be deleted, this especially helps for Windows where the file can not be deleted if any instance of the program is still running. |
The pre_uninstall script official documentation can be found in newer copies of Arduino's platform specification. https://arduino.github.io/arduino-cli/dev/platform-specification/#pre-uninstall-script |
@PaulStoffregen |
I'm in a bit of a pickle here. |
Is using an older version of the plugin an option? On this release notes file, looks like version 3.0.5 might be the last before it started requiring maven 3.9. |
After some more investigation in this issue:
So basically github actions is very aware and the situations for Sloeber is:
=>I'm in a bit of a pickle here. |
Maybe I'm reading too much into this situation, but kinda feels like Github doesn't care much for Java? |
or eclipse? |
@jantje thanks for looking into this. This is my first time using the plugin in several years. |
Is there a way for me to temporarily fix this by pointing to the files installed by the Arduino IDE and somehow correcting the path to |
EDITED: As pointed out the branch name was wrong so I changed it
There probably is but I think the easiest way it to compile sloeber yourself You can find good instructions to build the Master branch and find the results here: https://github.com/Sloeber/arduino-eclipse-plugin/tree/master You need change the build a bit to build the branch "support_for_tar_zst_#161"
|
Did you succeed in building and installing/upgrading Sloeber ? |
@jantje I managed to build the Sloeber for Windows in the end. As you probably already know from my deleted posts, I used the instructions above verbatim which didn't checkout the fixed branch. Using It fixed the issue for me. Thank you for the quick patch. Hope you manage to get he automated builds to work again without too much work - it sounds like a real pain 😕. On an unrelated note I did encounter missing dependency errors when attempting to build the SDK version for development / improvements to Sloeber. |
That would have been an assumption and only me knowing that.
It is. Thanks for noticing.
I confirm the issue. I should make SDK part of the normal build so it doesn't get left out. |
I got the actions build back up and running. |
FYI |
Sloeber 4.4.2 Product Bundle
OS: Windows 10
Platform JSON: https://www.pjrc.com/teensy/package_teensy_index.json
Project properties arduino showing the board settings:

Sloeber settings:

Describe the bug

The archive files in the Teensy package JSON are not supported (tar.zst file)
To Reproduce
Steps to reproduce the behavior:
Window
->Preferences
Sloeber
->Third party index url's
sectionhttps://www.pjrc.com/teensy/package_teensy_index.json
Apply and Close
to force the board list update.Window
->Preferences
Sloeber
->Platforms and Boards
sectionteensy
->Teensy
->1.58.1
Apply
Expected behavior
Board to be installed correctly
Data to back up your claim
If applicable, add screenshots, console output and/or logs to help explain your problem.
Additional context
As a workaround I tried the outdated (now installed to %LOCALAPPDATA% not Program files) instructions here:
http://eclipse.baeyens.it/how_to.shtml#/i
This failed as it tried to call
"/arm/bin/arm-none-eabi-g++"
instead of using the absolute path"C:\\Users\\matt.baker\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-g++"
Error message:
The text was updated successfully, but these errors were encountered: