I having the very same issues and any helps are appreciated. OP25 works really really well begin with but it stop for whatever reasons? It stop work with
Exception in thread Thread-1: from matter of an hours or 5+ hours.
OP25 is install on a fresh install Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
My startup
./rx.py --args 'hackrf' -N 'RF:14,IF:40,BB:52' -S 8000000 -q 0.6 -o 380e3 -O plughw:CARD=PCH,DEV=0 -2 -T city-dd.tsv -V -U -v 1 2> stderr.txt
Here is the error log.
Using Python /usr/bin/python2
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.11
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Using HackRF One with firmware local-57ed3eb
gain: name: RF range: start 0 stop 14 step 14
gain: name: IF range: start 0 stop 40 step 8
gain: name: BB range: start 0 stop 62 step 2
setting gain RF to 14
setting gain IF to 40
setting gain BB to 52
supported sample rates 8000000-20000000 step 2000000
Using two-stage decimator for speed=8000000, decim=80/4 if1=100000 if2=25000
op25_audio:

pen_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[1]
11/30/21 21:04:03.491179 Reading blacklist file
11/30/21 21:04:03.491231 added talkgroup 6 from city-dd-bl.tsv
11/30/21 21:04:03.491252 added talkgroup 13 from city-dd-bl.tsv
11/30/21 21:04:03.491267 added talkgroup 16 from city-dd-bl.tsv
11/30/21 21:04:03.491279 added talkgroup 26 from city-dd-bl.tsv
11/30/21 21:04:03.491292 added talkgroup 30 from city-dd-bl.tsv
11/30/21 21:04:03.491303 added talkgroup 39 from city-dd-bl.tsv
11/30/21 21:04:03.491315 added talkgroup 41 from city-dd-bl.tsv
11/30/21 21:04:03.491326 added talkgroup 42 from city-dd-bl.tsv
11/30/21 21:04:03.491338 added talkgroup 47 from city-dd-bl.tsv
11/30/21 21:04:03.491349 added talkgroup 125 from city-dd-bl.tsv
11/30/21 21:04:03.491361 added talkgroup 2021 from city-dd-bl.tsv
11/30/21 21:04:03.491372 added talkgroup 2022 from city-dd-bl.tsv
11/30/21 21:04:03.491384 added talkgroup 20504 from city-dd-bl.tsv
11/30/21 21:04:03.491395 added talkgroup 20506 from city-dd-bl.tsv
metadata update not enabled
using ALSA sound system
audio device: plughw:CARD=PCH,DEV=0
Listening on 127.0.0.1:23456
python version detected: 2.7.17 (default, Feb 27 2021, 15:10:58)
[GCC 7.5.0]
11/30/21 21:04:03.777552 voice update: tg(65348), freq(852162500), slot(-), prio(3)
11/30/21 21:04:04.861015 voice update: tg(65348), freq(851337500), slot(-), prio(3)
11/30/21 21:04:06.924856 voice update: tg(65348), freq(851362500), slot(-), prio(3)
11/30/21 21:04:07.380585 voice update: tg(65348), freq(851362500), slot(-), prio(3)
.
.
.
12/01/21 02:32:43.555207 voice update: tg(20168), freq(852337500), slot(-), prio(3)
12/01/21 02:32:44.045320 voice update: tg(20168), freq(852337500), slot(-), prio(3)
12/01/21 02:32:46.862325 voice update: tg(20168), freq(852362500), slot(-), prio(3)
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "./rx.py", line 975, in run
self.callback(msg)
File "/home/ken/op25/op25/gr-op25_repeater/apps/trunking.py", line 1630, in process_qmsg
updated += self.trunked_systems[nac].decode_tsbk(t)
File "/home/ken/op25/op25/gr-op25_repeater/apps/trunking.py", line 689, in decode_tsbk
self.del_patch(sg, [ga])
UnboundLocalError: local variable 'ga' referenced before assignment