×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

first steps of a newbie

  • Posts: 454
  • Thank you received: 51
Hello all, here is Patrick from Gaillac France

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 ?

Does somebody can tell me ?

Thanks
Last edit: 8 years 8 months ago by Patrick.
8 years 8 months ago #4549

Please Log in or Create an account to join the conversation.

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 .
8 years 8 months ago #4556

Please Log in or Create an account to join the conversation.

  • Posts: 454
  • Thank you received: 51

Replied by Patrick on topic first steps of a newbie

Hello,

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.
8 years 8 months ago #4558

Please Log in or Create an account to join the conversation.

Not necessarily as the DBus interface was a later addition. If you're using my PPA for kstars-bleeding then you should get the update today.
8 years 8 months ago #4559

Please Log in or Create an account to join the conversation.

  • Posts: 454
  • Thank you received: 51

Replied by Patrick on topic first steps of a newbie

:(
I can't update kstars-bleeding. the apt-get update return a unknown url

Then apt-get install fail to install kstars-bleeding.

W: Impossible de récupérer ppa.launchpad.net/kubuntu-ci/unstable-da...inary-amd64/Packages 404 Not Found

W: Impossible de récupérer ppa.launchpad.net/kubuntu-ci/unstable-da...binary-i386/Packages 404 Not Found

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:~$
8 years 8 months ago #4560

Please Log in or Create an account to join the conversation.

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.
8 years 8 months ago #4561

Please Log in or Create an account to join the conversation.

  • Posts: 454
  • Thank you received: 51

Replied by Patrick on topic first steps of a newbie

:(

I am on ubuntu 14.04LTS

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"

Maybe a ppa is missing but I don't see which one.
8 years 8 months ago #4562

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 104
You need to add Jasem ppa: launchpad.net/~mutlaqja/+archive/ubuntu/ppa
But to use kstars-bleeding you also need to upgrade your ubuntu to 15.04.
The following user(s) said Thank You: Patrick
8 years 8 months ago #4564

Please Log in or Create an account to join the conversation.

kubuntu-ci is only for 14.10. To get everything working you need 15.04 as pch said.
8 years 8 months ago #4565

Please Log in or Create an account to join the conversation.

  • Posts: 454
  • Thank you received: 51

Replied by Patrick on topic first steps of a newbie

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.
Last edit: 8 years 8 months ago by Patrick.
8 years 8 months ago #4568

Please Log in or Create an account to join the conversation.

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 .
8 years 8 months ago #4570

Please Log in or Create an account to join the conversation.

Time to create page: 0.525 seconds