GithubHelp home page GithubHelp logo

geehalel / pyindi-client Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 6.0 165 KB

pyindi-client, formerly on sourceforge, split in its own repo

License: GNU General Public License v3.0

Python 41.40% SWIG 58.60%
binding libindi python swig

pyindi-client's People

Contributors

abecadel avatar chripell avatar geehalel avatar pawel-soja avatar rkaczorek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyindi-client's Issues

Error running indi client

Hi,
I installed indi library 1.8.8. from https://github.com/indilib/indi/releases
Then performed indi-client install with success.
sudo -H pip3 install --upgrade pyindi-client

Collecting pyindi-client
Using cached pyindi-client-0.2.6.tar.gz (5.8 kB)
Building wheels for collected packages: pyindi-client
Building wheel for pyindi-client (setup.py) ... done
Created wheel for pyindi-client: filename=pyindi_client-0.2.6-cp38-cp38-linux_x86_64.whl size=1207179 sha256=32170b1c8e3030ad50ae0e7ae42347fca40edde89518967d070e51d5a8bb203b
Stored in directory: /root/.cache/pip/wheels/ef/1c/0e/d36144fe067c25c9ed0a5b2de0b45351a2833e59c0fcac8c1a
Successfully built pyindi-client
Installing collected packages: pyindi-client
Successfully installed pyindi-client-0.2.6

I then tried to run cal25.py, a client application that works elsewhere and got an error.

bernard@f6bvp-Ubuntu:~$ ./cal25.py
Traceback (most recent call last):
File "./cal25.py", line 55, in
import PyIndi
File "/usr/local/lib/python3.8/dist-packages/PyIndi.py", line 15, in
import _PyIndi
ImportError: /usr/local/lib/python3.8/dist-packages/_PyIndi.cpython-38-x86_64-linux-gnu.so: undefined symbol: IUSaveConfigText

Could you give some help ?

Bernard, f6bvp

Problem installing pyindi-client

I am having some issue installing pyindi-client. Any idea what might be causing this?

WARNING: The directory '/home/jovyan/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pyindi-client
  Downloading pyindi-client-0.2.4.tar.gz (12 kB)
Building wheels for collected packages: pyindi-client
  Building wheel for pyindi-client (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q3bhbw8t/pyindi-client/setup.py'"'"'; __file__='"'"'/tmp/pip-install-q3bhbw8t/pyindi-client/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-g3otm4t0
       cwd: /tmp/pip-install-q3bhbw8t/pyindi-client/
  Complete output (87 lines):
  running bdist_wheel
  running build
  running build_ext
  building '_PyIndi' extension
  swigging indiclientpython.i to indiclientpython_wrap.cpp
  swig -python -v -Wall -c++ -threads -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -o indiclientpython_wrap.cpp indiclientpython.i
  Language subdirectory: python
  Search paths:
     ./
     /usr/include/
     /usr/include/libindi/
     /usr/local/include/libindi/
     ./swig_lib/python/
     /usr/share/swig3.0/python/
     ./swig_lib/
     /usr/share/swig3.0/
  Preprocessing...
  Starting language-specific parse...
  /usr/include/libindi/baseclient.h:33: Warning 322: Redundant redeclaration of 'MAXRBUF',
  /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
  /usr/include/libindi/baseclient.h:238: Warning 325: Nested struct not currently supported (BLOBMode ignored)
  /usr/include/libindi/basedevice.h:29: Warning 322: Redundant redeclaration of 'MAXRBUF',
  /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
  /usr/include/libindi/baseclient.h:55: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
  /usr/include/libindi/indibase.h:83: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
  Processing types...
  C++ analysis...
  Processing nested classes...
  Generating wrappers...
  creating build
  creating build/temp.linux-x86_64-3.7
  gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -I/opt/conda/include/python3.7m -c indiclientpython_wrap.cpp -o build/temp.linux-x86_64-3.7/indiclientpython_wrap.o -std=c++11
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  creating build/lib.linux-x86_64-3.7
  g++ -pthread -shared -B /opt/conda/compiler_compat -L/opt/conda/lib -Wl,-rpath=/opt/conda/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/indiclientpython_wrap.o /usr/lib/x86_64-linux-gnu/libindiclient.a -lz -lcfitsio -lnova -o build/lib.linux-x86_64-3.7/_PyIndi.cpython-37m-x86_64-linux-gnu.so
  running build_py
  copying PyIndi.py -> build/lib.linux-x86_64-3.7
  installing to build/bdist.linux-x86_64/wheel
  running install
  running bdist_egg
  running egg_info
  writing pyindi_client.egg-info/PKG-INFO
  writing dependency_links to pyindi_client.egg-info/dependency_links.txt
  writing top-level names to pyindi_client.egg-info/top_level.txt
  reading manifest file 'pyindi_client.egg-info/SOURCES.txt'
  writing manifest file 'pyindi_client.egg-info/SOURCES.txt'
  installing library code to build/bdist.linux-x86_64/egg
  running install_lib
  creating build/bdist.linux-x86_64/egg
  copying build/lib.linux-x86_64-3.7/PyIndi.py -> build/bdist.linux-x86_64/egg
  copying build/lib.linux-x86_64-3.7/_PyIndi.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
  creating stub loader for _PyIndi.cpython-37m-x86_64-linux-gnu.so
  creating build/bdist.linux-x86_64/egg/EGG-INFO
  copying pyindi_client.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
  copying pyindi_client.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  copying pyindi_client.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  copying pyindi_client.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
  writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
  zip_safe flag not set; analyzing archive contents...
  creating dist
  creating 'dist/pyindi_client-0.2.4-py3.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
  removing 'build/bdist.linux-x86_64/egg' (and everything under it)
  Creating /tmp/pip-install-q3bhbw8t/pyindi-client/build/bdist.linux-x86_64/wheel/site.py
  Processing pyindi_client-0.2.4-py3.7-linux-x86_64.egg
  Copying pyindi_client-0.2.4-py3.7-linux-x86_64.egg to /tmp/pip-install-q3bhbw8t/pyindi-client/build/bdist.linux-x86_64/wheel
  Adding pyindi-client 0.2.4 to easy-install.pth file

  Installed /tmp/pip-install-q3bhbw8t/pyindi-client/build/bdist.linux-x86_64/wheel/pyindi_client-0.2.4-py3.7-linux-x86_64.egg
  Processing dependencies for pyindi-client==0.2.4
  Finished processing dependencies for pyindi-client==0.2.4
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-q3bhbw8t/pyindi-client/setup.py", line 110, in <module>
      "Topic :: Scientific/Engineering :: Astronomy"
    File "/opt/conda/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup
      return distutils.core.setup(**attrs)
    File "/opt/conda/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/opt/conda/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 275, in run
      self.egg2dist(self.egginfo_dir, distinfo_dir)
    File "/opt/conda/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 372, in egg2dist
      raise ValueError(err)
  ValueError: Egg metadata expected at build/bdist.linux-x86_64/egg/pyindi_client-0.2.4-py3.7.egg-info but not found
  ----------------------------------------
  ERROR: Failed building wheel for pyindi-client
  Running setup.py clean for pyindi-client
Failed to build pyindi-client
Installing collected packages: pyindi-client
    Running setup.py install for pyindi-client ... done
  DEPRECATION: pyindi-client from https://files.pythonhosted.org/packages/ee/e1/423a5411b6a14fd88a7bce0556ca23b0adcad71ad00866a3c3f800928aa6/pyindi-client-0.2.4.tar.gz#sha256=dfe6e7326f793791a049a55ce725dc9b961d0a8b60cd03902ab21f1f00f530c7 did not indicate that it installed an .egg-info directory. Only setup.py projects generating .egg-info directories are supported. pip 20.2 will remove support for this functionality. A possible replacement is for maintainers: updating the setup.py of pyindi-client. For users: contact the maintainers of pyindi-client to let them know to update their setup.py.. You can find discussion regarding this at https://github.com/pypa/pip/issues/6998.
Successfully installed pyindi-client

TypeError: 'PropertyViewNumber' object is not iterable

INDI: 1.9.1
Version: pyindi-client 0.2.7b0

I am getting the following exception in a project of mine. It is an All Sky camera time lapse generator. This code works in INDI 1.8.9 with pyindi-client 0.2.6.

Traceback (most recent call last):
  File "./timelapse.py", line 54, in <module>
    action_func(*args_list)
  File "/home/aaron/git/indi-timelapse/indi_timelapse/timelapse.py", line 280, in run
    self._initialize()
  File "/home/aaron/git/indi-timelapse/indi_timelapse/timelapse.py", line 160, in _initialize
    self.config['INDI_CONFIG_NIGHT'],
  File "/home/aaron/git/indi-timelapse/indi_timelapse/timelapse.py", line 255, in _configureCcd
    self.indiclient.set_number(k, v)
  File "/home/aaron/git/indi-timelapse/indi_timelapse/indi.py", line 148, in set_number
    for control_name, index in self.__map_indexes(c, values.keys()).items():
  File "/home/aaron/git/indi-timelapse/indi_timelapse/indi.py", line 240, in __map_indexes
    for i, c in enumerate(ctl):
TypeError: 'PropertyViewNumber' object is not iterable

My git repo: https://github.com/aaronwmorris/indi-timelapse/blob/master/indi_timelapse/indi.py

The code related to reading and setting the INDI properties was heavily borrowed from https://github.com/GuLinux/indi-lite-tools/blob/master/pyindi_sequence/device.py

TypeError: 'INumberPropertyview' object is not subscriptable

Hello,

I have updated the library from pyindi-client==0.2.5 to pyindi-client==0.2.7, and it seems that the interface have changed:

Traceback (most recent call last): File "/<path>/source/model/indiclients.py", line 41, in newProperty self.takeExposure() File "/<path>/source/model/indiclients.py", line 86, in takeExposure exp[0].value = self.exposure_time TypeError: 'INumberPropertyview' object is not subscriptable

It works in 0.2.5 but not in the release 0.2.7. Im using it as in the examples:

ccd_exposure[0].value=exposures[i]

Is it expected or is it a version bug?

Thanks

Syscan issues.

Hi,

What a great piece of work. I now have my Synscan EQ5 tracking and slewing nicely via INDI. I have created a microservice running on Raspberry Pi based on your example code. I have 2 issues and I am not clear where the problem is. Here they are:

  1. My clock doesn't 'tick'. I run Set time, and every get time afterwards returns the same time. Here is the code:

    @rpc
    def setTime(self):
        # "Tracking: ", self.readline_rs232(b'T2')
        utc=datetime.datetime.utcnow()
        p=self.indi.device_mount.getText("TIME_UTC")
        while not(p) or type(p)!=PyIndi.ITextVectorProperty:
            time.sleep(0.2)
            p=self.indi.device_mount.getText("TIME_UTC")

        if p[1].text:
            offset=int(p[1].text)
        else:
            offset=0

        p[0].text=utc.isoformat()
        p[1].text=str(offset)
        self.indi.indiclient.sendNewText(p)
        return '#'
  1. My Sync doesn't work. The set sync does not return an error, but the getCoords function always reurns the same location. Here's the code:

    @rpc
    def setSync(self, rahour=12, decdeg=90):

        p=self.indi.device_mount.getNumber("EQUATORIAL_EOD_COORD")
        while not(p) or type(p)!=PyIndi.INumberVectorProperty:
            p=self.indi.device_mount.getNumber("EQUATORIAL_EOD_COORD")
            time.sleep(0.2)
        p[0].value=rahour
        p[1].value=decdeg
        
        pcs=self.indi.device_mount.getSwitch("ON_COORD_SET")
        while not(pcs) or type(pcs)!=PyIndi.ISwitchVectorProperty:
            pcs=self.indi.device_mount.getNumber("ON_COORD_SET")
            time.sleep(0.2)

        pcs[0].s=PyIndi.ISS_OFF
        pcs[1].s=PyIndi.ISS_OFF
        pcs[2].s=PyIndi.ISS_ON
        print("Sync "+str(rahour)+ ", "+str(decdeg))
        self.indi.indiclient.sendNewSwitch(pcs)
        self.indi.indiclient.sendNewNumber(p)
        return '#'

I'd love to hear any ideas you may have. All the other code works beautifully.

Thank you for your help.

Regards

Steve.

AttributeError: 'BaseClient' object has no attribute 'removeDevice'

After last updates of my Astroberry, my complex python script started to randomly crash with the following exception:

Traceback (most recent call last):
  File "/home/astroberry/.virtualenvs/astro/lib/python3.7/site-packages/PyIndi.py", line 1081, in <lambda>
    __getattr__ = lambda self, name: _swig_getattr(self, BaseClient, name)
  File "/home/astroberry/.virtualenvs/astro/lib/python3.7/site-packages/PyIndi.py", line 80, in _swig_getattr
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
AttributeError: 'BaseClient' object has no attribute 'removeDevice'

Until recently it worked well. Can it be connected to INDI 1.8.9 update or should I look for problems in my script? I have no idea what circumstances might trigger such an exception.

Python3 installation, RecursionError

I am trying to use a pip3 build of pyindi-client to retrieve the current temperature of a Moonlite focuser:

$ python3
Python 3.6.9 (default, Oct  8 2020, 12:12:24) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyIndi
>>> class IC(PyIndi.BaseClient):
...     def __init__(self):
...             super(IC, self).__init__()
... 
>>> ic = IC()
>>> ic.setServer('192.168.1.191', 7624)
>>> ic.connectServer()
RecursionError: maximum recursion depth exceeded
$

Is there something obvious I am missing? This is on a 32-bit machine, but I doubt this has an impact.

error installing pyindi-client on ubuntu 20.04 server

I just tried to install pyindi-client via pip3 ubuntu 20.04 and ran into the following error:

sudo -H pip3 install --upgrade pyindi-client
Collecting pyindi-client
  Using cached pyindi-client-0.2.5.tar.gz (12 kB)
Building wheels for collected packages: pyindi-client
  Building wheel for pyindi-client (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-__bsjr6w/pyindi-client/setup.py'"'"'; __file__='"'"'/tmp/pip-install-__bsjr6w/pyindi-client/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-m6v37j5x
       cwd: /tmp/pip-install-__bsjr6w/pyindi-client/
  Complete output (37 lines):
  running bdist_wheel
  running build
  running build_ext
  building '_PyIndi' extension
  swigging indiclientpython.i to indiclientpython_wrap.cpp
  swig -python -v -Wall -c++ -threads -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -o indiclientpython_wrap.cpp indiclientpython.i
  Language subdirectory: python
  Search paths:
     ./
     /usr/include/
     /usr/include/libindi/
     /usr/local/include/libindi/
     ./swig_lib/python/
     /usr/share/swig4.0/python/
     ./swig_lib/
     /usr/share/swig4.0/
  Preprocessing...
  Starting language-specific parse...
  /usr/include/libindi/baseclient.h:39: Warning 322: Redundant redeclaration of 'MAXRBUF',
  /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
  /usr/include/libindi/baseclient.h:270: Warning 325: Nested struct not currently supported (BLOBMode ignored)
  /usr/include/libindi/basedevice.h:29: Warning 322: Redundant redeclaration of 'MAXRBUF',
  /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
  /usr/include/libindi/baseclient.h:61: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
  /usr/include/libindi/indibase.h:86: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
  Processing types...
  C++ analysis...
  Processing nested classes...
  Generating wrappers...
  creating build
  creating build/temp.linux-x86_64-3.8
  x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -I/usr/include/python3.8 -c indiclientpython_wrap.cpp -o build/temp.linux-x86_64-3.8/indiclientpython_wrap.o -std=c++11
  creating build/lib.linux-x86_64-3.8
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/indiclientpython_wrap.o /usr/lib/x86_64-linux-gnu/libindiclient.a -lz -lcfitsio -lnova -o build/lib.linux-x86_64-3.8/_PyIndi.cpython-38-x86_64-linux-gnu.so
  /usr/bin/ld: cannot find -lnova
  collect2: error: ld returned 1 exit status
  error: command 'x86_64-linux-gnu-g++' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pyindi-client
  Running setup.py clean for pyindi-client
Failed to build pyindi-client
Installing collected packages: pyindi-client
    Running setup.py install for pyindi-client ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-__bsjr6w/pyindi-client/setup.py'"'"'; __file__='"'"'/tmp/pip-install-__bsjr6w/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-2uqss_i3/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pyindi-client
         cwd: /tmp/pip-install-__bsjr6w/pyindi-client/
    Complete output (36 lines):
    running install
    running build_ext
    building '_PyIndi' extension
    swigging indiclientpython.i to indiclientpython_wrap.cpp
    swig -python -v -Wall -c++ -threads -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -o indiclientpython_wrap.cpp indiclientpython.i
    Language subdirectory: python
    Search paths:
       ./
       /usr/include/
       /usr/include/libindi/
       /usr/local/include/libindi/
       ./swig_lib/python/
       /usr/share/swig4.0/python/
       ./swig_lib/
       /usr/share/swig4.0/
    Preprocessing...
    Starting language-specific parse...
    /usr/include/libindi/baseclient.h:39: Warning 322: Redundant redeclaration of 'MAXRBUF',
    /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
    /usr/include/libindi/baseclient.h:270: Warning 325: Nested struct not currently supported (BLOBMode ignored)
    /usr/include/libindi/basedevice.h:29: Warning 322: Redundant redeclaration of 'MAXRBUF',
    /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
    /usr/include/libindi/baseclient.h:61: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
    /usr/include/libindi/indibase.h:86: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
    Processing types...
    C++ analysis...
    Processing nested classes...
    Generating wrappers...
    creating build
    creating build/temp.linux-x86_64-3.8
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -I/usr/include/python3.8 -c indiclientpython_wrap.cpp -o build/temp.linux-x86_64-3.8/indiclientpython_wrap.o -std=c++11
    creating build/lib.linux-x86_64-3.8
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/indiclientpython_wrap.o /usr/lib/x86_64-linux-gnu/libindiclient.a -lz -lcfitsio -lnova -o build/lib.linux-x86_64-3.8/_PyIndi.cpython-38-x86_64-linux-gnu.so
    /usr/bin/ld: cannot find -lnova
    collect2: error: ld returned 1 exit status
    error: command 'x86_64-linux-gnu-g++' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-__bsjr6w/pyindi-client/setup.py'"'"'; __file__='"'"'/tmp/pip-install-__bsjr6w/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-2uqss_i3/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pyindi-client Check the logs for full command output.

I have installed all the dependencies mentioned on the GitHub page + I also needed libcfitsio-dev.
in the last few lines of the error it mentioned : /usr/bin/ld: cannot find -lnova
what is nova?

Cheers

Build issue on raspberry pi os with version 0.2.7

Previously I was able to build 0.2.6 fine, but on 0.2.7 I have build issues. I'm not very experience with swig.

I have libindi 1.8.9 installed.

$ sudo -H pip3 install --system pyindi-client==0.2.7

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyindi-client==0.2.7
  Using cached https://files.pythonhosted.org/packages/bd/2b/4b7c43b20e35ea838706a63c86fe321647c19bbc996c49971369b216d6e7/pyindi-client-0.2.7.tar.gz
Building wheels for collected packages: pyindi-client
  Running setup.py bdist_wheel for pyindi-client ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-l0s0noyh/pyindi-client/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-cm0ljk7e --python-tag cp37:
  running bdist_wheel
  running build
  running build_ext
  building '_PyIndi' extension
  swigging indiclientpython.i to indiclientpython_wrap.cpp
  swig -python -v -Wall -c++ -threads -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -o indiclientpython_wrap.cpp indiclientpython.i
  Language subdirectory: python
  Search paths:
     ./
     /usr/include/
     /usr/include/libindi/
     /usr/local/include/libindi/
     ./swig_lib/python/
     /usr/share/swig3.0/python/
     ./swig_lib/
     /usr/share/swig3.0/
  Preprocessing...
  Starting language-specific parse...
  /usr/include/libindi/baseclient.h:39: Warning 322: Redundant redeclaration of 'MAXRBUF',
  /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
  /usr/include/libindi/baseclient.h:270: Warning 325: Nested struct not currently supported (BLOBMode ignored)
  /usr/include/libindi/basedevice.h:29: Warning 322: Redundant redeclaration of 'MAXRBUF',
  /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
  /usr/include/libindi/indiwidgettraits.h:37: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
  /usr/include/libindi/indiwidgettraits.h:48: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
  /usr/include/libindi/indiwidgettraits.h:59: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
  /usr/include/libindi/indiwidgettraits.h:68: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
  /usr/include/libindi/indiwidgettraits.h:82: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
  /usr/include/libindi/indiproperty.h:94: Warning 321: 'apply' conflicts with a built-in name in python
  /usr/include/libindi/indiproperty.h:94: Warning 321: 'apply' conflicts with a built-in name in python
  /usr/include/libindi/indiproperty.h:94: Warning 321: 'apply' conflicts with a built-in name in python
  /usr/include/libindi/baseclient.h:61: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
  /usr/include/libindi/indibase.h:86: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
  /usr/include/libindi/basedevice.h:146: Warning 512: Overloaded method INDI::BaseDevice::getProperties() const ignored,
  /usr/include/libindi/basedevice.h:145: Warning 512: using non-const method INDI::BaseDevice::getProperties() instead.
  /usr/include/libindi/indiproperty.h:94: Error: Non-optional argument '' follows an optional argument.
  /usr/include/libindi/indiproperty.h:94: Error: Non-optional argument '' follows an optional argument.
  /usr/include/libindi/indiproperty.h:94: Warning 509: Overloaded method INDI::Property::apply(char const *,...) effectively ignored,
  /usr/include/libindi/indiproperty.h:94: Warning 509: as it is shadowed by INDI::Property::apply(char const *).
  /usr/include/libindi/indiproperty.h:94: Error: Non-optional argument '' follows an optional argument.
  /usr/include/libindi/indiproperty.h:95: Error: Non-optional argument '' follows an optional argument.
  /usr/include/libindi/indiproperty.h:95: Error: Non-optional argument '' follows an optional argument.
  /usr/include/libindi/indiproperty.h:95: Warning 509: Overloaded method INDI::Property::define(char const *,...) effectively ignored,
  /usr/include/libindi/indiproperty.h:95: Warning 509: as it is shadowed by INDI::Property::define(char const *).
  /usr/include/libindi/indiproperty.h:95: Error: Non-optional argument '' follows an optional argument.
  Processing types...
  C++ analysis...
  Processing nested classes...
  Generating wrappers...
  error: command 'swig' failed with exit status 6
  
  ----------------------------------------
  Failed building wheel for pyindi-client
  Running setup.py clean for pyindi-client
Failed to build pyindi-client
Installing collected packages: pyindi-client
  Found existing installation: pyindi-client 0.2.6
    Uninstalling pyindi-client-0.2.6:
      Successfully uninstalled pyindi-client-0.2.6
  Running setup.py install for pyindi-client ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-l0s0noyh/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-m8yp5on2/install-record.txt --single-version-externally-managed --compile:
    running install
    running build_ext
    building '_PyIndi' extension
    swigging indiclientpython.i to indiclientpython_wrap.cpp
    swig -python -v -Wall -c++ -threads -I/usr/include -I/usr/include/libindi -I/usr/local/include/libindi -o indiclientpython_wrap.cpp indiclientpython.i
    Language subdirectory: python
    Search paths:
       ./
       /usr/include/
       /usr/include/libindi/
       /usr/local/include/libindi/
       ./swig_lib/python/
       /usr/share/swig3.0/python/
       ./swig_lib/
       /usr/share/swig3.0/
    Preprocessing...
    Starting language-specific parse...
    /usr/include/libindi/baseclient.h:39: Warning 322: Redundant redeclaration of 'MAXRBUF',
    /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
    /usr/include/libindi/baseclient.h:270: Warning 325: Nested struct not currently supported (BLOBMode ignored)
    /usr/include/libindi/basedevice.h:29: Warning 322: Redundant redeclaration of 'MAXRBUF',
    /usr/include/libindi/indibase.h:8: Warning 322: previous declaration of 'MAXRBUF'.
    /usr/include/libindi/indiwidgettraits.h:37: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
    /usr/include/libindi/indiwidgettraits.h:48: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
    /usr/include/libindi/indiwidgettraits.h:59: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
    /usr/include/libindi/indiwidgettraits.h:68: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
    /usr/include/libindi/indiwidgettraits.h:82: Warning 325: Nested struct not currently supported (UpdateArgs ignored)
    /usr/include/libindi/indiproperty.h:94: Warning 321: 'apply' conflicts with a built-in name in python
    /usr/include/libindi/indiproperty.h:94: Warning 321: 'apply' conflicts with a built-in name in python
    /usr/include/libindi/indiproperty.h:94: Warning 321: 'apply' conflicts with a built-in name in python
    /usr/include/libindi/baseclient.h:61: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
    /usr/include/libindi/indibase.h:86: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
    /usr/include/libindi/basedevice.h:146: Warning 512: Overloaded method INDI::BaseDevice::getProperties() const ignored,
    /usr/include/libindi/basedevice.h:145: Warning 512: using non-const method INDI::BaseDevice::getProperties() instead.
    /usr/include/libindi/indiproperty.h:94: Error: Non-optional argument '' follows an optional argument.
    /usr/include/libindi/indiproperty.h:94: Error: Non-optional argument '' follows an optional argument.
    /usr/include/libindi/indiproperty.h:94: Warning 509: Overloaded method INDI::Property::apply(char const *,...) effectively ignored,
    /usr/include/libindi/indiproperty.h:94: Warning 509: as it is shadowed by INDI::Property::apply(char const *).
    /usr/include/libindi/indiproperty.h:94: Error: Non-optional argument '' follows an optional argument.
    /usr/include/libindi/indiproperty.h:95: Error: Non-optional argument '' follows an optional argument.
    /usr/include/libindi/indiproperty.h:95: Error: Non-optional argument '' follows an optional argument.
    /usr/include/libindi/indiproperty.h:95: Warning 509: Overloaded method INDI::Property::define(char const *,...) effectively ignored,
    /usr/include/libindi/indiproperty.h:95: Warning 509: as it is shadowed by INDI::Property::define(char const *).
    /usr/include/libindi/indiproperty.h:95: Error: Non-optional argument '' follows an optional argument.
    Processing types...
    C++ analysis...
    Processing nested classes...
    Generating wrappers...
    error: command 'swig' failed with exit status 6
    
    ----------------------------------------
  Rolling back uninstall of pyindi-client
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-l0s0noyh/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-m8yp5on2/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-l0s0noyh/pyindi-client/

INumberPropertyview Indexing

Hi everyone,

With the latest changes to INDI I've noticed the scripts I've been using have been throwing the same error. For sake of keeping things clear I'll be using the tuto-ccd.py file from this repository as an example.

When running the tuto-ccd.py script I get the following output.

INDI::BaseClient::connectServer: creating new connection...
Traceback (most recent call last):
  File "tuto-ccd.py", line 67, in <module>
    telescope_connect[0].s=PyIndi.ISS_ON  # the "CONNECT" switch
TypeError: 'ISwitchPropertyview' object does not support indexing

I've also seen this same TypeError when trying to access sensor outputs from a Davis Vantage Pro2.

Any help would be greatly appreciated!

Best,
Tommy

import PyIndi results in segmentation fault (core dumped)

I tried the walkthrough on pip website since it is the recommended method for Ubuntu users.
This includes installing all prerequisites calling: sudo apt-get install python-setuptools python-dev libindi-dev swig
Then I get a successful install of pyindi-client-0.2.6 using pip3 calling: sudo -H pip3 install pyindi-client
But as soon as I try to import PyIndi the python instance crashes with the message: segmentation fault (core dumped)
I tried reinstalling the dependencies, but no luck.
Also, I checked the package calling: pip3 check pyindi-client and I got the response No broken requirements found
Then, after reading the stackoverflow question: python tracing a segmentation fault I tried to get to the root of the problem using gdb by calling:

$ mkdir db-pyindi
$ cd db-pyindi
$ echo "import PyIndi" > import-pyindi.py
$ gdb python3
GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python3...(no debugging symbols found)...done.

(gdb) run import-pyindi.py

Starting program: /usr/bin/python3 import-pyindi.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff54232b9 in GlobalError::PushToStack() ()
   from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0

(gdb) backtrace

#0  0x00007ffff54232b9 in GlobalError::PushToStack() ()
   from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0
#1  0x00007ffff54a6fc2 in pkgInitConfig(Configuration&) ()
   from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0
#2  0x00007ffff5d41ed8 in ?? ()
   from /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so
#3  0x000000000050a12f in ?? ()
#4  0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#5  0x0000000000507be4 in ?? ()
#6  0x0000000000516069 in ?? ()
#7  0x0000000000566fae in PyCFunction_Call ()
#8  0x0000000000510e51 in _PyEval_EvalFrameDefault ()
#9  0x0000000000507be4 in ?? ()
#10 0x0000000000509900 in ?? ()
#11 0x000000000050a2fd in ?? ()
#12 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#13 0x00000000005095c8 in ?? ()
#14 0x000000000050a2fd in ?? ()
#15 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#16 0x00000000005095c8 in ?? ()
#17 0x000000000050a2fd in ?? ()
#18 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#19 0x00000000005095c8 in ?? ()
#20 0x000000000050a2fd in ?? ()
#21 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#22 0x0000000000508cd5 in _PyFunction_FastCallDict ()
#23 0x00000000005a4c61 in _PyObject_FastCallDict ()
#24 0x00000000005a5c9e in _PyObject_CallMethodIdObjArgs ()
#25 0x00000000004f6d6d in PyImport_ImportModuleLevelObject ()
#26 0x000000000050ddbf in _PyEval_EvalFrameDefault ()
#27 0x0000000000507be4 in ?? ()
#28 0x0000000000516069 in ?? ()
#29 0x0000000000566fae in PyCFunction_Call ()
#30 0x0000000000510e51 in _PyEval_EvalFrameDefault ()
#31 0x0000000000507be4 in ?? ()
#32 0x0000000000509900 in ?? ()
#33 0x000000000050a2fd in ?? ()
#34 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#35 0x00000000005095c8 in ?? ()
#36 0x000000000050a2fd in ?? ()
#37 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#38 0x00000000005095c8 in ?? ()
#39 0x000000000050a2fd in ?? ()
#40 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#41 0x00000000005095c8 in ?? ()
#42 0x000000000050a2fd in ?? ()
#43 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#44 0x0000000000508cd5 in _PyFunction_FastCallDict ()
#45 0x00000000005a4c61 in _PyObject_FastCallDict ()
#46 0x00000000005a5c9e in _PyObject_CallMethodIdObjArgs ()
#47 0x00000000004f6d6d in PyImport_ImportModuleLevelObject ()
#48 0x000000000050ddbf in _PyEval_EvalFrameDefault ()
#49 0x0000000000507be4 in ?? ()
#50 0x0000000000516069 in ?? ()
#51 0x0000000000566fae in PyCFunction_Call ()
#52 0x0000000000510e51 in _PyEval_EvalFrameDefault ()
#53 0x0000000000507be4 in ?? ()
#54 0x0000000000509900 in ?? ()
#55 0x000000000050a2fd in ?? ()
#56 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#57 0x00000000005095c8 in ?? ()
#58 0x000000000050a2fd in ?? ()
#59 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#60 0x00000000005095c8 in ?? ()
#61 0x000000000050a2fd in ?? ()
#62 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#63 0x00000000005095c8 in ?? ()
#64 0x000000000050a2fd in ?? ()
#65 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#66 0x0000000000508cd5 in _PyFunction_FastCallDict ()
#67 0x00000000005a4c61 in _PyObject_FastCallDict ()
#68 0x00000000005a5c9e in _PyObject_CallMethodIdObjArgs ()
#69 0x00000000004f6d6d in PyImport_ImportModuleLevelObject ()
#70 0x000000000050ddbf in _PyEval_EvalFrameDefault ()
#71 0x0000000000507be4 in ?? ()
#72 0x0000000000516069 in ?? ()
#73 0x0000000000566fae in PyCFunction_Call ()
#74 0x0000000000510e51 in _PyEval_EvalFrameDefault ()
#75 0x0000000000507be4 in ?? ()
#76 0x0000000000509900 in ?? ()
#77 0x000000000050a2fd in ?? ()
#78 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#79 0x00000000005095c8 in ?? ()
#80 0x000000000050a2fd in ?? ()
#81 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#82 0x00000000005095c8 in ?? ()
#83 0x000000000050a2fd in ?? ()
#84 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#85 0x00000000005095c8 in ?? ()
#86 0x000000000050a2fd in ?? ()
#87 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#88 0x0000000000508cd5 in _PyFunction_FastCallDict ()
#89 0x00000000005a4c61 in _PyObject_FastCallDict ()
#90 0x00000000005a5c9e in _PyObject_CallMethodIdObjArgs ()
#91 0x00000000004f6d6d in PyImport_ImportModuleLevelObject ()
#92 0x000000000050ddbf in _PyEval_EvalFrameDefault ()
#93 0x0000000000507be4 in ?? ()
#94 0x0000000000516069 in ?? ()
#95 0x0000000000566fae in PyCFunction_Call ()
#96 0x0000000000510e51 in _PyEval_EvalFrameDefault ()
#97 0x0000000000507be4 in ?? ()
#98 0x0000000000509900 in ?? ()
#99 0x000000000050a2fd in ?? ()
#100 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#101 0x00000000005095c8 in ?? ()
#102 0x000000000050a2fd in ?? ()
#103 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#104 0x00000000005095c8 in ?? ()
#105 0x000000000050a2fd in ?? ()
#106 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#107 0x00000000005095c8 in ?? ()
#108 0x000000000050a2fd in ?? ()
#109 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#110 0x0000000000508cd5 in _PyFunction_FastCallDict ()
#111 0x00000000005a4c61 in _PyObject_FastCallDict ()
#112 0x00000000005a5c9e in _PyObject_CallMethodIdObjArgs ()
#113 0x00000000004f6d6d in PyImport_ImportModuleLevelObject ()
#114 0x00000000005140a4 in ?? ()
#115 0x0000000000566f73 in PyCFunction_Call ()
#116 0x0000000000510e51 in _PyEval_EvalFrameDefault ()
#117 0x0000000000507be4 in ?? ()
#118 0x0000000000509900 in ?? ()
#119 0x000000000050a2fd in ?? ()
#120 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#121 0x00000000005095c8 in ?? ()
#122 0x000000000050a2fd in ?? ()
#123 0x000000000050beb4 in _PyEval_EvalFrameDefault ()
#124 0x0000000000508cd5 in _PyFunction_FastCallDict ()
#125 0x00000000005a4c61 in _PyObject_FastCallDict ()
#126 0x00000000005a5c9e in _PyObject_CallMethodIdObjArgs ()
#127 0x00000000004f6d6d in PyImport_ImportModuleLevelObject ()
#128 0x000000000050ddbf in _PyEval_EvalFrameDefault ()
#129 0x0000000000508cd5 in _PyFunction_FastCallDict ()
#130 0x00000000005a4c61 in _PyObject_FastCallDict ()
#131 0x000000000063831b in PyErr_PrintEx ()
#132 0x0000000000638703 in PyRun_SimpleFileExFlags ()
#133 0x0000000000639281 in Py_Main ()
#134 0x00000000004b0dc0 in main ()

After hours of search, this was as far as I could go right now. Any help would be appreciated.

swig/python memory leak of type 'INDI::BaseDevice::Properties *', no destructor found

Hi. I know there was an end of life notice a few hours ago. However, I could not find a repository related to PyIndi here: https://github.com/indilib

So, I am posting this issue here for the time being. I do appreciate your kind attention.

I have recently installed INDI and PyIndi on an ubuntu 18.04 docker. None of my previous PyIndi codes run properly on this docker. I keep getting the error:

swig/python detected a memory leak of type 'INDI::BaseDevice::Properties *', no destructor found.

For a reference, I used the code in this repository's README.md file, and got this error:

2021-07-06 05:58:29,541 creating an instance of IndiClient
INDI::BaseClient::connectServer: creating new connection...
INDI::BaseClient::connectServer: Already connected.
2021-07-06 05:58:29,543 new device CCD Simulator
2021-07-06 05:58:29,544 new property CONNECTION for device CCD Simulator
2021-07-06 05:58:29,545 new property DRIVER_INFO for device CCD Simulator
2021-07-06 05:58:29,545 new property POLLING_PERIOD for device CCD Simulator
2021-07-06 05:58:29,545 new property DEBUG for device CCD Simulator
2021-07-06 05:58:29,546 new property CONFIG_PROCESS for device CCD Simulator
2021-07-06 05:58:29,546 new property ACTIVE_DEVICES for device CCD Simulator
2021-07-06 05:58:29,546 new device Telescope Simulator
2021-07-06 05:58:29,546 new property CONNECTION for device Telescope Simulator
2021-07-06 05:58:29,546 new property DRIVER_INFO for device Telescope Simulator
2021-07-06 05:58:29,546 new property POLLING_PERIOD for device Telescope Simulator
2021-07-06 05:58:29,546 new property DEBUG for device Telescope Simulator
2021-07-06 05:58:29,546 new property CONFIG_PROCESS for device Telescope Simulator
2021-07-06 05:58:29,546 new property CONNECTION_MODE for device Telescope Simulator
2021-07-06 05:58:29,546 new property DEVICE_PORT for device Telescope Simulator
2021-07-06 05:58:29,547 new property DEVICE_BAUD_RATE for device Telescope Simulator
2021-07-06 05:58:29,547 new property DEVICE_AUTO_SEARCH for device Telescope Simulator
2021-07-06 05:58:29,547 new property DEVICE_PORT_SCAN for device Telescope Simulator
2021-07-06 05:58:29,547 new property ACTIVE_DEVICES for device Telescope Simulator
2021-07-06 05:58:29,547 new property DOME_POLICY for device Telescope Simulator
2021-07-06 05:58:29,547 new property TELESCOPE_INFO for device Telescope Simulator
2021-07-06 05:58:29,547 new property SCOPE_CONFIG_NAME for device Telescope Simulator
2021-07-06 05:58:29,547 new property MOUNT_TYPE for device Telescope Simulator
2021-07-06 05:58:29,547 new property SIM_PIER_SIDE for device Telescope Simulator
2021-07-06 05:58:29,547 new property MOUNT_MODEL for device Telescope Simulator
2021-07-06 05:58:29,548 new property MOUNT_AXES for device Telescope Simulator
2021-07-06 05:58:29,548 new property FLIP_HA for device Telescope Simulator
2021-07-06 05:58:29,548 new property SIMULATOR_SETTINGS for device CCD Simulator
2021-07-06 05:58:29,548 new property EQUATORIAL_PE for device CCD Simulator
2021-07-06 05:58:29,549 new property SIM_FOCUSING for device CCD Simulator
2021-07-06 05:58:29,549 new property SIMULATE_BAYER for device CCD Simulator
2021-07-06 05:58:29,549 new property CCD_SIMULATE_CRASH for device CCD Simulator
Connecting and waiting 1 sec
List of devices
CCD Simulator
Telescope Simulator
List of Device Properties
-- CCD Simulator
Traceback (most recent call last):
  File "simple-example.py", line 82, in <module>
    for p in lp:
TypeError: 'SwigPyObject' object is not iterable
swig/python detected a memory leak of type 'INDI::BaseDevice::Properties *', no destructor found.

I tried using indilib version 1.8.7, swig version 4.0.2, and pyindi-client version 0.2.6 ... Should I create a new docker image with a certain set of software versions that is working for you guys?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.