Closed madfanat closed 4 months ago
Do you always see that dbind-WARNING
message, or do you know if that's new? The crash is coming from the tray client initialization code, which is dbus related, as is that warning.
It looks like this may be due to a dbus-related system issue, but hard to tell.
Are you able to re-run with IRONBAR_LOG=trace RUST_BACKTRACE=full
too please, and share the log (it will probably be a lot bigger)? Hopefully this should give a few more clues as to what's going on.
Well, I would bet the dbind-WARNING
message is new.
By the way, I guess this warning isn't actually a problem. It just tells you that Gnome Accessibility tool can't be found. Fixed by running with NO_AT_BRIDGE=1 flag. But ironbar still won't run and then I think the issue isn't related to dbus.
Ohhh, found some kind of workaround. Now I'm able to run ironbar via dbus-launch. But still getting some errors related to swaync, will try to figure out the reason. Here is the short general output:
% dbus-launch ironbar
2024-05-18T15:58:58.128576Z INFO ironbar: 115: Ironbar version 0.16.0-pre
2024-05-18T15:58:58.128586Z INFO ironbar: 116: Starting application
2024-05-18T15:58:58.275011Z INFO ironbar::ipc::server: 37: Starting IPC on /run/user/1000/ironbar-ipc.sock
2024-05-18T15:58:58.275899Z INFO ironbar::bar: 118: Initializing bar 'bar-4' on 'DP-2'
2024-05-18T15:58:58.277715Z INFO ironbar::clients::compositor::hyprland: 32: Starting Hyprland event listener
2024-05-18T15:58:58.280807Z INFO ironbar::clients::volume: 168: connected to server
2024-05-18T15:58:58.281245Z ERROR ironbar::modules::notifications: 123:
0: org.freedesktop.DBus.Error.ServiceUnknown: The name org.erikreider.swaync.cc was not provided by any .service files
Location:
src/clients/swaync/mod.rs:74
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
And here is what I get if click on the notifications button:
2024-05-18T16:03:14.820967Z ERROR ironbar::clients::swaync: 81: MethodError(OwnedErrorName(ErrorName(Str(Owned("org.freedesktop.DBus.Error.ServiceUnknown")))), Some("The name org.erikreider.swaync.cc was not provided by any .service files"), Msg { type: Error, sender: UniqueName(Str(Borrowed("org.freedesktop.DBus"))), reply-serial: 7, body: Signature("s") })
Is swaync running? It will need to be for the module to work. If it is, there's definitely a dbus issue your machine.
Running with dbus-launch
also should not be required.
It could potentially be a similar issue/solution to this, but I'm not sure.
Thank you.
It's so stupid and cringe. The error occurred because of sddm: it rewrited the hyprland entry and removed the dbus-run-session
prefix. Now it's finally fixed.
Glad to hear it's sorted
Describe the bug Today I installed all available updates and then restarted my computer. Everything works fine, but ironbar won't start. Here is the output I am getting::
To Reproduce Steps to reproduce the behavior: 1.Type
paru -Syu
System information:
Configuration
Config
```corn let { $workspaces = { type = "workspaces" } $launcher = { type = "launcher" favorites = [ "org.gnome.Nautilus" "thorium-browser" "alacritty" "transmission-gtk" "steam" "net.lutris.Lutris" "org.prismlauncher.PrismLauncher" "telegram-desktop" ] } $notifications = { type = "notifications" show_count = true icons.closed_none = "" icons.closed_some = "" icons.closed_dnd = "" icons.open_none = "" icons.open_some = "" icons.open_dnd = "" } $tray = { type = "tray" direction = "left_to_right" icon_size = 20 } $clock = { type = "clock" format = "%d.%m.%Y %H:%M" } $volume = { type = "volume" format = "{icon} {percentage}%" max_volume = 100 icons.volume_high = " " icons.volume_medium = "" icons.volume_low = "" icons.muted = " " } $button = { type = "button" name="power-button" label = "" on_click = "popup:toggle" } $popup = { type = "box" orientation = "horizontal" widgets = [ { type = "box" widgets = [ { type = "button" class="power-button" label = "" on_click = "!loginctl poweroff" } { type = "button" class="power-button" label = "" on_click = "!loginctl reboot" } { type = "button" class="power-button" label = "" on_clock = "!loginctl suspend" } ] } ] } $power_menu = { type = "custom" class = "power-menu" bar = [ $button ] popup = [ $popup ] } } in { anchor_to_edges = true icon_theme = "Papirus-Dark" start = [ $power_menu $workspaces ] center = [ $launcher ] end = [ $tray $volume $clock $notifications ] } ```Styles
```css @import "mocha.css"; /* -- general configuration -- */ * { font-family: "JetbrainsMono Nerd Font"; font-size: 16px; border: none; border-radius: 18px; } #bar { border-top: 1px solid @surface0; } box, menubar, button { background-image: none; box-shadow: none; } box, menubar { background-color: @base; } button { background-color: @surface0; padding: 0 5px; } button, label { color: @text; } button:hover { background-color: @surface2; } .popup { padding: 1em; border: 1px solid @surface0; } /* -- workspaces configuration */ .workspaces { background-color: @surface0; margin-left: 5px; } .workspaces .item { background-color: @surface0; border-radius: 100%; } .workspaces .item:not(:first-child) { margin-left: 4px; } .workspaces .item.focused { background-color: @surface1; } .workspaces .item:hover { background-color: @surface2; } /* -- launcher configuration -- */ .launcher { margin-left: 5px; } .launcher .item { background-color: @base; padding: 0 5px; border-radius: 100%; } .launcher .item:not(:first-child) { margin-left: 4px; } .launcher :hover { background-color: @surface2; } .launcher .open { background-color: @surface1; } .launcher .focused { background-color: @surface2; } .launcher .urgent { background-color: @red; } .popup-launcher { padding: 5px; } .popup-launcher .popup-item:not(:first-child) { margin-top: 5px; } /* -- clock configuration -- */ .clock { font-weight: bold; margin-left: 5px; margin-right: 5px; } .popup-clock .calendar-clock { color: @text; font-size: 2.5em; margin-bottom: 5px; padding-left: 5px; padding-right: 5px; background-color: @surface0; } .popup-clock .calendar { background-color: @surface0; color: @text; } .popup-clock .calendar .header { font-size: 1.5em; } .popup-clock .calendar:selected { background-color: @rosewater; color: @base; } /* -- notifications configuration -- */ .notifications { border-radius: 100%; } .notifications .count { font-size: 0.6rem; background-color: @text; color: @crust; border-radius: 100%; margin-right: 3px; margin-top: 3px; padding-left: 4px; padding-right: 4px; opacity: 0.7; } /* -- tray configuration -- */ .tray { background-color: @base; } .tray .item:hover { background-color: @surface2; } .tray .item:not(:first-child) { margin-left: 4px; } /* -- volume configuration -- */ .volume { margin-left: 5px; } .popup-volume .device-box .device-selector { background-color: @surface0; } .popup-volume .device-box .slider { background-color: @surface0; } /* -- powermenu configuration -- */ .power-menu #power-button { padding: 0 13px; border-radius: 100%; } .popup-power-menu { padding: 5px; } .popup-power-menu .power-button { padding: 0 10px; border-radius: 100%; margin: 0 2.5px; } ```