Following up on this... Max is correct, the system I'm monitoring is 30
channels. I've come up with what has to be the most "ass-backwards" fix
I've ever done. The correct answer is to make the frequency list
scrollable but I don't know anything about curses programming. So
instead, I inserted in terminal.py a call to read the console size on
startup, and then size the row positions based on that (e.g., instead of
showing the current frequency on row 20, I show it on row_size-5). So,
if you set the terminal to 36 lines there's now room for 30 frequencies.
Patch attached. Really stupid, but it seems to work.
I'm also attaching a bash script I use to start rx.py and also the audio
server. I am certain that someone with bash-fu could make it much more
robust. (I'm still struggling to get this to start from a desktop
shortcut in Raspbian. The scanner window opens, but not the audio server.)
John
----
On 07/09/2017 09:38 AM, ikj1234i(a)yahoo.com [op25-dev] wrote:
hey John
is this by any chance a large system having more than 20 voice channels
(frequencies)? What looks like might be happening is this error is
complaining that the number of lines it's trying to draw in the window
exceeds the size of the window. In scope.py the list was scrollable,
but not in rx.py...