OP25 OP25 has suddenly stopped running

Status
Not open for further replies.

robocock8191

Member
Joined
Mar 5, 2016
Messages
22
Location
Sydney Australia
Hi everyone,

I have recently just gotten my RTL-SDR and have setup OP25 on a Ubuntu virtual machine on my macbook.
Was running quite well. Today I was getting many encrypted transmissions on TG's I hadn't blacklisted yet.

So I would quit op25, add the TG to my blacklist in the Trunk.tsv file, then restart OP25.
I feel like the last time I maybe quit too fast, as if it were barely finished loading up. And since then OP25 will no longer run. I have tried replugging my SDR, rebooting the system but no joy unfortunately :(

It starts to load then just spits me back out at the terminal prompt. No error given.
Screenshot from 2020-01-14 10-51-32.png

Here is the contents of my stderr.2 file
Code:
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.11
built-in source types: file osmosdr fcd rtl rtl_tcp uhd plutosdr miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[R82XX] PLL not locked!
[R82XX] PLL not locked!
Using two-stage decimator for speed=2400000, decim=25/4 if1=96000 if2=24000
Project 25 IMBE Encoder/Decoder Fixed-Point implementation
Developed by Pavel Yazev E-mail: pyazev@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]
Reading blacklist file
Traceback (most recent call last):
  File "./rx.py", line 934, in <module>
    rx = rx_main()
  File "./rx.py", line 848, in __init__
    self.tb = p25_rx_block(self.options)
  File "./rx.py", line 198, in __init__
    self.open_usrp()
  File "./rx.py", line 775, in open_usrp
    self.__set_rx_from_osmosdr()
  File "./rx.py", line 703, in __set_rx_from_osmosdr
    self.__build_graph(self.src, capture_rate)
  File "./rx.py", line 325, in __build_graph
    self.trunk_rx = trunking.rx_ctl(frequency_set = self.change_freq, debug = self.options.verbosity, conf_file = self.options.trunk_conf_file, logfile_workers=logfile_workers, meta_update = self.meta_update)
  File "/home/kevinburton/op25/op25/gr-op25_repeater/apps/trunking.py", line 765, in __init__
    self.build_config_tsv(conf_file)
  File "/home/kevinburton/op25/op25/gr-op25_repeater/apps/trunking.py", line 859, in build_config_tsv
    self.setup_config(configs)
  File "/home/kevinburton/op25/op25/gr-op25_repeater/apps/trunking.py", line 917, in setup_config
    self.configs[nac][k] = get_int_dict(configs[nac][k])
  File "/home/kevinburton/op25/op25/gr-op25_repeater/apps/trunking.py", line 699, in get_int_dict
    return dict.fromkeys([int(d) for d in s.split(',')])
ValueError: invalid literal for int() with base 10: ''

Any help would be greatly appreciated. I don't really wanna trash the virtual machine and start again.

Cheers
RC
 

robocock8191

Member
Joined
Mar 5, 2016
Messages
22
Location
Sydney Australia
Thanks for the hint. I couldn't figure out what it was, but clearing the blacklist would fix the problem. Anyways, i found the problem to the comma at the end. After deleting it I am up and running again :)

maus92 Here's my op25.sh file

Code:
#! /bin/sh
cd ~/op25/op25/gr-op25_repeater/apps/
./rx.py --args 'rtl' -N 'LNA:47' -S 2400000 -f 417.4625e6 -o 25000 -q -2 -T trunk.tsv -V -2 -U 2> stderr.2
 

maus92

Member
Premium Subscriber
Joined
Jun 23, 2004
Messages
8,187
Location
The OP
Thanks for the hint. I couldn't figure out what it was, but clearing the blacklist would fix the problem. Anyways, i found the problem to the comma at the end. After deleting it I am up and running again :)

maus92 Here's my op25.sh file

Code:
#! /bin/sh
cd ~/op25/op25/gr-op25_repeater/apps/
./rx.py --args 'rtl' -N 'LNA:47' -S 2400000 -f 417.4625e6 -o 25000 -q -2 -T trunk.tsv -V -2 -U 2> stderr.2
Thx. Glad you found the errant comma. Note that your -S value need not be so high, and that you don't need the -f parameter if you define the control channel in your trunk.tsv file.
 
Status
Not open for further replies.
Top