I have a lot of this entry in my log:
Nov 18 11:34:24 HOSTNAME plasmashell[317461]: Could not find definition for W. Europe Standard Time
Nov 18 11:34:24 HOSTNAME plasmashell[317461]: console.error: Calendar:
How can I fix it?
EDIT:
And some of this as well:
Nov 18 11:34:24 HOSTNAME plasmashell[317461]: Could not find definition for GMT Standard Time
Nov 18 11:34:24 HOSTNAME plasmashell[317461]: console.error: Calendar:
I use Arch Linux
Is this a new install of Arch, or was it working until recently? Do you live in the GMT time zone? Plasma uses the locale info from the OS. You might need to re-run the localization section of the install. This should be easy to run from Konsole.
Installation guide - ArchWiki section 3.3 and 3.4
Also, it looks like you don’t have a Hostname set.
/etc/hostname
It always worked, but I’m now reading the journal. Before I didn’t read it.
I repeated the instructions and rebooted, still have those logs.
➜ cat /etc/locale.conf
LANG=en_US.UTF8
➜ cat /etc/locale.gen | grep -P "^\w"
en_DK.UTF-8 UTF-8
en_US.UTF-8 UTF-8
➜ cat $HOME/.config/locale.conf
LANG=en_US.UTF-8
LC_TIME=en_DK.UTF-8
I see from the repo that it has to do with the X server: ksmserver · master · Plasma / Plasma Workspace · GitLab
I’m on wayland. Do I need it at all?
Sorry, the logs I posted in the first post are from plasmashell.
Now I have the same logs but from ksmserver:
Nov 18 20:25:30 HOSTNAME ksmserver[4100]: Could not find definition for W. Europe Standard Time
Nov 18 20:25:30 HOSTNAME ksmserver[4100]: console.error: Calendar:
I have cloned both plasma-desktop and plasma-workspace, and run:
grep -n -P "Could not find definition for" -r .
but there is nothing in the code.
From
journalctl --output=json --reverse --boot | jq
we obtain:
{
"__SEQNUM_ID": "ABRIDGED",
"_HOSTNAME": "ABRIDGED",
"_AUDIT_LOGINUID": "1000",
"_AUDIT_SESSION": "3",
"MESSAGE": " Could not find definition for W. Europe Standard Time",
"_PID": "4100",
"_CMDLINE": "/usr/lib/thunderbird/thunderbird --sm-client-id ABRIDGED",
"SYSLOG_IDENTIFIER": "ksmserver",
"__MONOTONIC_TIMESTAMP": "44579078",
"_CAP_EFFECTIVE": "0",
"_SYSTEMD_INVOCATION_ID": "ABRIDGED",
"_BOOT_ID": "ABRIDGED",
"_TRANSPORT": "stdout",
"_MACHINE_ID": "ABRIDGED",
"_SYSTEMD_OWNER_UID": "1000",
"_UID": "1000",
"_GID": "1000",
"PRIORITY": "6",
"_SYSTEMD_USER_UNIT": "app-org.mozilla.Thunderbird-ABRIDGED.scope",
"__REALTIME_TIMESTAMP": "ABRIDGED",
"_SYSTEMD_CGROUP": "/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.mozilla.Thunderbird-ABRIDGED.scope",
"_STREAM_ID": "ABRIDGED",
"_EXE": "/usr/lib/thunderbird/thunderbird",
"SYSLOG_FACILITY": "3",
"_SYSTEMD_SLICE": "user-1000.slice",
"_COMM": "thunderbird",
"_RUNTIME_SCOPE": "system",
"_SYSTEMD_UNIT": "user@1000.service",
"__SEQNUM": "ABRIDGED",
"__CURSOR": "s=ABRIDGED;i=ABRIDGED;b=ABRIDGED;m=ABRIDGED;t=ABRIDGED;x=ABRIDGED",
"_SYSTEMD_USER_SLICE": "app.slice"
}
so it appears it’s actually Thunderbird logging, but for some reason the standard output of journalctl seems to print SYSLOG_IDENTIFIER
, and for some other reason that equals ksmserver
?
Plasma has no means of managing the time. It simply pulls its info from the Locale of Arch. I realize the logs are plasmashell, but it is simply telling you that it cannot find what it is looking for. The reason it shows Thunderbird, is because Thunderbird is trying to get the time and date info to use on the calendar.
You can try looking at System time - ArchWiki and hopefully run down something from there. Have you asked the folks over at the Arch forums? I know you can’t be the first one to ever have this problem, so I’m sure they have seen it before.
1 Like