Open mauriwillig opened 3 years ago
Thanks for the report. How did you execute adsb_rx.py
?
From looking at the traceback, the problem is not with the RTL-SDR but with the curses
python module. From googling, it seems that curses
doesn't work in a python interpreter but only in terminals. So I'm guessing it should work if you open a terminal and type python3 adsb_rx.py
.
Also, I'm curious if this is related to https://bugs.python.org/issue7597.
Hi! I'm running adsb_rx.grc (from ./examples) on GNU Radio Companion 3.8.1.0, and when I run it, I get the error I have posted. This is what I get:
Yes, if I only run 'python3 adsb_rx.py' on a terminal it works, but I cannot run it directly from GRC.
Ok, this should be flagged as a bug. I'm guessing the change happened sometime in GNU Radio 3.8 with how they handle the "console output" or how they invoke flowgraphs. Easy fix is rip out curses
and use something else. Maybe there's a workaround with curses
. I'm going to leave this issue open, but it may take me a little time to resolve this. I'm preoccupied with something else at the moment.
Ok, I just edited my last comment and added a pic of the GRC console when I run it. Let me know if I can help you with something.
Take your time. Thanks!
Little update: Can get it working, just running "gnuradio-companion adsb_rx.grc" in console and then hitting RUN button on GRC. Yeah... probably there is a bug with how GRC invoke flowgraphs.
I'm glad you found a workaround! I've been hustling around trying to get my old 3.7 and 3.8 installations to load, but to no avail.
I hate to kick this over the fence, but it might be a worthwhile issue to submit in the GNU Radio repo itself. Given that the flowgraph works when running python3 adsb_rx.py
, gnuradio-companion adsb_rx.py
+ RUN
, but not through the GUI itself is indicative there might be some GUI code causing the problem? Just a thought.
I fixed this by adding the following to my ~/.profile
export TERM=xterm-256color
And then rebooting.
I suspect the specific terminal you want to name depends on your distro and configuration. Try checking what your terminal is going by executing the following in a terminal:
echo $TERM
Hi, I'm using gr-adsb for GNU 3.8 version, and I'm getting this error: