[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] AttributeError when instantiating OSMOSDR source
From: |
Vasil Velichkov |
Subject: |
Re: [Discuss-gnuradio] AttributeError when instantiating OSMOSDR source in my OOT module (C++) |
Date: |
Sat, 14 Sep 2019 01:48:28 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
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