righthalfplane
Member
- Joined
- Jul 27, 2020
- Messages
- 117
I am trying to listen to a single P25 frequency with -
rx.py --args 'rtl' -N 'LNA:47' -S 2500000 -x 2 -f 851.8875e6 -q 0 -U
with op25 osmocom on ubuntu 20.04 it works ok - with the boatbod version on ubuntu 18.04 it generates this error -
**********
Listening on 127.0.0.1:23456
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "./rx.py", line 924, in run
self.callback(msg)
File "./rx.py", line 934, in process_qmsg
if self.tb.process_qmsg(msg):
File "./rx.py", line 884, in process_qmsg
js = self.trunk_rx.to_json()
File "/home/dir/Documents/Archive/boatbod-op25/op25/op25/gr-op25_repeater/apps/trunking.py", line 1010, in to_json
d[nac]['top_line'] = 'NAC 0x%x %s' % (nac, d[nac]['top_line']) # prepend NAC which is not known by trunked_systems
TypeError: %x format: a number is required, not NoneType
***********
The program is hung and accepts no keyboard input, but it actually receives and decodes the channel traffic ok. I wanted to generate some plots, but the keyboard is dead.
rx.py --args 'rtl' -N 'LNA:47' -S 2500000 -x 2 -f 851.8875e6 -q 0 -U
with op25 osmocom on ubuntu 20.04 it works ok - with the boatbod version on ubuntu 18.04 it generates this error -
**********
Listening on 127.0.0.1:23456
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "./rx.py", line 924, in run
self.callback(msg)
File "./rx.py", line 934, in process_qmsg
if self.tb.process_qmsg(msg):
File "./rx.py", line 884, in process_qmsg
js = self.trunk_rx.to_json()
File "/home/dir/Documents/Archive/boatbod-op25/op25/op25/gr-op25_repeater/apps/trunking.py", line 1010, in to_json
d[nac]['top_line'] = 'NAC 0x%x %s' % (nac, d[nac]['top_line']) # prepend NAC which is not known by trunked_systems
TypeError: %x format: a number is required, not NoneType
***********
The program is hung and accepts no keyboard input, but it actually receives and decodes the channel traffic ok. I wanted to generate some plots, but the keyboard is dead.