Open
Description
This issue comes in the following steps, increasing with severity.
- (works as expected) Connect to a network -> start Waybar,
- (crashes) Connect to a network -> start Waybar -> disconnect from the network -> switch the window focus.
- (unexpected errors) disconnect from the network -> start Waybar,
Below, I give the output for the above, preserving order.
- When I am connected to a network and I start Waybar it prints
[info] Using configuration file .../.config/waybar/config
[info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[info] Using CSS file .../.config/waybar/style.css
[info] Hyprland IPC starting
[info] Loading persistent workspaces from Hyprland workspace rules
[warning] module sway/mode: Disabling module "sway/mode", Socket path is empty
[warning] module sway/window: Disabling module "sway/window", Socket path is empty
[info] Loading persistent workspaces from Hyprland workspace rules
[warning] module sway/mode: Disabling module "sway/mode", Socket path is empty
[warning] module sway/window: Disabling module "sway/window", Socket path is empty
G **: ...: Status Notifier Item with bus name ':1.58' and object path '/org/ayatana/NotificationItem/udiskie' is already registered
[info] Bar configured (width: 1920, height: 24) for output: eDP-1
[info] Bar configured (width: 1920, height: 24) for output: DP-1
- Additionally, when I switch the window focus (Hyprland), Waybar crashes with
[error] Hyprland IPC: Couldn't get host (2)
terminate called after throwing an instance of 'std::runtime_error'
what(): Error parsing JSON: * Line 1, Column 1
Syntax error: value, object or array expected.
zsh: IOT instruction (core dumped) waybar
- When I disconnect from the network and then start Waybar, it prints
[info] Using configuration file .../.config/waybar/config
[info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[info] Using CSS file .../.config/waybar/style.css
[info] Hyprland IPC starting
[error] Hyprland IPC: Couldn't get host (2)
[warning] module hyprland/workspaces: Disabling module "hyprland/workspaces", Error parsing JSON: * Line 1, Column 1
ect or array expected.
[warning] module sway/mode: Disabling module "sway/mode", Socket path is empty
[error] Hyprland IPC: Couldn't get host (2)
[warning] module hyprland/window: Disabling module "hyprland/window", Error parsing JSON: * Line 1, Column 1
ect or array expected.
[warning] module sway/window: Disabling module "sway/window", Socket path is empty
[error] Hyprland IPC: Couldn't get host (2)
[warning] module hyprland/workspaces: Disabling module "hyprland/workspaces", Error parsing JSON: * Line 1, Column 1
ect or array expected.
[warning] module sway/mode: Disabling module "sway/mode", Socket path is empty
[error] Hyprland IPC: Couldn't get host (2)
[warning] module hyprland/window: Disabling module "hyprland/window", Error parsing JSON: * Line 1, Column 1
ect or array expected.
[warning] module sway/window: Disabling module "sway/window", Socket path is empty
[info] Bar configured (width: 1920, height: 24) for output: eDP-1
[info] Bar configured (width: 1920, height: 24) for output: DP-1
** (waybar:525172): WARNING **: ...: Status Notifier Item with bus name ':1.58' and object path '/org/ayatana/NotificationItem/udiskie' is already registered
** (waybar:525172): WARNING **: ...: Status Notifier Item with bus name ':1.58' and object path '/org/ayatana/NotificationItem/udiskie' is already registered
I truncated sensitive information (dates and some paths). The issue happens with master and v0.10.0 flakes.