Waybar-mpris sometimes returns an invalid JSON #6

Closed
opened 2022-01-24 14:18:28 +00:00 by Ghost · 1 comment

Waybar-mpris sometimes returns an invalid JSON for me on startup:

❯ waybar-mpris --position
Couldn't dial socket, deleting instead: dial unix /tmp/waybar-mpris.sock: connect: connection refused{}

The error message is apparently written to the standard output, the same as {}, which (I suspect) makes waybar crash: https://github.com/Alexays/Waybar/issues/1402

Waybar-mpris sometimes returns an invalid JSON for me on startup: ``` ❯ waybar-mpris --position Couldn't dial socket, deleting instead: dial unix /tmp/waybar-mpris.sock: connect: connection refused{} ``` The error message is apparently written to the standard output, the same as `{}`, which (I suspect) makes waybar crash: https://github.com/Alexays/Waybar/issues/1402
Owner

Just changed it to write to stderr in 39f84a9, hopefully that's fine for now. Does this error appear after you've restarted waybar or something like that?

Just changed it to write to stderr in 39f84a9, hopefully that's fine for now. Does this error appear after you've restarted waybar or something like that?
Ghost closed this issue 2022-01-24 14:39:57 +00:00
Sign in to join this conversation.
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hrfee/waybar-mpris#6