-
Notifications
You must be signed in to change notification settings - Fork 20
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
Running gnome-extensions list
makes the playbook fail if empty
#28
Comments
Hey @LorenzoBettini - Apologies for the regression there. That's a weird return code if the extension list is empty and yes, I think your solution is correct. Let me devise a fix... |
Could you please check branch |
@PeterMosmans I've just tested, again with Molecule, and now there's another problem:
Again, I think that gnome-shell should not be assumed to be up and running (failed_when: false), e.g., when running tests with Molecule. On a side note, does this mean that if I run it instead from a currently running GNOME, the session will be restarted? Isn't that too dangerous? |
I'm hitting the same issue. After installing the
This might be due to the fact that I'm trying to install some extensions for a non-sudoer user - do you think that #30 would help with this? My target is Debian 12 (Gnome 43). Edit:
This might be a separate issue though. Edit2: the last bit indeed is a different issue - I've removed the "name" field from the |
Thanks for reporting, and apologies for the bugs you're hitting. I'll try to look into this later next week |
No, thank you for the module ;) Even with the small problems it's quite helpful and I can see how many weird edge cases it already covers. As I'm hitting some other weird behaviors (e.g. extensions being installed but not enabled) I'll try summarizing them in a separate issue(s) and/or creating PRs if I find fixes |
Unfortunately, this commit 9cc4673 for fixing #25 broke my playbooks:
I'm testing with with Molecule, and entering the container shows this:
So, you see that if the list of current extensions is empty, the command returns non zero code, making everything fail.
Maybe, it's enough to add a
failed_when: false
when runninggnome-extensions list
?The text was updated successfully, but these errors were encountered: