Trying to run P25 Survey Tool
https://askubuntu.com/questions/1567084/trying-to-run-p25-survey-toolHelp!
I’m completely new to Linux. I’ve dabbled in it over the last 20 or so years but get frustrated and end up back and the dreaded W. So hoping someone can help me with this problem.
I’m trying to run the P25 survey tool. I installed Ubuntu 26 LTS and have followed all the instructions in the read me and on the forum radio reference.com
I’m able to get the script to start but it seems to crash and I can’t figure out why. Below is the output from the terminal.
p25-survey --start 851 --stop 869 --sdr rtlsdr --gain 14 --threshold 14 --rr --hide-no-cc --output /tmp/survey-800.json
P25 Survey — configuration
range: 851.0000 – 869.0000 MHz (18.000 MHz)
band: 800 MHz public safety (rebanded)
step: 12.5 kHz (1440 steps)
sdr: rtlsdr
gain: 14.0 dB
ppm: 0.0
threshold: 14.0 dB above noise floor
dwell: confirm=2.0s, max=12.0s
output: /tmp/survey-800.json
mode: FFT energy scan + targeted decode
RadioReference authentication (credentials are not stored)
Username: kd7jfv
Password:
Logged in as kd7jfv (subscription expires Never - Admin)
Phase 1 — energy scan
found 1 candidate(s)
Phase 2 — P25 decode \[0/1 done, 0 control channels found, 0 skipped via resume\]
┏━━━━━━┳━━━━━━┳━━━━━┳━━━━━┳━━━━━━┳━━━━━━┳━━━━━━┳━━━━━━┳━━━━━┳━━━━━┳━━━━━━┳━━━━━┓
┃ Freq ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ RR ┃
┃ (MH… ┃ WACN ┃ SYS ┃ NAC ┃ RFSS ┃ Site ┃ Nbrs ┃ RSSI ┃ BER ┃ Dw… ┃ Sta… ┃ Ma… ┃
┡━━━━━━╇━━━━━━╇━━━━━╇━━━━━╇━━━━━━╇━━━━━━╇━━━━━━╇━━━━━━╇━━━━━╇━━━━━╇━━━━━━╇━━━━━┩
└──────┴──────┴─────┴─────┴──────┴──────┴──────┴──────┴─────┴─────┴──────┴─────┘
⠙ Decoding 860.93750 MHz 0.0s / 12s budget
Traceback (most recent call last):
File "\<frozen runpy\>", line 198, in \_run_module_as_main
File "\<frozen runpy\>", line 88, in \_run_code
File "/usr/local/bin/p25-survey/\__main_\_.py", line 3, in \<module\>
\_bootstrap.bootstrap()
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^
File "/usr/local/bin/p25-survey/\_bootstrap/\__init_\_.py", line 262, in bootstrap
run(import_string(env.entry_point))
\~\~\~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/p25-survey/\_bootstrap/\__init_\_.py", line 38, in run
sys.exit(module())
\~\~\~\~\~\~^^
File "/home/ben/.shiv/p25-survey_cf98cd7e70fb77e1d511189df9bcb98a11054b3c2171ee2fe18f31d9aedf4061/site-packages/p25_survey/cli.py", line 703, in main
return \_run_scan(cfg)
File "/home/ben/.shiv/p25-survey_cf98cd7e70fb77e1d511189df9bcb98a11054b3c2171ee2fe18f31d9aedf4061/site-packages/p25_survey/cli.py", line 360, in \_run_scan
record = decode_candidate(
freq_hz=cand.freq_hz,
...\<7 lines\>...
debug=10 if cfg.verbose else 0,
)
File "/home/ben/.shiv/p25-survey_cf98cd7e70fb77e1d511189df9bcb98a11054b3c2171ee2fe18f31d9aedf4061/site-packages/p25_survey/decoder.py", line 282, in decode_candidate
from gnuradio import op25_repeater # noqa: PLC0415
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'op25_repeater' from 'gnuradio' (/usr/lib/python3/dist-packages/gnuradio/\__init_\_.py)
