Friday, September 13, 2019

Re: [Discuss-gnuradio] AttributeError when instantiating OSMOSDR source in my OOT module (C++)

Hi Thabet GHARBI,

On 13/09/2019 23.42, Thabet GHARBI wrote:

> I got the error 'AttributeError: 'module' object has no attribute 'test'. I
> analysed the undefined symbol, and it was due to osmosdr module.
>
> Any suggestion to solve this problem?

Most probably somewhere in your code you are calling 'test()' function but osmosdr module does not export such. One of the easiest way to find our where is to print the full exception backtrace/traceback, something like

except Exception:
import traceback; traceback.print_exc()

Regards,
Vasil

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment