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

xbar shows no icons at all if any plugin can't be executed #2013

Open
sebwills opened this issue Jan 5, 2024 · 1 comment
Open

xbar shows no icons at all if any plugin can't be executed #2013

sebwills opened this issue Jan 5, 2024 · 1 comment

Comments

@sebwills
Copy link

sebwills commented Jan 5, 2024

Repro

  • install a plugin and verify it shows correctly in xbar
  • install a second plugin that cannot be executed. For example, clipboard_bar doesn't work on my Sonoma system as it requires PHP.

Actual behaviour

xbar then shows no icons at all (not even for the first plugin which previously worked), but the process remains running.

To recover, I had to fix (or remove) the offending plugin and kill and restart xbar.

Expected

If one plugin cannot be executed, other plugins should still work. I would suggest that for the best UX, the erroring plugin should also show up as an error icon with the error available in the menu.

Details

When running xbar from the terminal in the broken state, the log includes:


2024/01/05 11:01:31 clipboard_bar.1d.php: ERR: exit status 127: env: php: No such file or directory
clipboard_bar.1d.php: 
2024/01/05 11:01:34 internet-status.2s.sh: refreshing: internet-status.2s.sh
2024/01/05 11:01:36 internet-status.2s.sh: refreshing: internet-status.2s.sh
2024/01/05 11:01:36 clipboard_bar.1d.php: cycling: 001-clipboard_bar.1d.php
2024/01/05 11:01:38 internet-status.2s.sh: refreshing: internet-status.2s.sh

System: macOS Sonoma
Version: 2.1.7-beta

@sprak3000
Copy link
Sponsor Collaborator

@sebwills

This would be better served as an issue in the main xbar repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants