Monday, May 29, 2017

[Discuss-gnuradio] gr-fec

There appears to be a bug in version 3.7.11 of gr-fec.

I was on poking around on my netbook this weekend - trying to run some
polar grc examples - but I couldn't load any of the polar flow graphs -
they would hang the grc - I had to kill grc to get out.

But

make test

ran without any errors.

I tried running

qa_polar_decoder_sc.py

but it gave me the

ImportError: No module named fec_swig

To make a long story, in order for me to get

qa_polar_decoder_sc.py

to run - plus a couple of other scripts which were needed, I had to
replace

import fec_swig as fec

with

from gnuradio import fec
import _fec_swig as fec_swig

I did a find on

<root>/lib/python2.7/dist-packages/gnuradio

and located the following files

fec_swig.py
_fec_swig.so

and then played around with them until I got it to work.

-- Cinaed





_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment