You are not logged in.

#1 2016-06-15 08:30:21

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

[Solved] No digital clock / calendar after latest KDE update

After installing the latest KDE updates today, the digital clock / calendar elements give this error message:

 Error loading QML-file: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/main.qml:46:34: Type CalendarView unavailable
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/CalendarView.qml:65:9: Type PlasmaCalendar.MonthView unavailable
file:///usr/lib/qt/qml/org/kde/plasma/calendar/MonthView.qml:173:19: Cannot assign object to property 

Anyone else seen this? Trying to activate same from the collection of desktop elements produces the same errors.

Last edited by whaler (2016-06-15 14:05:54)

Offline

#2 2016-06-15 11:48:19

qso
Member
Registered: 2014-11-08
Posts: 4

Re: [Solved] No digital clock / calendar after latest KDE update

This seems to be a Qt Bug! I have QML issues since Qt 5.6.1. It was working fine before.
Downgrading Qt to 5.6.0 fixed the issues. But this needs to be fixed by Qt people.

Offline

#3 2016-06-15 13:00:18

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: [Solved] No digital clock / calendar after latest KDE update

Thanks, qso. One would imagine that the KDE team could detect a relatively obvious error like this before releasing an update.

Offline

#4 2016-06-15 13:35:27

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

Re: [Solved] No digital clock / calendar after latest KDE update

Or maybe it isn't that obvious. I'm not affected in any of my machines

Offline

#5 2016-06-15 13:52:29

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,907
Website

Re: [Solved] No digital clock / calendar after latest KDE update

No problems here either. Have you both logged out and back in since upgrading?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2016-06-15 14:05:19

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: [Solved] No digital clock / calendar after latest KDE update

I always log out / in - actually restarting the entire system, just in case - whenever I upgrade.
Doing it a second time fixed the problem. Thanks.

However, I now have another problem, in Konsole, but that is a separate topic.

Offline

#7 2016-06-15 15:43:45

jswenson
Member
Registered: 2016-05-29
Posts: 26

Re: [Solved] No digital clock / calendar after latest KDE update

I am getting the same error. I have restarted my system multiple times. The issue appears to be corrected after a restart but then it resurfaces when I log out and log back in without doing a full restart.

Offline

#8 2016-06-15 16:43:06

jswenson
Member
Registered: 2016-05-29
Posts: 26

Re: [Solved] No digital clock / calendar after latest KDE update

I've downgraded my packages to 6/11/16 archives and everything seems to be working now. I'll try upgrading again when we get a newer version or if somebody can come up with a workaround.

Offline

#9 2016-06-15 19:11:53

Dioka82
Member
Registered: 2016-06-13
Posts: 5

Re: [Solved] No digital clock / calendar after latest KDE update

I have the same issue  , it worked fine for a while than plasma restarted and the date calendar crashed

Last edited by Dioka82 (2016-06-15 19:23:05)

Offline

#10 2016-06-15 19:39:31

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: [Solved] No digital clock / calendar after latest KDE update

jswenson wrote:

I am getting the same error. I have restarted my system multiple times. The issue appears to be corrected after a restart but then it resurfaces when I log out and log back in without doing a full restart.

Same as you!


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#11 2016-06-15 20:43:06

dfaure
Member
Registered: 2016-06-15
Posts: 1

Re: [Solved] No digital clock / calendar after latest KDE update

I have been seeing that error for some time (using git master), and I've been trying to debug it (deep inside qtdeclarative) for 2 days already.
I would very much welcome your help in finding out which version change triggers this. Is it really the upgrade from Qt 5.6.0 to 5.6.1, or given that you're all seeing this today, is it because of the KF 5.23 release (of plasma-framework), or a change in plasma-workspace itself?
(I tried downgrading plasma-framework and kdeclarative to 5.22, to no effect .... and I'm pretty sure I had this with Qt 5.6 branch too, not just with 5.7 branch ... but I don't understand why no other KDE developer around me is hitting this....)

When testing this, do killall plasmashell ; plasmashell &   about 5 times, since the bug is related to timing (undefined loading order, race condition, or something), so sometimes it works and sometimes it doesn't.

My current findings: the bug happens when QtQuick/Controls/StackViewDelegate.qml is loaded before (and after) QtQuick/Controls/StackView.qml rather than only after (strace -f plasmashell to see it).

Offline

#12 2016-06-15 20:53:13

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

Re: [Solved] No digital clock / calendar after latest KDE update

dfaure wrote:

I have been seeing that error for some time (using git master), and I've been trying to debug it (deep inside qtdeclarative) for 2 days already.
I would very much welcome your help in finding out which version change triggers this. Is it really the upgrade from Qt 5.6.0 to 5.6.1, or given that you're all seeing this today, is it because of the KF 5.23 release (of plasma-framework), or a change in plasma-workspace itself?
(I tried downgrading plasma-framework and kdeclarative to 5.22, to no effect .... and I'm pretty sure I had this with Qt 5.6 branch too, not just with 5.7 branch ... but I don't understand why no other KDE developer around me is hitting this....).

KF 5.23 is not in the stable repo yet. Given that Qt 5.6.1 was moved to stable yesterday, chances are it's Qt.

Offline

#13 2016-06-15 22:21:24

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 501

Re: [Solved] No digital clock / calendar after latest KDE update

arojas wrote:

Or maybe it isn't that obvious. I'm not affected in any of my machines

It's not very obvious. Plasma upgraded just fine on my desktop, but sddm and digital clock both broke on my laptop. I got the sddm issue fixed, btw (switched back to the breeze theme)...

Offline

#14 2016-06-16 06:43:42

qso
Member
Registered: 2014-11-08
Posts: 4

Re: [Solved] No digital clock / calendar after latest KDE update

I really think that it is a Qt problem. I develop a Qt application without any KDE stuff and I ran into these problems after Qt upgrade to 5.6.1. It seems to be somehow random. I get different Qml errors, probably depending on what is processed first by the Qmlengine. The only way to resolve this was to downgrade to 5.6.0.
Someone has a similar problem here: https://forum.qt.io/topic/68124/possibl … and-5-7-rc

Offline

#15 2016-06-16 10:37:33

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

Re: [Solved] No digital clock / calendar after latest KDE update

Fixed in qt5-declarative 5.6.1-2

Offline

Board footer

Powered by FluxBB