AnsweredAssumed Answered

libiio python bindings crash

Question asked by ahelak on Mar 4, 2015
Latest reply on Mar 13, 2015 by pcercuei



I have a small update to the python bindings. I noticed when running them on a remote x86 linux machine that has no iio devices attached, it crashes on startup, even if I'm intending to use it with a network context.


The crash happens as soon as the iio module is imported -- since one of the default arguments to the Context class is a mutable parameter it gets evaluated no matter what.


Not sure if this happens for others, I'm using a libiio about 1.5 months out of date, but I attached a modified file with a small fix along with the error screenshot.