indilib / pyindi-client

GNU General Public License v3.0
21 stars 8 forks source link

Indi client test TypeError: 'SwigPyObject' object is not iterable #30

Open f6bvp opened 1 year ago

f6bvp commented 1 year ago

Running a sample Pyindi client test I get TypeError: 'SwigPyObject' object is not iterable

Here is the full report :

Connecting and waiting 1 sec INDI::BaseClient::connectServer: creating new connection... 2023-01-01 23:11:19,264 Server connected (www1.f4klo.ampr.org:7624) INDI::BaseClient::connectServer: Already connected. 2023-01-01 23:11:19,266 new device Radiotelescope La Villette 2023-01-01 23:11:19,266 new property CONNECTION for device Radiotelescope La Villette 2023-01-01 23:11:19,267 new property DRIVER_INFO for device Radiotelescope La Villette 2023-01-01 23:11:19,269 new property POLLING_PERIOD for device Radiotelescope La Villette 2023-01-01 23:11:19,269 new property DEBUG for device Radiotelescope La Villette 2023-01-01 23:11:19,269 new property CONFIG_PROCESS for device Radiotelescope La Villette 2023-01-01 23:11:19,270 new property CONNECTION_MODE for device Radiotelescope La Villette 2023-01-01 23:11:19,270 new property SYSTEM_PORTS for device Radiotelescope La Villette 2023-01-01 23:11:19,270 new property DEVICE_PORT for device Radiotelescope La Villette 2023-01-01 23:11:19,270 new property DEVICE_BAUD_RATE for device Radiotelescope La Villette 2023-01-01 23:11:19,270 new property DEVICE_AUTO_SEARCH for device Radiotelescope La Villette 2023-01-01 23:11:19,270 new property DEVICE_PORT_SCAN for device Radiotelescope La Villette 2023-01-01 23:11:19,271 new property ACTIVE_DEVICES for device Radiotelescope La Villette 2023-01-01 23:11:19,271 new property DOME_POLICY for device Radiotelescope La Villette 2023-01-01 23:11:19,271 new property TELESCOPE_INFO for device Radiotelescope La Villette 2023-01-01 23:11:19,271 new property SCOPE_CONFIG_NAME for device Radiotelescope La Villette 2023-01-01 23:11:19,272 new Text ACTIVE_DEVICES for device Radiotelescope La Villette 2023-01-01 23:11:19,276 new Number TELESCOPE_INFO for device Radiotelescope La Villette 2023-01-01 23:11:19,276 new Text SCOPE_CONFIG_NAME for device Radiotelescope La Villette List of devices Radiotelescope La Villette List of Device Properties -- Radiotelescope La Villette Traceback (most recent call last): File "/home/f4klo/Pyindi/planet/./Pyindi_client_test.py", line 137, in for p in lp: TypeError: 'SwigPyObject' object is not iterable

Bernard

f6bvp commented 1 year ago

There is another error that may not be related directly to Pyindi i.e. memory leak

Traceback (most recent call last): File "/home/f4klo/Pyindi/planet/./Pyindi_client_simulator_test.py", line 137, in for p in lp: TypeError: 'SwigPyObject' object is not iterable swig/python detected a memory leak of type 'INDI::BaseDevice::Properties *', no destructor found.