-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Swiftbar not updating #147
Comments
Do you have a reliable way to reproduce it? At this moment I don't think we have enough details in logs to debug this kind of thing, I'll add more loggings points in the next update and we can start from there. It sound to me like a thread pool exhaustion, but I'm not sure why it happens and how it relates to sleep\wake cycle on macbook |
I'll take a look if I can reliably reproduce it - haven't found a pattern yet. Any places I can look at current debugging output currently or do I have to wait for the next update? |
Go to Console.app, filter by process name Swiftbar and you'll see the logs. Each plugin refresh should generate a line in log, including manual refresh. |
I've seen this also today and I'll try to check for logs too. |
I had this issue as well today, and after a manual refresh, Console is showing messages like this one:
There was a single plugin that was still running due to #163. After killing it and manually refreshing again, plugins are updating normally again. |
It seems to me that this is the case when you put the system to sleep — or if somehow processes got stuck in ..limbo. I had the same issue in the past with Bitbar and I ended up crafting a keyboard shortcut to restart Bitbar. I did the same with Swiftbar and, of course, it works. My guess is that a simple solution would have been to kill processes running for, say, more than a couple of minutes. |
This is actually great, now I have a confirmation of what happens.
This is a good theory, I was under impression that the system should handle it... I'm adding some hooks to handle this in the next build |
If you have time, play with the beta please |
This is what I get on Air (M1) — the beta won't start.
|
For me it works on my Intel MBPro, on a quick sleep/wakeup the plugins show updated information 😀. I'll report back after using it more. |
@phaistonian works on my M1, quick googling suggests that this is somewhat widespread issue for different apps on BigSur. I couldn’t find a quick fix thou... 🤔 |
@melonamin what's sort of strange is that the stable version works just fine. Perhaps when you push it to be the stable version it will work just fine ;) |
I agree, it is strange. Anything different about how you launching Beta vs Release version? Maybe you have Beta in Downloads folder or smth like that. I’m just trying to guess. My concern is that there is nothing different in how Beta version is build and packaged vs Stable one |
Nope. Downloaded it and replaced the app in Applications. Tried launching it a number of times, failed all those. Downloaded the stable ones, replace the beta, worked like charm. Perhaps some kind of signature issue? |
Try the latest build please |
@melonamin worked :) |
Sometimes (I think after opening my Macbook again after a night e.g.) SwiftBar doesn't update. It seems completely stuck as also "Refresh all" doesn't work. Only thing that seems to work is to quit and relaunch Swiftbar. Any ideas how to diagnose this?
The text was updated successfully, but these errors were encountered: