Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #59

Open
blackroom-0 opened this issue Nov 12, 2023 · 2 comments
Open

Error #59

blackroom-0 opened this issue Nov 12, 2023 · 2 comments

Comments

@blackroom-0
Copy link

Using HackRF One with firmware 2021.03.1
Traceback (most recent call last):
File "/root/gr-adsb/examples/adsb_rx.py", line 255, in
main()
File "/root/gr-adsb/examples/adsb_rx.py", line 233, in main
tb = top_block_cls()
^^^^^^^^^^^^^^^
File "/root/gr-adsb/examples/adsb_rx.py", line 172, in init
self.adsb_decoder_0 = adsb.decoder("Extended Squitter Only", "None", "Brief")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/adsb/decoder.py", line 292, in init
self.screen = curses.initscr()
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/curses/init.py", line 29, in initscr
setupterm(term=_os.environ.get("TERM", "unknown"),
_curses.error: setupterm: could not find terminal
Exception ignored in atexit callback:
_curses.error: must call initscr() first

Done (return code 1)

@mhostetter
Copy link
Owner

What branch are you building? What version of GNU Radio? What is your OS?

It seems your OS is headless / doesn't have a terminal? Is that correct?

@bmurray
Copy link

bmurray commented Jun 13, 2024

This appears to be when GnuRadio is run from a shortcut instead of from a terminal. Running GRC from the terminal seems to solve this. But that begs the question, why is it a hard dependency to need curses if people may want to run it headless? Is there a way to run it without curses?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants