Hey,

when I try to install pyindi-client on my stellarmate, I run into this error:

    /usr/bin/ld: -lz kann nicht gefunden werden
    /usr/bin/ld: -lcfitsio kann nicht gefunden werden
    /usr/bin/ld: -lnova kann nicht gefunden werden
    collect2: error: ld returned 1 exit status
    error: command 'arm-linux-gnueabihf-g++' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-kku6gmma/pyindi-client/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-y_as7ngo/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-kku6gmma/pyindi-client/

I tried a few things already, but nothing has worked for me yet. (g++ version is 8.3.0 btw)
Thanks for your help,
Matti

Read More...

Matti replied to the topic 'INDI DBUS Error: Service Unknown' in the forum. 2 years ago

Yes thanks a lot! I seemed to have missed this somewhere.

Read More...

Matti created a new topic ' INDI DBUS Error: Service Unknown' in the forum. 2 years ago

Hi,

I have a Starlight Xpress all sky camera which is running with a python script right now on a windows computer. So, at the moment I am using ASCOM protocol in python to control the camera. However, INDI Dbus scripting seems like a good way to have it run on my stellarmate. I started with the example script indibus.py and it should run without errors when I dont change anything, right? However when I run it this error shows:

runfile('/home/stellarmate/Downloads/indidbus.py', wdir='/home/stellarmate/Downloads')
/home/stellarmate/Downloads/indidbus.py:12: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:

    from dbus.mainloop.glib import DBusGMainLoop

    DBusGMainLoop(set_as_default=True)

  from dbus import glib
Traceback (most recent call last):

  File "<ipython-input-1-857853e33ddf>", line 1, in <module>
    runfile('/home/stellarmate/Downloads/indidbus.py', wdir='/home/stellarmate/Downloads')

  File "/usr/lib/python2.7/dist-packages/spyder_kernels/customize/spydercustomize.py", line 678, in runfile
    execfile(filename, namespace)

  File "/usr/lib/python2.7/dist-packages/spyder_kernels/customize/spydercustomize.py", line 98, in execfile
    builtins.execfile(filename, *where)

  File "/home/stellarmate/Downloads/indidbus.py", line 21, in <module>
    "/KStars/INDI" # Object's path

  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)

  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)

  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)

  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))

  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)

DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kstars was not provided by any .service files

Is there anything I still have to change in the example script or anything else I do wrong possibly?

Thanks in advance for your time and help,

Matti

Read More...