Bug 412327

Summary: Plugin library 'kde_grantlee_plugin' not found
Product: [Applications] kaddressbook Reporter: Michal Kec (MiK) <KDE>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: arojas, jr, neon-bugs, sitter, sknauss, tem4470.dolly897, tokoe, winter
Priority: NOR    
Version: 5.13.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michal Kec (MiK) 2019-09-25 16:33:29 UTC
Since last update the third column of the application window (detail) has no content, but error message "Plugin library 'kde_grantlee_plugin' not found" (twice). 

I have both kaddressbook (19.08.1-0xneon+18.04+bionic+build37) and libkf5kaddressbookgrantlee5 (19.08.1-0xneon+18.04+bionic+build36) packages installed from KDE Neon repos. Do I need to install/setup anything else?

System info:
- KDE neon 5.16
- KDE Frameworks 5.62.0
- Qt 5.12.3
Comment 1 Christoph Feck 2019-10-24 08:31:05 UTC
Is this still happening with latest neon?
Comment 2 Allen Winter 2019-10-24 13:24:47 UTC
Perhaps related (perhaps not).

I see this message from Kontact, built from master:

Error loading plugin: "The shared library was not found."
org.kde.kcoreaddons: Expected a KPluginFactory, got a Grantlee::ScriptableTagLibrary

I don't know if it comes from KAddressbook specifically, or some other Kontact plugin.
Comment 3 Michal Kec (MiK) 2019-10-28 12:18:48 UTC
(In reply to Christoph Feck from comment #1)
> Is this still happening with latest neon?

Oh yeah, it is still there.

KDE Frameworks 5.63.0
Qt 5.13.1
Comment 4 Jonathan Riddell 2019-11-07 15:26:52 UTC
'Since last update the third column of the application window '  what application?
Comment 5 Michal Kec (MiK) 2019-11-08 15:50:10 UTC
(In reply to Jonathan Riddell from comment #4)
> what application?

The Kaddressbook application obviously, as I set the Product field right initially. Dunno, why cfeck messed it with Neon, thanks for pointing me out. 

It is kaddressbook 19.08.3-0xneon+18.04+bionic+build43 actually.
Comment 6 Thomas McNicholas 2019-12-19 11:03:59 UTC
The 'grantlee' notification came with today's update and appears in akregator and kaddressbook and it may also be the cause of why I now can't read my email.

OS: Arch Linux 
KDE Plasma 5.17.4
Frameworks 5.65.0
Qt 5.13.2
Comment 7 Thomas McNicholas 2019-12-19 12:37:36 UTC
Now works correctly after new Grantlee update. Thanks KDE community

OS: Arch Linux 
KDE Plasma 5.17.4
Frameworks 5.65.0
Qt 5.13.2
Comment 8 Michal Kec (MiK) 2019-12-20 14:54:24 UTC
Still valid in KDE Neon. Definitely not Arch Linux specific.
Comment 9 Antonio Rojas 2019-12-20 18:22:58 UTC
The ArchLinux issue was a packaging problem which has nothing to do with this.
Comment 10 Thomas McNicholas 2019-12-20 18:24:38 UTC
(In reply to Antonio Rojas from comment #9)
> The ArchLinux issue was a packaging problem which has nothing to do with
> this.

Thanks
Comment 11 Harald Sitter 2020-01-07 13:39:38 UTC
What's the output of `apt policy libkf5grantleetheme-plugins` on neon?
And who confirmed this bug?

As far as I can tell this could still be a packaging issue on neon as well, specifically one could uninstall the plugin manually as it is only a recommended not required dependency. Should it be required?
Comment 12 Michal Kec (MiK) 2020-01-07 17:13:03 UTC
Hello Harald!
Output of `apt policy libkf5grantleetheme-plugins` is:
libkf5grantleetheme-plugins:
  Instalovaná verze: (žádná)
  Kandidát:          19.12.0-0xneon+18.04+bionic+build26
  Tabulka verzí:
     19.12.0-0xneon+18.04+bionic+build26 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
     19.08.3-0xneon+18.04+bionic+build25 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
     19.08.3-0xneon+18.04+bionic+build24 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
     19.08.3-0xneon+18.04+bionic+build23 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
     19.08.2-0xneon+18.04+bionic+build22 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
     19.08.0-0xneon+18.04+bionic+build20 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
     19.04.3-0xneon+18.04+bionic+build19 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
     17.12.3-0ubuntu1 500
        500 http://cz.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages


Since the package libkf5grantleetheme-plugins is manually installed, Kaddressbook works perfectly. Thus I believe the package should be set as a required dependency.
Comment 13 Harald Sitter 2020-01-08 12:36:15 UTC
Sandro, what's your thinking on this? In debian the only relationship chain is 

kaddressbook -> depends libkf5grantleetheme5 -> recommends libkf5grantleetheme-plugins

and as a result a user could uninstall the plugins when that seems entirely disadvantageous.