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 when try python ham2mon.py -a "rtl" Ubuntu 18.04 #35

Open
khanfar opened this issue May 24, 2020 · 8 comments
Open

error when try python ham2mon.py -a "rtl" Ubuntu 18.04 #35

khanfar opened this issue May 24, 2020 · 8 comments

Comments

@khanfar
Copy link

khanfar commented May 24, 2020

please help i got this error when try to run python ham2mon.py
python ham2mon.py -a "rtl"
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

Traceback (most recent call last):
File "ham2mon.py", line 147, in
curses.wrapper(main)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "ham2mon.py", line 96, in main
rxwin.draw_rx()
File "/home/mwk/Desktop/ham2mon-master/apps/cursesgui.py", line 380, in draw_rx
self.win.addnstr(10, 1, text, 15)
_curses.error: addnstr() returned ERR

@madengr
Copy link
Owner

madengr commented May 24, 2020 via email

@khanfar
Copy link
Author

khanfar commented May 24, 2020

how to make xterm bigger ?

@khanfar
Copy link
Author

khanfar commented May 24, 2020

you mean terminal font size ?

@khanfar
Copy link
Author

khanfar commented May 24, 2020

i got it thanks ,,, but how to add list of frequency i want to monitor in scan ??

@john-
Copy link
Contributor

john- commented May 24, 2020

You do not specify a list of frequencies to scan.

You specify the center frequency and you will get a range of bandwidth centered on that. The width will be based on bandwidth you specify (of course limited by your hardware).

@madengr
Copy link
Owner

madengr commented May 24, 2020 via email

@khanfar
Copy link
Author

khanfar commented May 24, 2020

i try this and the gui come up but no activity
./ham2mon.py -a "rtl" -n 4 -f 446E6 -r 2E6 -g 20 -s -40 -v 0 -t 30 -w
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

rtlsdr_demod_write_reg failed with -7
rtlsdr_demod_read_reg failed with -7
r82xx_write: i2c wr failed=-7 reg=06 len=1

@john-
Copy link
Contributor

john- commented May 24, 2020

Make sure your setup works with the rtl tools before working with ham2mon. This will rule out usual problems like trying to use a USB hub with not enough power, basic access issues, etc.

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