ham2mon icon indicating copy to clipboard operation
ham2mon copied to clipboard

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

Open khanfar opened this issue 5 years ago • 8 comments

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

khanfar avatar May 24 '20 18:05 khanfar

Try making your xterm bigger.

On May 24, 2020, at 13:21, khanfar [email protected] wrote:

 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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

madengr avatar May 24 '20 18:05 madengr

how to make xterm bigger ?

khanfar avatar May 24 '20 18:05 khanfar

you mean terminal font size ?

khanfar avatar May 24 '20 19:05 khanfar

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

khanfar avatar May 24 '20 19:05 khanfar

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).

john- avatar May 24 '20 19:05 john-

See documentation. There is a priority.txt you can add, though the basis of the program is that it finds whatever is in the bandwidth. You only need a priority file if you have more channels than demodulators.

On May 24, 2020, at 14:23, khanfar [email protected] wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

madengr avatar May 24 '20 19:05 madengr

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

khanfar avatar May 24 '20 19:05 khanfar

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.

john- avatar May 24 '20 19:05 john-