What do you mean by "loaded" and "installed"?
You must run the python code that matches the installed binaries. If
you switch from max to boatbod, you'd want to run the "install.sh"
script from the appropriate git repo (to install the binaries), then
make sure that you're using the corresponding python.
It's also possible that boatbod's recent change to support roaming is
a factor here.
In any case, the first step would be to run "./install.sh" in
~/gnuradio/bod/op25, then try rx.py again. If that doesn't help, it
may be a bug with that recent change. I haven't tried it myself yet.
~iain / N6ML
On Tue, Apr 3, 2018 at 1:36 PM, Dick Wad bwmzzzx(a)yahoo.com [op25-dev]
<op25-dev(a)yahoogroups.com> wrote:
I am running the boatbod op25 and as soon as it starts to output voice traffic it aborts.
I'm runnint Ubuntu in virtualbox in a Windows 7
laptop. This is a new install of Ubuntu 16.04 and have both op25's loaded but only
the boatmod op25 installed. Below is the script to run rx.py. Below that is the stderr.2
output. I've used both the install.sh script as well as the manual load from the
install.txt file. Both
yield the same results.
>rx.py<<
#!/bin/bash
cd ~/gnuradio/bod/op25/op25/gr-op25_repeater/apps
python rx.py --args 'rtl' --gains 'lna:49' -f 852.6738e6 -q -1 -S
1000000 -P constellation -o 50000 -w -2 -U 2> ~/stderr.2
>>stderr.2<<<
gr-osmosdr
0.1.4 (0.1.4) gnuradio 3.7.9
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace
airspy redpitaya
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
Using two-stage decimator for speed=1000000, decim=10/4 if1=100000 if2=25000
Project 25 IMBE Encoder/Decoder Fixed-Point implementation
Developed by Pavel Yazev E-mail: pyazev(a)gmail.com
Version 1.0 (c) Copyright 2009
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file ``LICENSE'' for details.
op25_audio::open_socket(): enabled udp host(127.0.0.1), wireshark(23456), audio(23456)
p25_frame_assembler_impl: do_imbe[1], do_output[0], do_audio_output[1],
do_phase2_tdma[1], do_nocrypt[0]
audio device: default
terminal: exception occurred (118, 24)
terminal: exception:
Traceback (most recent call last):
File "/home/wrench/gnuradio/bod/op25/op25/gr-op25_repeater/apps/terminal.py",
line 288, in run
if self.process_q_events():
File "/home/wrench/gnuradio/bod/op25/op25/gr-op25_repeater/apps/terminal.py",
line 271, in process_q_events
return self.process_json(msg.to_string())
File "/home/wrench/gnuradio/bod/op25/op25/gr-op25_repeater/apps/terminal.py",
line 206, in process_json
s = 'NAC 0x%x' % (int(current_nac))
ValueError: invalid literal for int() with base 10: 'null'