OP25 - skipping invalid row

Status
Not open for further replies.

jjbllitz

Member
Premium Subscriber
Joined
Jul 19, 2017
Messages
42
Location
Baltimore, Ohio
I'm tryin to get OP25 running on Raspberry Pi 4 with Buster. When I launch the app, my .tsv tgid file is not loading. I get the following errors:
Code:
./op25_millersport.sh
Using Python /usr/bin/python2
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Using device #0 Realtek RTL2838UHIDIR SN: 00000103
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
gain: name: LNA range: start 0 stop 0 step 0
setting gain LNA to 47
supported sample rates 250000-2560000 step 24000
[R82XX] PLL not locked!
Using two-stage decimator for speed=2400000, decim=25/4 if1=96000 if2=24000
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[0], do_nocrypt[1]
Skipping invalid row in millersport.tsv: ['16501', 'Sheriff Dispatch', '3']
Skipping invalid row in millersport.tsv: ['16502', 'Fire Operations 1', '3']
Skipping invalid row in millersport.tsv: ['16503', 'Sheriff Tac 1', '3']
Skipping invalid row in millersport.tsv: ['16504', 'Sheriff MCU 2', '3']
Skipping invalid row in millersport.tsv: ['16505', 'Sheriff Tac 2', '3']
Skipping invalid row in millersport.tsv: ['16506', 'Fire Ops 2', '3']
Skipping invalid row in millersport.tsv: ['16507', 'Fire Dispatch', '3']
Skipping invalid row in millersport.tsv: ['16509', 'Pickerington Dispatch', '3']
Skipping invalid row in millersport.tsv: ['16510', 'Fire Ops 3', '3']
Skipping invalid row in millersport.tsv: ['16511', 'EMS Ops 1', '3']
Skipping invalid row in millersport.tsv: ['16514', 'Pickerington Police Tac 2', '3']
Skipping invalid row in millersport.tsv: ['16517', 'Portsmouth Ambulance', '3']
Skipping invalid row in millersport.tsv: ['54542', 'Statewide Interop', '3']
Skipping invalid row in millersport.tsv: ['59022', 'Emergency Management Agency', '3']
Skipping invalid row in millersport.tsv: ['59589', 'ODH mutual aid', '3']
Skipping invalid row in millersport.tsv: ['59614', 'Fairfield Medical Center', '3']
Skipping invalid row in millersport.tsv: ['59664', 'Diley Ridge Medical Center', '3']
Skipping invalid row in millersport.tsv: ['59985', 'Ohio Health  Pickerington', '3']
No valid trunking configs. Aborting!

I'm launching with a script:
Code:
#! /bin/sh

cd /home/pi/op25/op25/gr-op25_repeater/apps

./rx.py --args 'rtl' -N 'LNA:47' -S 2400000 -x 2 -f 772.54375e6 -o 17e3 -q 0 -T millersport.tsv -V -U

My trunk.tsv looks like this and have confirmed that there is only one TAB between each entry:
Code:
"Sysname"    "Control Channel List"    "Offset"    "NAC"    "Modulation"    "TGID Tags File"    "Whitelist"    "Blacklist"    "Center Frequency"
"Millersport"    "772.54375"    "0"    "0x347"    "CQPSK"    "millersport.tsv"

And the millersport.tsv. Again confirmed only one TAB between entries and have tried with and without quotes around the text:
Code:
16500    Sheriff MCU    3
16501    Sheriff Dispatch    3
16502    Fire Operations 1    3
16503    Sheriff Tac 1    3
16504    Sheriff MCU 2    3
16505    Sheriff Tac 2    3
16506    Fire Ops 2    3
16507    Fire Dispatch    3
16509    Pickerington Dispatch    3
16510    Fire Ops 3    3
16511    EMS Ops 1    3
16514    Pickerington Police Tac 2    3
16517    Portsmouth Ambulance    3
54542    Statewide Interop    3
59022    Emergency Management Agency    3
59589    ODH mutual aid    3
59614    Fairfield Medical Center    3
59664    Diley Ridge Medical Center    3
59985    Ohio Health  Pickerington    3

I've also tried launching with the default "tompkins.tsv" and get the same errors.

I'm stumped as to why it seems to be unable to parse the millersport.tsv file properly. Ideas??? Thanks for any and all help in advance.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,411
Location
Talbot Co, MD
Please post the millersport.tsv as an attachment (you probably need to .zip it first) and I'll take a look and let you know what is wrong with it.
Might be as simple as needing to run dos2unix on it.
 

jjbllitz

Member
Premium Subscriber
Joined
Jul 19, 2017
Messages
42
Location
Baltimore, Ohio
Thanks Boatbod.

Here's the file. I had tried dos2unix with default settings prior to original post, and just ran it again on the file before zipping. Still no success.
 

Attachments

  • millersport.tsv.zip
    436 bytes · Views: 7

boatbod

Member
Joined
Mar 3, 2007
Messages
3,411
Location
Talbot Co, MD
I inspected the millersport.tsv file with a hex viewer and it looks correct. I can also be read ok on my system.
Code:
03/14/21 11:05:06.901517 [FiRST Talbot] reading system tgid_tags_file: /home/gnorbury/Downloads/millersport.tsv
03/14/21 11:05:06.902009 [FiRST Talbot] setting tgid(16500), prio(3), tag(Sheriff MCU)
03/14/21 11:05:06.902035 [FiRST Talbot] setting tgid(16501), prio(3), tag(Sheriff Dispatch)
03/14/21 11:05:06.902048 [FiRST Talbot] setting tgid(16502), prio(3), tag(Fire Operations 1)
03/14/21 11:05:06.902058 [FiRST Talbot] setting tgid(16503), prio(3), tag(Sheriff Tac 1)
03/14/21 11:05:06.902067 [FiRST Talbot] setting tgid(16504), prio(3), tag(Sheriff MCU 2)
03/14/21 11:05:06.902079 [FiRST Talbot] setting tgid(16505), prio(3), tag(Sheriff Tac 2)
03/14/21 11:05:06.902094 [FiRST Talbot] setting tgid(16506), prio(3), tag(Fire Ops 2)
03/14/21 11:05:06.902106 [FiRST Talbot] setting tgid(16507), prio(3), tag(Fire Dispatch)
03/14/21 11:05:06.902119 [FiRST Talbot] setting tgid(16509), prio(3), tag(Pickerington Dispatch)
03/14/21 11:05:06.902129 [FiRST Talbot] setting tgid(16510), prio(3), tag(Fire Ops 3)
03/14/21 11:05:06.902140 [FiRST Talbot] setting tgid(16511), prio(3), tag(EMS Ops 1)
03/14/21 11:05:06.902153 [FiRST Talbot] setting tgid(16514), prio(3), tag(Pickerington Police Tac 2)
03/14/21 11:05:06.902166 [FiRST Talbot] setting tgid(16517), prio(3), tag(Portsmouth Ambulance)
03/14/21 11:05:06.902182 [FiRST Talbot] setting tgid(54542), prio(3), tag(Statewide Interop)
03/14/21 11:05:06.902197 [FiRST Talbot] setting tgid(59022), prio(3), tag(Emergency Management Agency)
03/14/21 11:05:06.902211 [FiRST Talbot] setting tgid(59589), prio(3), tag(ODH mutual aid)
03/14/21 11:05:06.902223 [FiRST Talbot] setting tgid(59614), prio(3), tag(Fairfield Medical Center)
03/14/21 11:05:06.902234 [FiRST Talbot] setting tgid(59664), prio(3), tag(Diley Ridge Medical Center)
03/14/21 11:05:06.902247 [FiRST Talbot] setting tgid(59985), prio(3), tag(Ohio Health  Pickerington)
 

rlmurray56

Member
Joined
Oct 10, 2019
Messages
76
Location
Puyallup, WA
I'm looking at your posted "trunk.tsv file". That looks incorrect. Your modulation, NAC and millersport.tsv appear to be under the wrong headings, if in fact that's how the file has been formatted.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,411
Location
Talbot Co, MD
Just a thought... are you running osmocom or boatbod op25?
If you're running osmocom, I think you'll find it does not support tgid priority, so your trunk-tags file can only contain two columns. Boatbod support the third column for priority
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,411
Location
Talbot Co, MD
I'm looking at your posted "trunk.tsv file". That looks incorrect. Your modulation, NAC and millersport.tsv appear to be under the wrong headings, if in fact that's how the file has been formatted.
No, the trunk.tsv is correct, it's just the way the formatting gets displayed in html that throws things off.
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
Just a thought... are you running osmocom or boatbod op25?
If you're running osmocom, I think you'll find it does not support tgid priority, so your trunk-tags file can only contain two columns. Boatbod support the third column for priority

Graham............

This is an impossibility; the "Skipping invalid row" message is not in osmocom

Max
 

jjbllitz

Member
Premium Subscriber
Joined
Jul 19, 2017
Messages
42
Location
Baltimore, Ohio
Thanks again Boatbod. That is indeed strange.

I was using this pi for some python programming before I decided to try working with OP25. It has both Python 2 and 3 installed, but I made sure 2 was preferred after this problem started. Most of my programming work was done in 3.

The pi is up-to-date. And I updated the OP25 and rebuilt yesterday.

I really am not sure where to go from here.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,411
Location
Talbot Co, MD
Take a look in you "op25_millersport.sh" startup script. I think you'll find that you are invoking -T with the trunk-tags file rather than trunk.tsv.
 
Status
Not open for further replies.
Top