Kio-gdrive not working in Manjaro KDE

Hi,

I just installed manjaro KDE edition, updated all the packages, installed manually kio-gdrive, and set up my google account in online accounts settings.

When I try to open my google drive folder from Dolphin I get this error:
Unable to create io-slave. klauncher said: Error loading ‘/usr/lib/qt/plugins/kf5/kio/gdrive.so’.

I searched google for a solution for this issue and I tried many ways but still the same error occur.

Can you help me?

Did you log out and back in ?

yes, and I tried to reboot the machine, reinstall the kio-gdrive, and re-setup online account.

But still the same error

Trying to replicate your problem (Manjaro KDE Testing, pretty vanilla):

Step 1: Install via Octopi (run in terminal):

resolving dependencies...
looking for conflicting packages...

Packages (4) kcalcore-18.12.0-1  kcontacts-18.12.0-1  libkgapi-18.12.0-1
             kio-gdrive-1.2.5-1

Total Download Size:   1.26 MiB
Total Installed Size:  5.79 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 kcalcore-18.12.0-1-...   288.1 KiB  1236K/s 00:00 [###################] 100%
 kcontacts-18.12.0-1...   445.6 KiB  1380K/s 00:00 [###################] 100%
 libkgapi-18.12.0-1-...   467.2 KiB  1442K/s 00:00 [###################] 100%
 kio-gdrive-1.2.5-1-...    85.9 KiB  1620K/s 00:00 [###################] 100%
(4/4) checking keys in keyring                     [###################] 100%
(4/4) checking package integrity                   [###################] 100%
(4/4) loading package files                        [###################] 100%
(4/4) checking for file conflicts                  [###################] 100%
(4/4) checking available disk space                [###################] 100%
:: Processing package changes...
(1/4) installing kcalcore                          [###################] 100%
(2/4) installing kcontacts                         [###################] 100%
(3/4) installing libkgapi                          [###################] 100%
(4/4) installing kio-gdrive                        [###################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Press any key to continue...

Step 2: System Settings > Online Accounts > +Create > Google > Authenticate > Select Account (You may not get this, but I have a brand account) > Allow All Accesses requested > Click OK.

Step 3: Reboot

Step 4: Open Dolphin > Network (under Remote) > Google Drive > YourGoogleID and I see my GDrive files.

I did the following:

  1. remove my google account from online accounts.

  2. remove kio-gdrive using Octopi.

  3. Install kio-gdrive again using Octopi (run in terminal)

resolving dependencies...
error: could not open file /var/lib/pacman/local/libnm-glib-1.14.5dev+17+gba83251bb-1/desc: No such file or directory
looking for conflicting packages...

Packages (8) kcalcore-18.12.0-1  kcontacts-18.12.0-1  libkgapi-18.12.0-1
             minizip-1:1.2.11-3  qt5-webengine-5.12.0-1  re2-20181001-1
             snappy-1.1.7-1  kio-gdrive-1.2.5-1

Total Installed Size:  139.39 MiB

:: Proceed with installation? [Y/n] Y
(8/8) checking keys in keyring                     [###################] 100%
(8/8) checking package integrity                   [###################] 100%
(8/8) loading package files                        [###################] 100%
(8/8) checking for file conflicts                  [###################] 100%
(8/8) checking available disk space                [###################] 100%
:: Processing package changes...
(1/8) installing kcalcore                          [###################] 100%
(2/8) installing kcontacts                         [###################] 100%
(3/8) installing snappy                            [###################] 100%
(4/8) installing minizip                           [###################] 100%
(5/8) installing re2                               [###################] 100%
(6/8) installing qt5-webengine                     [###################] 100%
(7/8) installing libkgapi                          [###################] 100%
(8/8) installing kio-gdrive                        [###################] 100%
ldconfig: File /usr/lib/libQtMultimedia.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libQtTest.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libQtXml.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libnm-util.so.2.7.0 is empty, not checked.
ldconfig: File /usr/lib/libnm-glib-vpn.so.1 is empty, not checked.
ldconfig: File /usr/lib/libQtSvg.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libevent.so is empty, not checked.
ldconfig: File /usr/lib/libQtScriptTools.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libQtMultimedia.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libevent_extra.so is empty, not checked.
ldconfig: File /usr/lib/libQtScriptTools.so is empty, not checked.
ldconfig: File /usr/lib/libKF5Sane.so.5.37.0 is empty, not checked.
ldconfig: File /usr/lib/libevent_openssl.so is empty, not checked.
ldconfig: File /usr/lib/libQtScriptTools.so.4 is empty, not checked.
ldconfig: File /usr/lib/libixion-0.14.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libQtSvg.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libQtScriptTools.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libQtSql.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libQtSvg.so.4 is empty, not checked.
ldconfig: File /usr/lib/libQtMultimedia.so.4 is empty, not checked.
ldconfig: File /usr/lib/libnm-util.so.2 is empty, not checked.
ldconfig: File /usr/lib/libQtHelp.so.4 is empty, not checked.
ldconfig: File /usr/lib/libevent_core.so is empty, not checked.
ldconfig: File /usr/lib/libevent_pthreads-2.1.so.6 is empty, not checked.
ldconfig: File /usr/lib/libnm-glib-vpn.so is empty, not checked.
ldconfig: File /usr/lib/libQtXml.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libmspub-0.1.so.1 is empty, not checked.
ldconfig: File /usr/lib/libixion-0.14.so is empty, not checked.
ldconfig: File /usr/lib/libQtXmlPatterns.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libQtGui.so is empty, not checked.
ldconfig: File /usr/lib/libQtTest.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libQtScript.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libevent_pthreads-2.1.so.6.0.2 is empty, not checked.
ldconfig: File /usr/lib/libdbusmenu-qt.so is empty, not checked.
ldconfig: File /usr/lib/libevent-2.1.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQtDesignerComponents.so.4 is empty, not checked.
ldconfig: File /usr/lib/libevent_pthreads.so is empty, not checked.
ldconfig: File /usr/lib/libQtMultimedia.so is empty, not checked.
ldconfig: File /usr/lib/libmspub-0.1.so is empty, not checked.
ldconfig: File /usr/lib/libevent-2.1.so.6.0.2 is empty, not checked.
ldconfig: File /usr/lib/libQtOpenGL.so.4 is empty, not checked.
ldconfig: File /usr/lib/libevent_extra-2.1.so.6.0.2 is empty, not checked.
ldconfig: File /usr/lib/libQtScript.so is empty, not checked.
ldconfig: File /usr/lib/libevent_core-2.1.so.6 is empty, not checked.
ldconfig: File /usr/lib/liblangtag.so.1.4.1 is empty, not checked.
ldconfig: File /usr/lib/libevent_core-2.1.so.6.0.2 is empty, not checked.
ldconfig: File /usr/lib/libnm.so is empty, not checked.
ldconfig: File /usr/lib/libnm-util.so is empty, not checked.
ldconfig: File /usr/lib/libnm.so.0 is empty, not checked.
ldconfig: File /usr/lib/libQtNetwork.so.4 is empty, not checked.
ldconfig: File /usr/lib/libQtSvg.so is empty, not checked.
ldconfig: File /usr/lib/liblangtag.so.1 is empty, not checked.
ldconfig: File /usr/lib/libQtNetwork.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libKF5Sane.so is empty, not checked.
ldconfig: File /usr/lib/libQtXmlPatterns.so is empty, not checked.
ldconfig: File /usr/lib/libe-book-0.1.so is empty, not checked.
ldconfig: File /usr/lib/libQtSql.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libnm-glib.so.4.9.0 is empty, not checked.
ldconfig: File /usr/lib/liblangtag.so is empty, not checked.
ldconfig: File /usr/lib/libQtXmlPatterns.so.4 is empty, not checked.
ldconfig: File /usr/lib/libe-book-0.1.so.1.0.3 is empty, not checked.
ldconfig: File /usr/lib/libQtScript.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libevent_openssl-2.1.so.6.0.2 is empty, not checked.
ldconfig: File /usr/lib/libQtSql.so is empty, not checked.
ldconfig: File /usr/lib/libixion-0.14.so.0 is empty, not checked.
ldconfig: File /usr/lib/libQtHelp.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libQtDesignerComponents.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libdbusmenu-qt.so.2.6.0 is empty, not checked.
ldconfig: File /usr/lib/libQtOpenGL.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libnm.so.0.1.0 is empty, not checked.
ldconfig: File /usr/lib/libQtHelp.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libQtNetwork.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libnm-glib.so.4 is empty, not checked.
ldconfig: File /usr/lib/libQtXml.so.4 is empty, not checked.
ldconfig: File /usr/lib/libQtGui.so.4 is empty, not checked.
ldconfig: File /usr/lib/libQtNetwork.so is empty, not checked.
ldconfig: File /usr/lib/libQtOpenGL.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libQtGui.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libQtSql.so.4 is empty, not checked.
ldconfig: File /usr/lib/libQtXmlPatterns.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/liblangtag-gobject.so.0 is empty, not checked.
ldconfig: File /usr/lib/libdbusmenu-qt.so.2 is empty, not checked.
ldconfig: File /usr/lib/libe-book-0.1.so.1 is empty, not checked.
ldconfig: File /usr/lib/libmspub-0.1.so.1.0.4 is empty, not checked.
ldconfig: File /usr/lib/libKF5Sane.so.5 is empty, not checked.
ldconfig: File /usr/lib/libQtScript.so.4 is empty, not checked.
ldconfig: File /usr/lib/libQtTest.so is empty, not checked.
ldconfig: File /usr/lib/libQtDesignerComponents.so.4.8 is empty, not checked.
ldconfig: File /usr/lib/libQtXml.so is empty, not checked.
ldconfig: File /usr/lib/libQtGui.so.4.8.7 is empty, not checked.
ldconfig: File /usr/lib/libQtHelp.so is empty, not checked.
ldconfig: File /usr/lib/libQtTest.so.4 is empty, not checked.
ldconfig: File /usr/lib/libnm-glib.so is empty, not checked.
ldconfig: File /usr/lib/libevent_openssl-2.1.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQtOpenGL.so is empty, not checked.
ldconfig: File /usr/lib/liblangtag-gobject.so is empty, not checked.
ldconfig: File /usr/lib/libQtDesignerComponents.so is empty, not checked.
ldconfig: File /usr/lib/libnm-glib-vpn.so.1.2.0 is empty, not checked.
ldconfig: File /usr/lib/liblangtag-gobject.so.0.3.0 is empty, not checked.
ldconfig: File /usr/lib/libevent_extra-2.1.so.6 is empty, not checked.
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Press any key to continue...

  1. setup my google account in online acconts and allow the requested access.

  2. reboot.

  3. Open dolphin > network > google drive, and I get this again:

I just did a new Manjaro install on one of my machines with KDE. Installed kio-gdrive and everything works normally in Dolphin too

Close it and then if you run from terminal:
dbus-launch dolphin
what gives by accessing the google drive?

I closed it then run this command from the terminal:
dbus-launch dolphin

New dolphin window appeared, and the same error happen when I choose google drive.

Did you perform valid system update?? :> What about missed files :>

I used this command to update the system, the results that showed if I run it now:

pacman -Syu

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do

Is this the correct way to update the system or you have better way?

And about the missing files that showed in this error:

error: could not open file /var/lib/pacman/local/libnm-glib-1.14.5dev+17+gba83251bb-1/desc: No such file or directory

I solved the issue and its not occurring now, and also I tried to reinstall kio-gdrvie after I solve this issue but still the same problem

Rebuild manually against current KF5 and QT5 libs

# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=kio-gdrive
pkgver=1.2.5
pkgrel=1
arch=(x86_64)
pkgdesc="KIO Slave to access Google Drive"
url="https://community.kde.org/KIO_GDrive"
license=(GPL)
depends=(libkgapi kaccounts-providers)
makedepends=(extra-cmake-modules kdesignerplugin kdoctools intltool)
source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz)
sha256sums=('1523c87f3f679cecbef0a2158a133f84379a0b276000c0233c34041b9c14d605')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake ../$pkgname-$pkgver \
   -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package(){
  cd build
  make DESTDIR="$pkgdir" install
}

save this code as PKGBUILD in some dir.
Run in this dir:

makepkg -srci

Reboot.

Thank you for your effort I really appreciate it, I created the PKGBUILD, run it, and reboot the machine but still the same problem :frowning:

I don’t know if this will help, but I noticed that the same error is appeared also if there is no google account in the online accounts settings.

Try using kio-gdrive with test user.
See if problem persists.
Sometimes it happens and changing user is a way to see, if problem is limited only to you.
As it’s not package which is at fault.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by Bytemark