Hi Liya,
the code you refer to is not an embedded python block, so it can't work
as one. As you can see from the python code, it imports things from the
same directory. So this can't work! Never forget to read the code you're
copying :)
Best regards,
Marcus
On 9/6/23 22:34, Jiya Johnson wrote:
Good morning community,
I was trying to create an embedded python module with the same code
for fec extended encoder in GNU RADIO 3.10.7 version .I am
encountering this problem "Param - Code(_source_code):
Can't interpret source code: "'__name__' not in globals""
it will be very helpful if someone can help me to clear this..The used
code is
*https://github.com/gnuradio/gnuradio/blob/master/gr-fec/python/fec/extended_encoder.py#L21*