discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Migration from 3.7 to 3.8 OOT - module 'howto' has no attribute 'square_


From: Criss Swaim
Subject: Migration from 3.7 to 3.8 OOT - module 'howto' has no attribute 'square_ff'
Date: Fri, 22 Jan 2021 16:49:56 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

I am upgrading from gnuradio 3.7.2 to 3.8.2 and have run into a couple
of issues with my OOT modules not showing up in the python module.  So I
went back and walked through the HowTo tutorial to see it the tutorial
would work.  It fails also.

OS: Fedora 33


> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to
> '/tmp/runtime-sensor'
> Traceback (most recent call last):
>   File "/home/sensor/gr-howto/HowTo.py", line 175, in <module>
>     main()
>   File "/home/sensor/gr-howto/HowTo.py", line 151, in main
>     tb = top_block_cls()
>   File "/home/sensor/gr-howto/HowTo.py", line 112, in __init__
>     self.howto_square_ff_0 = howto.square_ff()
> AttributeError: module 'howto' has no attribute 'square_ff'

The libgnuradio-howto.so lib is in /usr/local/lib64

I have added the /usr/local/lib64 directory to ld.so.conf and ran the
sudo ldconfig to reload the lib paths, followed by make/make install. 

When the python howto module is created it does not have the square_ff
entry point:

> dir(howto)
> ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__',
> '__name__', '__package__', '__path__', '__spec__', 'unicode_literals']
Any ideas on where to look next?  I am not sure if this is a path-ing
issue or is something wrong in the building of the python module.

-- 
Criss Swaim
cswaim@tpginc.net
cell: 505.301.5701




reply via email to

[Prev in Thread] Current Thread [Next in Thread]