analogdevicesinc / gr-ofdmradar

A simple OFDM Radar implementation
GNU General Public License v3.0
40 stars 11 forks source link

Enabling OFDM Radar System Parameters block causes a NameError warning #3

Open chrisjohgorman opened 1 year ago

chrisjohgorman commented 1 year ago

Hello,

This is pretty self explanatory. I don't know if there are repercussions with failures because of this, but enabling the OFDM Radar System Parameters block causes the following warning for me in gnuradio.

I've looked around and can't tell where the error is. I'm hoping that someone with more knowledge of the code can fix this or even if they can't if they can tell me whether or not this is benign.

Thanks in advance,

Chris

`[chris@descartes ~]$ gnuradio-companion <<< Welcome to GNU Radio Companion 3.10.7.0 >>>

Block paths: /home/chris/.grc_gnuradio /usr/local/share/gnuradio/grc/blocks

Loading: "/home/chris/hardy/gr-ofdmradar/examples/ofdmradar_test.grc"

Done Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/gnuradio/grc/gui/VariableEditor.py", line 194, in set_value value = str(block.evaluate(block.value)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gnuradio/grc/core/blocks/block.py", line 645, in evaluate return self.parent_flowgraph.evaluate(expr, self.namespace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gnuradio/grc/core/FlowGraph.py", line 309, in evaluate return eval(expr, namespace, local_namespace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1, in NameError: name 'window' is not defined [chris@descartes ~]$ `