Skip to content
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

Plugins break on snap update #13

Open
davidjmemmett opened this issue Feb 17, 2025 · 7 comments
Open

Plugins break on snap update #13

davidjmemmett opened this issue Feb 17, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@davidjmemmett
Copy link

Usually after an Eclipse Snap update, the plugins (PyDev/etc) re-install themselves. This time, they haven't, and after installing PyDev, the plugins won't activate, leaving me with the message No editor descriptor for id org.python.pydev.editor.PythonEditor for existing editor tabs, and opening a new tab for Python files loads a basic editor with colour-coding but no code completion.

$ snap info eclipse
name:      eclipse
summary:   Extensible Tool Platform and Java IDE
publisher: Eclipse Foundation (eclipsefoundation✓)
store-url: https://snapcraft.io/eclipse
contact:   https://github.com/eclipse-linuxtools/eclipse-ide-snap/issues
license:   unset
description: |
  Eclipse provides IDEs and platforms for nearly every language and
  architecture. This snap contains the Java IDE. Support for other languages
  like C/C++, JavaScript and PHP can be installed via the Eclipse Marketplace
  (https://marketplace.eclipse.org/).
  
  This snap is maintained at
  https://github.com/eclipse-linuxtools/eclipse-ide-snap.
commands:
  - eclipse
snap-id:      QzFGHW76hR3cZjpcuHt4sAjj5KZbd05T
tracking:     latest/stable
refresh-date: today at 09:48 GMT
channels:
  latest/stable:    2024-12 2025-02-14 (115) 367MB classic
  latest/candidate: 2024-09 2024-09-12  (99) 359MB classic
  latest/beta:      ↑                              
  latest/edge:      2024-09 2024-09-13 (101) 360MB classic
installed:          2024-12            (115) 367MB classic
@davidjmemmett
Copy link
Author

Running sudo snap revert eclipse makes everything work again.

@Mailaender Mailaender added the bug Something isn't working label Feb 17, 2025
@Mailaender
Copy link
Contributor

Does snap run eclipse -clean resolve it with the current version?

@Mailaender Mailaender changed the title Latest version has wiped all pluigins, and they won't install Plugins break on snap update Feb 17, 2025
@davidjmemmett
Copy link
Author

Do you have a link to any documentation on what snap run ... -clean does? I wouldn't want to run it if it wiped my previous (working) snap environment from working as it's painful having to re-install all the plugins every time.

@davidjmemmett
Copy link
Author

(I have done my due diligence, but I can't find any documentation online, on the manpage, or via --help)

@Mailaender
Copy link
Contributor

@davidjmemmett
Copy link
Author

It doesn't I'm afraid

@Mailaender
Copy link
Contributor

I think it is the same problem as flathub/org.eclipse.Java#12. As a workaround try deleting https://snapcraft.io/docs/data-locations#p-94053-user-data for the Eclipse snap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants