I am a newcomer on this forum. I am very interested in developing some light applications around INDI. Those applications will be scripted in python. The goal is to have a toolbox on a odroid device.
So, as all beginners I tried directly to test the python interface with the example which is in "DBUS Scripting with KStars & Python".
After starting Kstars I launched the script and get the following message
ERROR:dbus.proxies:Introspect error on :1.269:/KStars/INDI: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: No such object path '/KStars/INDI'
I don't understand what I have done wrong.
A subsidiary question: is it necessary to start Kstars, is it possible to start only the indiserver ?
Are you using kstars-bleeding? Previous versions of KStars do not have an INDI interface. I also found a small issue and fixed it, so tomorrow PPA update should work flawlessly with the DBus INDI interface. There is also a "high" level Ekos DBus interface but I didn't write a tutorial on it yet, but it's already documented in
KStars API
.
The fact that I can launch Ekos from KStars with a connection to my mount which works let me think that I have the right version of KStars.
I will do an update and see if the problem remains.
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
albireo-Latitude-E6230:~$ sudo apt-get install kstars-bleeding
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet kstars-bleeding
albireo-Latitude-E6230:~$
kubunci-ci is no longer usable, the Kubuntu team stopped supporting it, why are you using it? What distribution are you running? Simple remove kubuntu-ci PPA /etc/apt/sources.list.d/ then run update again.
I removed kubuntu-ci. Make an update and try to install kstars-bleeding
sudo apt-get install kstars-bleeding
and get the same message
sudo apt-get install kstars-bleeding
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet kstars-bleeding
which is in english " unable to find the package kstars-bleeding"
After a night and a day to install ubuntu 14.10 then 15.04 on my laptop I succeed to make the python script works.
But the goal is to make it works on a odroid-c1.
And 15.04 is not available on this device.
Too bad that you developed the DBus on this freshly new version of ubuntu.
Hope that 15.04 will come very soon on odroid-c1.
I wouldn't recommend installing kstars on an Odriod/Raspberry PI, just INDI is enough. Install KStars-bleeding on the primary computer you use to connect to Odriod/RPI. You can also directly script INDI using the
INDI scripting tools
.