[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AW: Struggling with 3.10 OOT Module Porting: AttributeError: module
From: |
Vasil Velichkov |
Subject: |
Re: AW: Struggling with 3.10 OOT Module Porting: AttributeError: module has no attribute |
Date: |
Wed, 14 Sep 2022 16:04:01 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Hi Luca,
On 12/09/2022 17.15, Bachmaier, Luca wrote:
> Re-installing my module gave me this cmake error:
>
>
>
> CMake Error at lib/CMakeLists.txt … Target
> “gnuradio-myModule” links to: gnuradio::gnuradio-fec but the target was not
> found.
>
>
>
> I was able to solve this by removing the gnuradio:: qualifier from
> gnuradio-fec and gnuradio-analog. For some reason, only gnuradio-fec but not
> gnuradio::gnuradio-fec is known. Could this be an unintended bug? Under Gnu
> Radio 3.8.5 gnuradio::gnuradio-fec was able to be found.
Yes, sounds like a bug. How did you install GNU Radio 3.10.3.0 on Debina 11
(bullseye)? Can you provide a minimal, reproducible example?
> But right now I’m struggling with a new problem that I’m unable to solve:
>
> Calling import myModule_python in gr-myModule/build/python/myModule/bindings/
> throws a segmentation fault which gets traced back to
> /usr/local/lib/python3.10/dist-packages/gnuradio/gr/__init__.py
Run it trough gdb and take a backtrace.
gdb -ex run --args python3 flowgraph.py
(gdb) bt
Regards,
Vasil