You are not logged in.

#1 2023-10-02 23:45:37

renyuneyun
Member
Registered: 2017-01-21
Posts: 10

[Soled] Lots of repeated warning for kio about JSON protocol and trash

Today when examining a bug using journalctl, I accidentally found tremendous amount of repeated log entries about kio. It reads:

10月 02 23:40:00 zr-yoga plasmashell[2590]: kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields

Tens of them are generated in every second. Probably thanks to compression, my log entries have not filled up my disk.

So what is this warning? Googling it finds it in many's logs (e.g. [1] [2] [3]), but none of them is about itself. In fact, most of them just ignored it. This post is the only place I found with discussion, but no conclusions.

Does anyone have any idea what this message is about? E.g. which protocol file, which are these fields, why is this caused, etc...?

Last edited by renyuneyun (2023-10-03 13:10:24)

Offline

#2 2023-10-03 07:44:27

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,292

Re: [Soled] Lots of repeated warning for kio about JSON protocol and trash

That doesn't sound right. Post the output of

pacman -Q kio
pacman -Qkk kio
pacman -Qo /usr/lib/qt/plugins/kf5/kio/

EDIT: Actually, this is likely a locale issue. What is your locale?

Last edited by arojas (2023-10-03 07:45:46)

Offline

#3 2023-10-03 10:37:46

renyuneyun
Member
Registered: 2017-01-21
Posts: 10

Re: [Soled] Lots of repeated warning for kio about JSON protocol and trash

arojas wrote:

That doesn't sound right. Post the output of

pacman -Q kio
pacman -Qkk kio
pacman -Qo /usr/lib/qt/plugins/kf5/kio/

EDIT: Actually, this is likely a locale issue. What is your locale?

Thanks for some hints. Here is the output, if still useful:

kio5 5.110.0-2
kio5: 1569 total files, 0 altered files
/usr/lib/qt/plugins/kf5/kio/ is owned by baloo5 5.110.0-1
/usr/lib/qt/plugins/kf5/kio/ is owned by bluedevil 1:5.27.8-2
/usr/lib/qt/plugins/kf5/kio/ is owned by kamera 23.08.1-1
/usr/lib/qt/plugins/kf5/kio/ is owned by kdeconnect 23.08.1-1
/usr/lib/qt/plugins/kf5/kio/ is owned by kdelibs4support 5.110.0-2
/usr/lib/qt/plugins/kf5/kio/ is owned by kdepim-runtime 23.08.1-2
/usr/lib/qt/plugins/kf5/kio/ is owned by kio-admin 23.08.1-1
/usr/lib/qt/plugins/kf5/kio/ is owned by kio-extras 23.08.1-1
/usr/lib/qt/plugins/kf5/kio/ is owned by kio-gdrive 23.08.1-1
/usr/lib/qt/plugins/kf5/kio/ is owned by kio-zeroconf 23.08.1-1
/usr/lib/qt/plugins/kf5/kio/ is owned by kio5 5.110.0-2
/usr/lib/qt/plugins/kf5/kio/ is owned by kldap 23.08.1-1
/usr/lib/qt/plugins/kf5/kio/ is owned by okular 23.08.1-1
/usr/lib/qt/plugins/kf5/kio/ is owned by plasma-workspace 5.27.8-2

My locale is zh_CN.UTF-8; the previous output temporarily uses English locale. I should have correctly configured the locale from locale-gen's point of view, and applications all behave as expected.

Some maybe related information: Some while (months) ago, when opening a file-chooser dialog from a Qt application (e.g. Kvantum's config application? IIRC), it often freezes for a while, if the path is empty in the application when starting the dialog. It's not usually repeatable on my other machine, and no longer appear now. I'm not entirely sure if it's Qt's file dialog or KDE's file dialog, as I don't develop with them so don't know the exact difference.

Last edited by renyuneyun (2023-10-03 10:41:24)

Offline

#4 2023-10-03 10:54:34

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,292

Re: [Soled] Lots of repeated warning for kio about JSON protocol and trash

Should be fixed in 5.111 by https://invent.kde.org/frameworks/kio/- … 055ce5d4cd for zh_CN. Other locales are still broken, though.

Offline

#5 2023-10-03 13:08:50

renyuneyun
Member
Registered: 2017-01-21
Posts: 10

Re: [Soled] Lots of repeated warning for kio about JSON protocol and trash

arojas wrote:

Should be fixed in 5.111 by https://invent.kde.org/frameworks/kio/- … 055ce5d4cd for zh_CN. Other locales are still broken, though.

Ah, thanks! This indeed looks like the place... with JSON, message, ExtraNames...

I'll wait for the new version.

Offline

Board footer

Powered by FluxBB