-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
Random crash at startup with "Type is not convertible to string" #1402
Comments
I'll update this later but have been having random crashes on Arch with the official build as well. At least one of the crashes is with the same error message. |
i think i have found a temporary solution for now... just comment out the line that says "custom/weather".... and waybar works fine after that. In default config setup... in "modules-right" section the line is at no 32. |
Thank for the hint of looking into the modules. Even though I also have "custom/weather", the troublemaker in my case is not that, but "custom/waybar-mpris". This module is of return type JSON, and the exec command (
When it works, I guess it just returns empty JSON object While this seems to be a bug in the custom module itself (which I will report), I guess waybar should also better handle invalid JSON messages and not just crash. |
waybar-mpris returning the error message on the standard output was fixed already: https://git.hrfee.pw/hrfee/waybar-mpris/issues/6 I guess what's remaining here is a more robust error handling in Waybar for custom modules of JSON type. |
I think in my case this was caused by a custom/media which I had never set up the script file for. After disabling it, no crashes so far for hours. |
I was having this issue starting with even the default config, and it keeps popping up seemingly randomly. I can sometimes hunt down an individual line in the config that causes it, but I don't understand what's happening. |
I'm having this issue as well randomly and receive the same error message. Will run it now without the custom weather app and update if it's any better |
Getting this again often despite no change to the package or config This is with both waybar 0.9.9-1 and waybar 0.9.9-2 from Arch's repository May try to get a stack trace or such, any tips appreciated |
Waybar randomly crashes at startup with the below error message. I am running waybar as a systemd user service, and it takes lots and lots of retries to catch one instance of Waybar that actually runs. It keeps restarting for 10-20 seconds usually until it finally starts correctly.
The error message is:
The results of
coredumpctl dump waybar
is at, along with my config and style.css files: https://gist.github.com/zsolt-donca/8c4d3a8003ae2a9af6f7c9e27ec98f97I am on Arch Linux using the official build from the community repo. Last time I checked waybar-git it was doing the same.
In case it's relevant, I am using a HiDPI display with a scale factor = 2.
The text was updated successfully, but these errors were encountered: