I thus downloaded "manually" that zip file, using a browser.
from the "readme" in that zip file, I went to
https://arduino.github.io/arduino-cli/0.32/library-specification/#library-metadata
I am not shure to understand what to do "manually"
What should I do with this zip file ?
I run into this if I use the sledghammer approach to delete the data in the roaming user Arduin... (Would have to look up the path again, in the first message of my thread for released ide/cli 2...)
What I do is ignore it, and usually simply close out the browser and restart it again... I doubt you use many of the Arduino built in libraries.
If you then have not already done so, you should open up the boards, scroll down or search for teensy and install it.
View attachment 31089
@FX78 - I would suggest that you also post on the Arduino forum: https://forum.arduino.cc/c/software/ide-2-x/93
The other week a user had an IDE 2 issue where IDE install was for 'ALL USERS' - there were some issues that went away just doing 'this user' install and running it from that account.
May not relate - but when a note was made - and install changed that user problem went away.
I see you posted over there, Hopefully he will be able to spot what is going on and give you a proper fix.
Is there a reason you are running as administrator? Not sure if that is the issue.
In the past, like earlier on in their beta release cycle, if I ran into an issue, like this I ended up using a sledgehammer approach for a fix, which I would not necessarily suggest here.
That is to try to get it to install to a totally clean setup. That is something like:
a) uninstall/reinstall the IDE. hopefully that is sufficient. (Sounds like you already did this approach)..
b) uninstall ide, wipe out everything from %temp% - or at least everything that appears to be Arduino related. (anything with the word arduino in the name and *.clangd ...
reinstall probably won't fix this one...
c) uninstall... Plus remove the current Arduino15 directory, for me that is at: C:\Users\kurte\AppData\Local\Arduino15 Note, this will screw up your Arduino 1.x installs, For things like what is installed through the boards manager... (So I would not necessarily delete it, but temporarily rename it to something else as a test. and reinstall...
d) like c) except also get rid of the old sketch folder (again probably just rename it)... This helped me during the beta, as I had/have some board types installed through sketch folder
<sketch folder>/hardware and at least at one point there was a version of ESP32 install that caused issues. Also potentially issues with libraries and the like.
So again hopefully PerT (ptillisch) will see what is going on and give you a better solution.
Is there a reason you are running as administrator? Not sure if that is the issue.
when I don't have the compile error due to a missing "compile_helper" file
Oh that is frustrating indeed. I really want to help, but I hope you can understand how impossible that is when I can't even see the problem, not to mention have enough info to reproduce it. I can't even tell if your laptops are MacOS, Windows or Linux.
It was already given before your post: "Windows 10, Arduino 2.1.1". Do you need more info? The one giving headache is Teensy 1.58.1. Mostly: Dual Serial, 816MHz, Small code.
Paul: - When the Teensy boards are being installed, do you have any control, either some Teensy specific install application or something in the scripts, that can run that detects that Teensy.exe is running and kill the process?
I am trying to remember if there is an open Issue or not on the Arduino IDE or CLI that it should not silently fail to uninstall the directory and alert the user and hopefully have an ability to do a retry.
If it were me, I would use the hard core sledgehammer approach.Ok, it makes sense. So I guess I must close the Teensy application first then I can Remove/Update/Install a package.
Now I'm back to my personal laptop (again, Windows 10, Arduino IDE 2.1.1) and if I retrograde to 1.57.2, tzz80-zexall runs fine on my T41 and I can see the zexall messages from USB serial. So for now, I continue with 1.57.2.
There seems to have a condition which triggers a USB malfunction with 1.58.x. Once the condition is triggered, I'm unable to upload a FW compiled in 1.58.1 revision whenever I tried to reinstall that revision. I was wondering whether using Teensy Tools 1.57.0 instead of 1.58.0 may lead to a different behavior but the result is no better.
There seems to have a condition which triggers a USB malfunction with 1.58.x. Once the condition is triggered, I'm unable to upload a FW compiled in 1.58.1 revision whenever I tried to reinstall that revision. I was wondering whether using Teensy Tools 1.57.0 instead of 1.58.0 may lead to a different behavior but the result is no better.
As far as I know, Arduino CLI / IDE doesn't provide any way to run a cleanup program or script.
I do recall during the IDE2 beta there was talk about a script to install INF "drivers". But I can't find any mention of it in Arduino's latest platform specification or package index specification.