While trying to open PDF files on my drive I get this error message: Could not open gdrive:/xx.xx@xx.xx.xx/05-cap03b.pdf?id=1_I-aOCrWnhw3Jy85qpGHwPPyFSj88qv6. Reason: Could not start process Unable to create io-slave: klauncher said: Unknown protocol 'gdrive'. . (I omitted my e-mail with xx...) I've installed kio-gdrive by downloading .deb from http://archive.neon.kde.org/dev/stable/pool/main/k/kio-gdrive/kio-gdrive_1.2.1+p16.04+git20171009.1516-0_amd64.deb I've also installed the dependencies that were on Debian experimental, unstable, and testing repositories. I can connect to my Drive and open files with kate, gwenview, libreofffice, and even FoxitReader (other PDF viewer), but Okular does not work.
Please run 'kdeinit5' in Konsole and try again. Then copy-paste here the output of kdeinit5.
The result was the same. The output of kdeinit5 was: rubens@vaio:~$ kdeinit5 kdeinit5: Shutting down running client. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher' kdeinit5: Launched KLauncher, pid = 2444, result = 0 Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdeinit5: opened connection to :0 rubens@vaio:~$ kdeinit5: Got EXT_EXEC '/usr/bin/okular' from launcher. kdeinit5: preparing to launch '/usr/bin/okular' (okular:2483): Gtk-WARNING **: Não foi possível localizar a ferramenta de temas no module_path: "adwaita", (okular:2483): Gtk-WARNING **: Não foi possível localizar a ferramenta de temas no module_path: "adwaita", okular(2483)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2483)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2483)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2483)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2483): couldn't create slave: "Unable to create io-slave: klauncher said: Protocolo desconhecido 'gdrive'. " kdeinit5: PID 2483 terminated.
Looks like your okular is from KDE4. Is that correct?
Yes. I had not noticed that until you said it. This is the version 0.26.1, which uses KDE 4.14.36 libraries. It is the default version in Debian stable/testing repositories. I have just installed the version 1.2.3 from Debian unstable repository, which uses KDE 5.37 libraries, and the Google Drive files are opening successfully. Thank you very much! I hope this helps to solve the issue for other people too.