Sloeber / arduino-eclipse-plugin

A plugin to make programming the arduino in eclipse easy
https://eclipse.baeyens.it/
419 stars 131 forks source link

The Latest Sloeber Update Removes the Executable #1633

Closed emintz closed 1 month ago

emintz commented 7 months ago

The latest Sloeber update deletes sloeber-ide. This is a real problem for Metuchen Momentum, our local FIRST Robotics team. Competition is two weeks away, so this is urgent.

To reproduce on Ubuntu 22.04:

  1. Download and install the latest Sloeber on Ubuntu 22.04
  2. Move the resulting Sloeber directory into the home directory
  3. Go to the Sloeber directory
  4. ./sloeber-ide
  5. Help>Check for Updates
  6. Leave both updates checked and press Next
  7. Review and confirm the updates and press Next
  8. Accept the license agreement and press Finish
  9. Verify that slober-ide remains in ~/Slober (it does on my system)
  10. On the resulting Trust page, press select all, then Trust Selected
  11. The "Trust Signers" panel appears. sloeber-ide remains in ~/Slober (I checked). Click Select All then Trust Selected.
  12. sloeber-ide is deleted from ~/Slober

Please advise soonest, and let me know if I can assist in any way.

emintz commented 7 months ago

PS -- the update also removes slober-ide.ini

jantje commented 7 months ago

Why do you download and then check for updates?

jantje commented 7 months ago

Looking at the history I see that the update site didn't work so I had to fix that resulting in the update site having a newer timestamp which triggers the completely unnecessary update. Why this update deletes the executable and ini file is a different story but I have seen that before. Updating a product has never been without risk and that is also why the update documentation states to take backups of everything before trying to update http://eclipse.baeyens.it/how_to.shtml#/n

emintz commented 7 months ago

Thanks.

About post-install updating, I have found that many installs, no matter how scrupulously maintained, lag behind the very latest version, so I have made it a habit. I will be sure to back up before I upgrade from now on.

Thank you for answering so promptly. I remain your biggest fan. Sloeber rocks!

On Tue, Feb 20, 2024, 15:41 jantje @.***> wrote:

Looking at the history I see that the update site didn't work so I had to fix that resulting in the update site having a newer timestamp which triggers the completely unnecessary update. Why this update deletes the executable and ini file is a different story but I have seen that before. Updating a product has never been without risk and that is also why the update documentation states to take backups of everything before trying to update http://eclipse.baeyens.it/how_to.shtml#/n

— Reply to this email directly, view it on GitHub https://github.com/Sloeber/arduino-eclipse-plugin/issues/1633#issuecomment-1955044473, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6QNG2CYJW25ZFZ44AZUDLYUUC7JAVCNFSM6AAAAABDRXYOA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJVGA2DINBXGM . You are receiving this because you authored the thread.Message ID: @.***>

jantje commented 7 months ago

I tried the install update here on windows and that worked.

I have found that many installs, no matter how scrupulously maintained

I tend to forget to update the update site when making a release. As the nightly is dead by now you are 100% sure there is no need to run the update.