Bug 358262

Summary: time dataEngine has empty Local source
Product: [Plasma] plasmashell Reporter: abulak <abulak>
Component: Digital Clock widgetAssignee: Martin Klapetek <mklapetek>
Status: RESOLVED NOT A BUG    
Severity: normal CC: mklapetek, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.5.3   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description abulak 2016-01-20 15:45:03 UTC
This results in no clock shown in sddm and default plasma clock.

I have no idea how to debug it;
using systemd;

timedatectl:
      Local time: Wed 2016-01-20 16:43:37 CET
  Universal time: Wed 2016-01-20 15:43:37 UTC
        RTC time: Wed 2016-01-20 15:43:37
       Time zone: Europe/Warsaw (CET, +0100)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

/etc/localtime points where it should (/usr/share/zoneinfo/Europe/Warsaw

Reproducible: Always
Comment 1 Martin Klapetek 2016-01-27 02:11:04 UTC
Thanks for the report

Can you please tell me your Qt version and also look if you have a TZ env var set
and tell me to what, if you do.
Comment 2 abulak 2016-01-27 08:38:30 UTC
dev-qt/qtcore
     (4)    4.8.6-r2 
     (5)    5.5.1

I don't have TZ env var set (env|grep TZ is null)
Comment 3 Martin Klapetek 2016-01-27 15:46:14 UTC
Then it would appear you don't have the dataengine built/installed.

Can you confirm you have plasma_engine_time.so in QT_PLUGIN_PATH
and that you have /usr/share/kservices5/plasma-dataengine-time.desktop?
Comment 4 abulak 2016-01-27 17:20:11 UTC
Good guess!
I have plasma_engine_time.so and /usr/share/kservices5/plasma-dataengine-time.desktop.
HOWEVER I don't have plasma_engine_time.so in QT_PLUGIN_PATH:
QT_PLUGIN_PATH points to /usr/lib64/kde4/plugins

kf5-config --qt-plugins points to /usr/lib64/qt5/plugins

so this should be added somewhere in /etc/env.d I guess??
Anyway it seems more a distribution problem than kde

Thanks!
Comment 5 Martin Klapetek 2016-01-27 17:26:35 UTC
Yep, this is certainly a local problem only :)

Unfortunately I'm not familiar with Gentoo so I cannot really
give you any advice on what would the best course of action
be, best is to probably contact your distro packagers.

I'll close it here then, thanks.