[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Struggling with 3.10 OOT Module Porting: AttributeError: module has
From: |
Vasil Velichkov |
Subject: |
Re: Struggling with 3.10 OOT Module Porting: AttributeError: module has no attribute |
Date: |
Fri, 9 Sep 2022 16:06:27 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Hi Luca,
On 09/09/2022 10.58, Bachmaier, Luca wrote:
> Dear all,
>
> I'm currently porting some of my modules from GNU Radio 3.8 to 3.10 and
> experiencing issues with (probably) pybind. My system setup is: Debian 11,
> GNU Radio 3.10.3.0.
>
> My flow graphs that include the 3.8 modules are able to compile, but are not
> able to run due to the following error:
> File "home/user/.grc_gnuradio/myModule_sync.py", line 56 in
> __init__
> Self.myModule_myblock_0 = myModule.myblock(0, 0)
> AttributeError: module 'myModule' has no attribute 'myblock'
Open `python/__init__.py`, check if there is `except ImportError:` and replace
it with `except ModuleNotFoundError:`, then reinstall and try again.
See also https://github.com/gnuradio/gnuradio/issues/3884
Regards,
Vasil