<div dir="ltr">There are actually a couple more DBus functions that are not in the XML file as well. I added setNow to the SimClock and DBus interface, please re-compile from GIT.<div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>--</div><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 1, 2021 at 8:27 PM Martin West <<a href="mailto:amartinwest@gmail.com" target="_blank">amartinwest@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>I installed kstars on ubuntu 21 and tried again got a lot of these errors when I ran it</div><div><br></div><div><div> </div><div>andrew@ubuntu-21:~$ org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.AccessDenied" </div><div> "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.56353\" (uid=1000 pid=218933 comm=\"kstars \" label=\"snap.kstars.kstars (enforce)\") interface=\"org.freedesktop.DBus.Introspectable\" member=\"Introspect\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.UDisks2\" (uid=0 pid=807 comm=\"/usr/libexec/udisks2/udisksd \" label=\"unconfined\")"</div><div>org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.AccessDenied" </div></div><div><br></div><div>but it did run of sorts, the example is missing a start clock and stop clock</div><div><br></div><div>————————————————————————— </div><div><br></div><div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">#!/bin/bash</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">#KStars DBus script: trackMoon</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">#by Demo</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">#last modified: 2021-12-01T15:37:43</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">#</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.changeViewOption string:"UseAltAz" string:"false"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.lookTowards string:"Moon"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.setTracking boolean:true</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.waitForKey string:"space"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.zoomIn</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars/SimClock org.kde.kstars.SimClock.setClockScale double:10800</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars/SimClock org.kde.kstars.SimClock.start</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.waitFor double:20</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars/SimClock org.kde.kstars.SimClock.setClockScale double:1</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars/SimClock org.kde.kstars.SimClock.stop</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.zoomOut</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">##</span></div></div><div><div>————————————————————————— </div></div><div><br></div><div>Would be nice if there was a command to set the clock to ’now’</div><div><br></div><div>Also there was this error</div><div><br></div><div><div>kf5.kio.kio_tags: tag fetch failed: "Failed to open the database"</div><div>kf5.kio.kio_tags: "tags:/" list() invalid url</div><div>kf5.kio.core: Invalid URL: QUrl("/home/andrew/snap/kstars/46"</div></div><div><br></div><br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>regards Martin West</div><div><a>skype:amartinwest</a></div><div>mob:07525424513</div><div><br></div></div><br></div><br><br>
</div>
<div><br><blockquote type="cite"><div>On 27 Nov 2021, at 17:58, Martin West <<a href="mailto:amartinwest@gmail.com" target="_blank">amartinwest@gmail.com</a>> wrote:</div><br><div><div><div>Just installed the Mac 3.5.7 beta, couldnt find a stable version of 3.5.6</div><div><br></div><div>Ran through the scripting tutorial and when I ran it got …</div><div><br></div><div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">bash ~/Documents/Kstars/TrackMoon.kstars </span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">method return time=1638033232.144043 sender=:1.1 -> destination=:1.16 serial=29 reply_serial=2</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">method return time=1638033232.212346 sender=:1.1 -> destination=:1.17 serial=30 reply_serial=2</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'setClockScale' in interface 'org.kde.kstars.SimClock' at object path '/KStars/SimClock' (signature 'd')</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco;min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">method return time=1638033252.290102 sender=:1.1 -> destination=:1.19 serial=32 reply_serial=2</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'setClockScale' in interface 'org.kde.kstars.SimClock' at object path '/KStars/SimClock' (signature 'd’)</span></div></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">================ track moon ================</span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures"><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">#!/bin/bash</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">#KStars DBus script: TrackMoon</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">#by Demo</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">#last modified: 2021-11-27T16:31:42</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">#</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.changeViewOption string:"UseAltAz" string:"false"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.lookTowards string:"Moon"</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars/SimClock org.kde.kstars.SimClock.setClockScale double:10800</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars org.kde.kstars.waitFor double:20</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">dbus-send --dest=org.kde.kstars --print-reply /KStars/SimClock org.kde.kstars.SimClock.setClockScale double:1</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">##</span></div><div><span style="font-variant-ligatures:no-common-ligatures">========================================</span></div></span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;line-height:normal;font-family:Monaco"><span style="font-variant-ligatures:no-common-ligatures">Also when I restarted KStars and open the script it was missing the last two lines in the script tool.</span></div><br><div>
<div style="font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>regards Martin West</div><div><a>skype:amartinwest</a></div><div>mob:07525424513</div><div><br></div></div><br></div><br><br>
</div>
<br></div></div></blockquote></div><br></div></blockquote></div>