Criss,

a good debugging method is to go into the build dir, where you should find
a DLL called _howto_swig.so (or something like that). Try importing that:

>>> import _howto_swig

It will probably fail, and will likely give you a better clue of what's
going on.

--M

On Sat, Jan 23, 2021 at 12:51 AM Criss Swaim <[email protected]> wrote:

> 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
> [email protected]
> cell: 505.301.5701
>
>
>

Reply via email to