Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
f6bvp opened this issue Jan 1, 2023 · 1 comment
Open

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

f6bvp opened this issue Jan 1, 2023 · 1 comment

Comments

@f6bvp
Copy link

f6bvp commented Jan 1, 2023

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
Copy link
Author

f6bvp commented Jan 1, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant