Jean-Luc replied to the topic 'Problem importing PyIndi' in the forum. 2 months ago

I just tried to build pyindi-client with latest indi core commit on up-to-date Ubuntu 20.04. That compiles fine but the script crashes when trying to iterate over a switch property:
elif p.getType()==PyIndi.INDI_SWITCH:
for t in tpy:
TypeError: 'SwigPyObject' object is not iterable
pure virtual method called
It seems that Property get* methods are pure virtual. Will have a more precise look to that later.