Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1794594 - Plasma System Settings 5.17.90 Online Accounts QML error involving 'module "Ubuntu.OnlineAccounts" is not installed'
Summary: Plasma System Settings 5.17.90 Online Accounts QML error involving 'module "U...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kaccounts-integration
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1800959 (view as bug list)
Depends On: accounts-qml-module
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-23 22:50 UTC by Matt Fagnani
Modified: 2020-06-23 01:19 UTC (History)
10 users (show)

Fixed In Version: kaccounts-integration-20.04.1-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-23 01:19:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2020-01-23 22:50:07 UTC
Description of problem:

I started Plasma 5.17.90 on Wayland in the Fedora Rawhide KDE Plasma spin. I ran Plasma System Settings. I selected Online Accounts on the left side, and the following error was shown.

Error loading QML file.
file:///usr/share/kpackage/kcms/kcm_kaccounts/contents/ui/Accounts.qml:31 module "Ubuntu.OnlineAccounts" is not installed

The Online Accounts screen wasn't shown correctly as a result of the error.

Version-Release number of selected component (if applicable):
plasma-systemsettings-5.17.90-1.fc32.x86_64
kf5-kded-5.66.0-1.fc32.x86_64
qt5-qtbase-5.13.2-2.fc32.x86_64

How reproducible:
The errors occurred each of a few times I've clicked on Online Accounts in System Settings.

Steps to Reproduce:
1. Boot Rawhide KDE Plasma spin, fully updated, with kwin-wayland, plasma-workspace-wayland, and their dependencies installed.
2. Login to Plasma 5.17.90 on Wayland
3. Start Plasma System Settings
4. Select Online Accounts

Actual results:
Plasma System Settings 5.17.90 Online Accounts QML error involving 'module "Ubuntu.OnlineAccounts" is not installed'

Expected results:
The Online Accounts screen would appear normally.

Additional info:

/usr/share/kpackage/kcms/kcm_kaccounts/contents/ui/Accounts.qml:31 is
import Ubuntu.OnlineAccounts 0.1 as OA

When I ran kcmshell5 kcm_kaccounts as in the report at https://bugs.kde.org/show_bug.cgi?id=414674, I got the following output in konsole and the same QML error in the Online Account - System Settings module program as above.

kcmshell5 kcm_kaccounts
org.kde.kcoreaddons: Error loading plugin "kcm_kaccounts" "The shared library was not found." 
Plugin search paths are ("/usr/lib64/qt5/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
"file:///usr/share/kpackage/kcms/kcm_kaccounts/contents/ui/Accounts.qml" 
 "Error loading QML file.\n31: module \"Ubuntu.OnlineAccounts\" is not installed\n"

The kcm_kaccounts or Ubuntu.OnlineAccounts module could be added to an appropriate rpm in Fedora to address these errors.

Comment 1 Guillem Liarte 2020-02-09 16:47:54 UTC
I did not find you bug report earlier. I file this one, which I believe it is essentially the same:
https://bugzilla.redhat.com/show_bug.cgi?id=1800959

Comment 2 Rex Dieter 2020-02-11 15:08:48 UTC
*** Bug 1800959 has been marked as a duplicate of this bug. ***

Comment 3 Rex Dieter 2020-02-11 15:37:02 UTC
accounts-qml-module pkg  submitted for review in bug #1801765

Comment 4 Ben Cotton 2020-02-11 16:30:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 5 İlker Özüpak 2020-02-12 10:29:25 UTC
(In reply to Ben Cotton from comment #4)
> This bug appears to have been reported against 'rawhide' during the Fedora
> 32 development cycle.
> Changing version to 32.

same problem occurs also on fedora 31 kde plasma spin

[ilker@cobra ~]$ kcmshell5 kcm_kaccounts
org.kde.kcoreaddons: Error loading plugin "kcm_kaccounts" "The shared library was not found." 
Plugin search paths are ("/usr/lib64/qt5/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
"file:///usr/share/kpackage/kcms/kcm_kaccounts/contents/ui/Accounts.qml" 
 "Error loading QML file.\n31: module \"Ubuntu.OnlineAccounts\" is not installed\n"
[ilker@cobra ~]$ uname -a
Linux cobra 5.4.17-200.fc31.x86_64 #1 SMP Sat Feb 1 19:00:13 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[ilker@cobra ~]$ cat /etc/fedora-release 
Fedora release 31 (Thirty One)
[ilker@cobra ~]$ rpm -qa | grep kded
kf5-kded-5.66.0-1.fc31.x86_64
[ilker@cobra ~]$ rpm -qa | grep accounts
kaccounts-providers-19.12.1-2.fc31.x86_64
libaccounts-qt5-1.15-8.fc31.x86_64
accountsservice-0.6.55-1.fc31.x86_64
libaccounts-glib-1.23-8.fc31.x86_64
kaccounts-integration-19.12.1-1.fc31.x86_64
[ilker@cobra ~]$

Comment 6 Matt Fagnani 2020-02-14 00:48:37 UTC
I installed accounts-qml-module-0.7-1.fc32 with sudo dnf install https://kojipkgs.fedoraproject.org//packages/accounts-qml-module/0.7/1.fc32/x86_64/accounts-qml-module-0.7-1.fc32.x86_64.rpm The Online Accounts screen of System Settings 5.18.0 didn't have the error any longer, and there were the normal buttons like Help, Defaults, Reset, Apply at the bottom. There were no account providers listed in the main part of the screen which was blank. Clicking on Add new account didn't show any account providers either. Do the account providers need to be loaded from somewhere else?

I ran sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/kaccounts-integration/19.12.2/2.fc32/x86_64/kaccounts-integration-19.12.2-2.fc32.x86_64.rpm which gave the error 

Problem: cannot install the best update candidate for package kaccounts-integration-19.12.2-1.fc32.x86_64
  - nothing provides acounts-qml-module(x86-64) needed by kaccounts-integration-19.12.2-2.fc32.x86_64

kaccounts-integration-19.12.2-2.fc32.x86_64 had Requires: acounts-qml-module(x86-64) with one c instead of two.
https://koji.fedoraproject.org/koji/rpminfo?rpmID=20546022

Comment 7 Rex Dieter 2020-02-14 19:21:37 UTC
If you want more stuff listed there, then install at least kaccounts-providers, or better yet, all of @kde-telepathy group

Comment 8 Rex Dieter 2020-02-14 19:24:44 UTC
Since that kcm is provided by kaccounts-integration, which is pulled in by kf5-purpose (and anything that also depends on kf5-purpose), we may have to consider adding a dependency to kaccounts-providers ... somewhere.

Comment 9 İlker Özüpak 2020-02-17 10:54:55 UTC
installing accounts-qml-module-0.7-1.fc32.x86_64.rpm solved

"file:///usr/share/kpackage/kcms/kcm_kaccounts/contents/ui/Accounts.qml" 
 "Error loading QML file.\n31: module \"Ubuntu.OnlineAccounts\" is not installed\n"


error on fedora 31

https://src.fedoraproject.org/rpms/accounts-qml-module

this page does not list a release for Fedora 31 so I downloaded release for fedora 32

after installing package online accounts module start without the error and lists google 
and ownCloud as accounts that could be added

Comment 10 Fedora Update System 2020-06-13 15:23:48 UTC
FEDORA-2020-659237bffa has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-659237bffa

Comment 11 Bernie Innocenti 2020-06-13 17:46:13 UTC
This update fixed the issue. Thanks.

(I still don't see it in the updates-testing repo, so I grabbed the rpms from koji)

Comment 12 Fedora Update System 2020-06-21 17:58:28 UTC
FEDORA-2020-659237bffa has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-659237bffa

Comment 13 Fedora Update System 2020-06-23 01:19:42 UTC
FEDORA-2020-659237bffa has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.