Error message trying to communicate with KStars on macOS
hans at lambermont.dyndns.org
hans at lambermont.dyndns.org
Wed Oct 9 22:35:16 BST 2024
Hi Paul,
While I do not have a Mac,
Paul Rodman wrote on 20241009:
> I'm trying to communicate with KStars on macOS using the dbus-send app embedded in the macOS KStars application bundle. When I try and send a command using a terminal shell command:
>
> /Applications/kstars.app/Contents/MacOS/dbus-send --system --print-reply --dest=org.kde.kstars /KStars org.kde.kstars.setTracking boolean:true
Try without the --system as when I add that it does not work for me either :
dbus-send --system --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.lookTowards string:"M 51"
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kstars was not provided by any .service files
while without it it works :
dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.lookTowards string:"M 51"
method return time=1728509575.541906 sender=:1.717 -> destination=:1.721 serial=43 reply_serial=2
Though all this might still be unrelated to the error message you get.
-- Hans
> I get this message:
>
> Failed to open connection to "system" message bus: Socket name too long
>
> What am I doing wrong? How can I determine the "socket name" to figure out why it might be too long?
>
> Any help appreciated.
>
> Paul
More information about the Kstars-devel
mailing list