No such method setClockScale

Martin West amartinwest at gmail.com
Sat Nov 27 17:58:58 GMT 2021


Just installed the Mac 3.5.7 beta, couldnt find a stable version of 3.5.6

Ran through the scripting tutorial and when I ran it got …

bash ~/Documents/Kstars/TrackMoon.kstars 
method return time=1638033232.144043 sender=:1.1 -> destination=:1.16 serial=29 reply_serial=2
method return time=1638033232.212346 sender=:1.1 -> destination=:1.17 serial=30 reply_serial=2
Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'setClockScale' in interface 'org.kde.kstars.SimClock' at object path '/KStars/SimClock' (signature 'd')


method return time=1638033252.290102 sender=:1.1 -> destination=:1.19 serial=32 reply_serial=2
Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'setClockScale' in interface 'org.kde.kstars.SimClock' at object path '/KStars/SimClock' (signature 'd’)

================ track moon ================
#!/bin/bash
#KStars DBus script: TrackMoon
#by Demo
#last modified: 2021-11-27T16:31:42
#
dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.changeViewOption string:"UseAltAz" string:"false"
dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.lookTowards string:"Moon"
dbus-send --dest=org.kde.kstars --print-reply /KStars/SimClock org.kde.kstars.SimClock.setClockScale double:10800
dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.waitFor double:20
dbus-send --dest=org.kde.kstars --print-reply /KStars/SimClock org.kde.kstars.SimClock.setClockScale double:1
##
========================================

Also when I restarted KStars and open the script it was missing the last two lines in the script tool.

regards Martin West
skype:amartinwest
mob:07525424513





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20211127/46429a32/attachment.htm>


More information about the Kstars-devel mailing list