radiosd / PlutoSdr

Access and cotrol of PlutoSDR hardware using python bindings to libiio
GNU General Public License v2.0
31 stars 9 forks source link

SyntaxError in pluto_sdr.py line#375 "from oserr" #4

Closed 3x10e8 closed 5 years ago

3x10e8 commented 5 years ago

python setup.py install

byte-compiling C:\Python27\Lib\site-packages\pluto\pluto_sdr.py to pluto_sdr.pyc
File "C:\Python27\Lib\site-packages\pluto\pluto_sdr.py", line 375
raise OSError('failed to create an iio buffer') from oserr
^
SyntaxError: invalid syntax

I just commented out from oserr. Alternatively, some formatting options could be https://stackoverflow.com/questions/8978057/raising-builtin-exception-with-default-message-in-python

radiosd commented 5 years ago

You are right, it was an error, inadvertently capturing a command entered for another window. I did fix this. Thanks