You are not logged in.

#1 2023-03-19 14:40

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 606

QDBusError

Hi,


I'm using Gemini 4.11 / Plasma. I have access to WhatsApp on my computer via web.whatsappp.com, which works well.
I have written a short python 3 script using the pywhatkit package to send WhatsApp messages.
The problem is that when I run my script, it opens my browser (Firefox) or a new tab, and I get a series of error / warning messages in the console (phone number hidden):

command= "/opt/firefox/firefox" args= ("/opt/firefox/firefox", "https://web.whatsapp.com/send?phone=+***********&text=Message.")
Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files")
kf.kio.core: Protocol Class of url QUrl("https://web.whatsapp.com/send?phone=++***********&text=Message.") , isn't ':local', cancelling job.
Copying QUrl("https://web.whatsapp.com/send?phone=+***********&text=Message.")  to QUrl("file:///home/laurent/.cachekde/kioexec/krun/4029_0/send")
Telling kioexecd to watch path "/home/laurent/.cachekde/kioexec/krun/4029_0/send" dest "https://web.whatsapp.com/send?phone=+***********&text=Message."
All files downloaded, will call slotRunApp shortly
EXEC "/opt/firefox/firefox /home/laurent/.cachekde/kioexec/krun/4029_0/send"
EXEC done

Firefox opens the local page (/home/laurent/.cachekde/kioexec/krun/4029_0/send) instead of whatsapp. That page says to upgrade Safari, which is not installed, or to use Chrome, Firefox (which I am using) or Opera.

Any help would be appreciated.

Thanks for reading.

Last edited by hchiper (2023-03-19 23:56)


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#2 2023-03-20 11:24

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,807
Website

Re: QDBusError

Frome the log:
"The name org.kde.kuiserver was not provided by any .service files"

File "org.kde.kuiserver" is not part of any package in stable Debian Bullseye, but it's part of "kde-runtime-bin" what is in the old stable Debian Buster. So we would guess the script uses some older library incompatible with Debian Bullseye.

Offline

#3 2023-03-20 13:22

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 606

Re: QDBusError

Thanks for your response.
I've opened an issue on pywhatkit's github.


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

Board footer

Powered by FluxBB