Latte dock is not showing on startup and an error mesaage is appearing

Bug #1801290 reported by Michail Vourlakos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Latte Dock
Unknown
High
latte-dock (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Some users reported the following for Kubuntu and Neon packages for version v0.8.2, can you please confirm that your package is ok? https://bugs.kde.org/show_bug.cgi?id=400568

SUMMARY
Latte-Dock isn't working. In it's place there is a error dialog with the following message:
"Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.latte.containment/contents/ui/main.qml:1830:26: ColorizerManager is not a type"

STEPS TO REPRODUCE
1. $ latte-dock --default-layout

OBSERVED RESULT
Error message

EXPECTED RESULT
A nice looking dock

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.47.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION

Revision history for this message
In , timesarehard4dreamers (timesarehard4dreamers) wrote :

Created attachment 116014
screenshot

SUMMARY

STEPS TO REPRODUCE
1. Run latte dock

OBSERVED RESULT

a blank panel appears with this error along it:
Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.latte.containment/contents/ui/main.qml:1830:26: ColorizerManager is not a type

EXPECTED RESULT
it should run...

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION

Revision history for this message
In , Michail Vourlakos (psifidotos.v) wrote :

How did you install Latte?

Revision history for this message
In , Michail Vourlakos (psifidotos.v) wrote :

I double checked in my system v0.8.2 and git version. I removed everything and reinstalled them. They both work properly.

You seem to have a broken installation, so how did you install Latte?

Revision history for this message
In , timesarehard4dreamers (timesarehard4dreamers) wrote :

(In reply to Michail Vourlakos from comment #2)
> How did you install Latte?

originally i used a third party repo but i then reinstalled with the deb file, made no difference

Revision history for this message
In , timesarehard4dreamers (timesarehard4dreamers) wrote :

(In reply to Michail Vourlakos from comment #3)
> I double checked in my system v0.8.2 and git version. I removed everything
> and reinstalled them. They both work properly.
>
> You seem to have a broken installation, so how did you install Latte?

I seem to recall Latte stopped working for me after upgrading Neon from 16.04 to 18.04 base.

Revision history for this message
In , Michail Vourlakos (psifidotos.v) wrote :

(In reply to Carl Draper from comment #5)
> (In reply to Michail Vourlakos from comment #3)
> > I double checked in my system v0.8.2 and git version. I removed everything
> > and reinstalled them. They both work properly.
> >
> > You seem to have a broken installation, so how did you install Latte?
>
> I seem to recall Latte stopped working for me after upgrading Neon from
> 16.04 to 18.04 base.

this is probably a distro issue.
Please contact with them in order to guide you how to fix this...

Revision history for this message
In , Fernando-b-v-guimaraes (fernando-b-v-guimaraes) wrote :

Created attachment 116035
Error message

SUMMARY
Latte-Dock isn't working. In it's place there is a error dialog with the following message:
"Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.latte.containment/contents/ui/main.qml:1830:26: ColorizerManager is not a type"

STEPS TO REPRODUCE
1. $ latte-dock --default-layout

OBSERVED RESULT
Error message

EXPECTED RESULT
A nice looking dock

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.47.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION

Revision history for this message
In , Michail Vourlakos (psifidotos.v) wrote :

*** This bug has been marked as a duplicate of bug 400531 ***

Revision history for this message
In , Michail Vourlakos (psifidotos.v) wrote :

*** Bug 400568 has been marked as a duplicate of this bug. ***

Revision history for this message
Michun (gerhard-kulzer) wrote :

I confirm this bug.
It exists in all versions after 0.8.75+git20181023.0746-0~ubuntu18.04~ppa1 (lst one working correctly) up to 0.8.75+git20181031.1137-0~ubuntu18.04~ppa1

Same software version as above

Revision history for this message
In , Fernando-b-v-guimaraes (fernando-b-v-guimaraes) wrote :

Hello! I have the same issue, reinstalled latte-dock from old repo and new KDE repo. The issue persists! My distro is Kubuntu.

Revision history for this message
In , Michail Vourlakos (psifidotos.v) wrote :

(In reply to Fernando from comment #8)
> Hello! I have the same issue, reinstalled latte-dock from old repo and new
> KDE repo. The issue persists! My distro is Kubuntu.

https://bugs.launchpad.net/ubuntu/+source/latte-dock/+bug/1801290

Revision history for this message
The Punisher (melprinsi) wrote :

In many cases, this can be resolved by removing the qmlcache located in ~/.cache/lattedock/qmlcache/

as reported by RiK Mills @ https://launchpad.net/~rikmills/+archive/ubuntu/latte-dock

Revision history for this message
In , Michail Vourlakos (psifidotos.v) wrote :

Kubuntu devs propose to clear the qmlcache:

https://bugs.launchpad.net/ubuntu/+source/latte-dock/+bug/1801290

Revision history for this message
In , Fernando-b-v-guimaraes (fernando-b-v-guimaraes) wrote :

(In reply to Michail Vourlakos from comment #10)
> Kubuntu devs propose to clear the qmlcache:
>
> https://bugs.launchpad.net/ubuntu/+source/latte-dock/+bug/1801290

It worked, thanks a lot! I recommend the following command to reset the dock:
$ latte-dock --default-layout --replace

Revision history for this message
timesarehard4dreamers (timesarehard4dreamers) wrote :

removing the qmlcache located in ~/.cache/lattedock/qmlcache/
fixed it for me, thanks

Revision history for this message
Rik Mills (rikmills) wrote :

0.8.75+git20181023.0746-0~ubuntu18.04~ppa1 is an experimental PPA package from upstream git, not an official package.

For the record, if the issue is that latte cannot run with a stale qml cache in ~/.cache/lattedock/qmlcache/ then this is an upstream KDE issue that cannot be addressed in distro packaging. We can't and shouldn't act on any file in a user home when doing a package upgrade via sudo/admin. This should be fixed by KDE by having latte detect that it is being run for the first time by a user after a version upgrade, and at that point removing or modifying the cache with that user's privileges.

Changed in latte-dock (Ubuntu):
status: New → Invalid
Revision history for this message
In , Rik Mills (rikmills) wrote :

If the issue is that latte cannot run with a stale qml cache in ~/.cache/lattedock/qmlcache/ then this is an upstream KDE issue that cannot be addressed in distro packaging. We can't and shouldn't act on any file in a user home when doing a package upgrade via sudo/admin. This should be fixed by KDE by having latte detect that it is being run for the first time by a user after a version upgrade, and at that point removing or modifying the cache with that user's privileges.

Revision history for this message
In , Michail Vourlakos (psifidotos.v) wrote :

(In reply to Rik Mills from comment #12)
> If the issue is that latte cannot run with a stale qml cache in
> ~/.cache/lattedock/qmlcache/ then this is an upstream KDE issue that cannot
> be addressed in distro packaging. We can't and shouldn't act on any file in
> a user home when doing a package upgrade via sudo/admin. This should be
> fixed by KDE by having latte detect that it is being run for the first time
> by a user after a version upgrade, and at that point removing or modifying
> the cache with that user's privileges.

if you have any idea how to do that in Latte, feel free to send a patch,
my important question of course is why this is not needed from plasmashell

Revision history for this message
In , Rik Mills (rikmills) wrote :

(In reply to Michail Vourlakos from comment #13)
> if you have any idea how to do that in Latte, feel free to send a patch,
> my important question of course is why this is not needed from plasmashell

I have no idea sadly. I don't know what is specific and different about the latte code that is causing this.

Changed in latte-dock:
importance: Unknown → Critical
status: Unknown → Invalid
Rik Mills (rikmills)
Changed in latte-dock:
importance: Critical → Unknown
status: Invalid → Unknown
Changed in latte-dock:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.