Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.71k stars 710 forks source link

clock: "bad dow name: il" #3572

Open NotSludgeBomb opened 2 months ago

NotSludgeBomb commented 2 months ago

On my system currently (FreeBSD/Sway), the clock on Waybar is completely empty. When i run waybar in the console, I get the following output:

[2024-09-06 20:35:13.545] [info] Using configuration file /home/basil/.config/waybar/config.jsonc
[2024-09-06 20:35:13.547] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
[2024-09-06 20:35:13.553] [info] Using CSS file /home/basil/.config/waybar/style.css
[2024-09-06 20:35:13.559] [warning] Mapping is not an object
[2024-09-06 20:35:13.560] [warning] Unable to connect to the SYSTEM Bus!...
[2024-09-06 20:35:13.563] [warning] module network: Unknown module: network
        #STDOFF 2:05:08.9
        #STDOFF 8:05:43.2
        #STDOFF 7:36:41.7
        #STDOFF -0:25:21.1
        #STDOFF 1:39:49.2
        #STDOFF -0:36:44.68
        #STDOFF -4:56:01.6
Rule    Mexico  1931    only    -   April   30  0:00    1:00    D
Mexico         1931    1931    Jan/01                  00:00:00       00:00:00   
[2024-09-06 20:35:13.920] [error] clock: oops: bad dow name: il 
[2024-09-06 20:35:13.921] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-1

I've tried switching to the default configuration, and this happens there as well. My timezone according to /etc/localtime is America/Chicago.

DavMig commented 2 months ago

Hello, same here when running waybar,

My system: FreeBSD truecluster 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #0: Tue Mar 26 20:26:20 UTC 2024 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

The log:

                #STDOFF 2:05:08.9
        #STDOFF 8:05:43.2
        #STDOFF 7:36:41.7
        #STDOFF -0:25:21.1
        #STDOFF 1:39:49.2
        #STDOFF -0:36:44.68
        #STDOFF -4:56:01.6
Rule    Mexico  1931    only    -   April   30  0:00    1:00    D
Mexico         1931    1931    Jan/01                  00:00:00       00:00:00   
[2024-09-07 20:13:15.496] [error] clock: oops: bad dow name: il 
eacrawford02 commented 2 months ago

I'm getting the exact same error on FreeBSD version 14.1-Release. My locale is set to "C.UTF-8". Changing the language/country code from "C" to "en_US" does not help.

nivit commented 2 months ago

I think this issue is related to this other one: https://github.com/HowardHinnant/date/issues/836 . Editing the file northamerica as indicated solves the problem in my case (FreeBSD-14.1.0).

eacrawford02 commented 2 months ago

@nivit amazing, this fixed it. Thanks for pointing that out. I guess all there is to do now is wait for an update to the date package with a permanent fix in it.

maitrenageur commented 2 months ago

I had exact the same issue under FreeBSD and could solved it with the hint by @nivit . Amazing for me is, that I have to maintain the file northamerica within the folder tzdata which is located in my downloads folder. Why is tzdata to find in my downloads folder and not in a system environment? By the way I have a German localization, to maintain the file northamerica makes no sense for me. Or has anyony a hint for me?