OP25 Major New OP25 Release - Seeking Beta Testers

Status
Not open for further replies.

Outerdog

T¹ ÆS Ø
Premium Subscriber
Joined
Jul 1, 2016
Messages
669
In the first picture in post #256, what command argument is used to display the graph that is to the left of the constellation? I can see the constellation with the "-P constellation" argument, but I want to see the other graph.

You are seeing the FFT plot. That example shows muti_rx.py running. In this case the plots are selected in the cfg-trunk2.json file like so:

Code:
{
    "channels": [
        {
            "demod_type": "cqpsk", 
            "destination": "udp://127.0.0.1:56124", 
            "excess_bw": 0.2, 
            "filter_type": "rc", 
            "frequency": 0, 
            "if_rate": 24000, 
            "name": "p25 control channel", 
            "plot": "fft,constellation", 
            "zplot": "",
            "decode": "p25_decoder:cc", 
            "symbol_rate": 4800,
              "decode": "p25_decoder:role=cc:dev=rtl02_cc:nac=0x1f5"     
        },
        {
            "demod_type": "cqpsk", 
            "destination": "udp://127.0.0.1:23456", 
            "excess_bw": 0.2, 
            "filter_type": "rc", 
            "frequency": 0, 
            "if_rate": 24000, 
            "name": "p25 voice channel", 
            "plot": "fft,symbol", 
            "zplot": "",
            "decode": "p25_decoder:vc", 
            "symbol_rate": 4800,
            "decode": "p25_decoder:role=vc:dev=rtl03_VC"            
        }
    ], 
    "devices": [
        {
            "args": "rtl=00000002",
            "frequency1": 410350000,             
            "frequency": 774456250, 
            "gains": "lna:36", 
            "name": "rtl02_cc", 
            "offset": 0, 
            "ppm": 0, 
            "rate": 1000000, 
            "tunable": true
        },
        {
            "args": "rtl=00000003",
            "frequency": 0, 
            "gains": "lna:36", 
            "name": "rtl03_VC", 
            "zoffset": -100,
            "zppm": -1, 
            "offset": 0, 
            "ppm": -1,             
            "rate": 1000000, 
            "tunable": true

        }
    ]
}

For rx.py, it would be
Code:
-p fft
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
Thanks; -p fft was what I was after. I haven't played around with muti_rx.py yet, or .json files. I guess that will be next.
 

n8zuz

Member
Joined
Jul 17, 2004
Messages
63
Location
Windy WY
I tried installing this version without any luck. Are there any instructions detailing in order the way things need installed? I'm thinking of something along the lines of Mr. Hagensieker's OP25 for dummies. I see doc subfolders in different folders but I'm not finding a document that lists everything on how to install this in Linux. I guess I'm a dummie.
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
I tried installing this version without any luck. Are there any instructions detailing in order the way things need installed? I'm thinking of something along the lines of Mr. Hagensieker's OP25 for dummies. I see doc subfolders in different folders but I'm not finding a document that lists everything on how to install this in Linux. I guess I'm a dummie.

Here is what worked for me. I'm far from an expert, but you may try what I have here:

I started with a clean install of Linux (In my case, Linux Mint 20.2) I successfully set this program up on Linux Mint running in VirtualBox on a Windows 10 PC, as well as a fresh install on a Raspberry pi 400 Running the Raspberry pi OS.
NOTE: You can supposedly update an existing op25 Boatbod installation to this version, but I was not successful in my attempts to do so.

Fresh install:
Open a Terminal. Run this command:
git clone https://git.osmocom.org/op25
(NOTE: If git isn't installed on your system, you'll get an error message, along with a command to install it).

You will see a message: "Cloning into OP25"

After this completes, enter this command to change to the op25 folder:
cd op25

Then, (from inside the op25 folder), enter this command:
./install.sh

Assuming everything goes okay, and you get no error messages, it should now be installed.

Now you must set up two .tsv files. One contains the name of the trunked system, the control channel frequencies, the offset, the system NAC code, and the name of the trunked ID's .tsv file to be used.

There are other options than can be set up in this .tsv file, but get the program up and running first.

The other .tsv file contains the talkgroup number (decimal) in the first column, and the text tag you want assigned to that talkgroup in the second column. The name of this file should appear in column "F" of the first (trunking) .tsv file.

In order to see the web interface, you need to open your web browser, and type this in the address bar:

You also need a command line to start the program running.

My command line when using an Airspy:
./rx.py --args 'airspy' --gains 'lna:30' -X -T cstrunk.tsv -q -1 -S 2500000 -U -P constellation -l 'http:0.0.0.0:8080' -2 -v 10 2> stderr.2

My command line if using an rtl dongle:
./rx.py --args 'rtl' --gains 'lna:30' -X -T cstrunk.tsv -q -1 -S 960000 -U -P constellation -l 'http:0.0.0.0:8080' -2 -v 10 2> stderr.2

NOTE: "cstrunk.tsv" is the name of the .tsv file that contains the information about the trunking system you want to monitor. You may name it anything you want, but the name of the file must appear in the trunking .tsv file, and the .tsv file must be located in the "apps" folder.

NOTE: My setup uses rx.py, and not multi_rx.py, which I have not yet tried.

The above procedures and settings work FOR ME. They may or may not work for you. They are not guaranteed in any way. Additions and corrections welcomed.
 

n8zuz

Member
Joined
Jul 17, 2004
Messages
63
Location
Windy WY
Then, (from inside the op25 folder), enter this command:
./install.sh

Assuming everything goes okay, and you get no error messages, it should now be installed.

Thank you W4KRR, I was doing those things plus I did the uninstall before all that. Earlier this week I installed and got running the boatbod version on this same Linux Mint (not VM but dual boot) and it was working well. Because of this I already have my trunk.esv and my TG.tsv

I did this:
cd ~/op25/build
sudo make uninstall and it ran fine and took about 20 seconds or so to uninstall.

Then I renamed my OP25 folder to "OP25_boatbod".

Then I followed your instructions to the ./install.sh and I get the following (what I think are errors are in red):
john@JD:~/op25$ ./install.sh
Ign:1 Repository - Linux Mint uma InRelease
Get:2 Index of /ubuntu focal-security InRelease [114 kB]
Hit:3 Repository - Linux Mint uma Release
Hit:4 Index of /ubuntu focal InRelease
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:6 Index of /ubuntu focal InRelease
Get:7 Index of /ubuntu focal-updates InRelease [114 kB]
Get:9 Index of /ubuntu focal-backports InRelease [101 kB]
Get:10 Index of /ubuntu focal-security/main amd64 DEP-11 Metadata [29.0 kB]
Get:11 Index of /ubuntu focal-security/universe amd64 DEP-11 Metadata [62.5 kB]
Get:12 Index of /ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:13 Index of /ubuntu focal-updates/main amd64 DEP-11 Metadata [283 kB]
Get:14 Index of /ubuntu focal-updates/universe amd64 DEP-11 Metadata [361 kB]
Get:15 Index of /ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Get:16 Index of /ubuntu focal-backports/universe amd64 DEP-11 Metadata [10.4 kB]
Fetched 1,078 kB in 3s (370 kB/s)
Reading package lists... Done
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-waitress
E: Unable to locate package python-requests

-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.35") found components: filesystem system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cppunit'
-- Found cppunit, version 1.15.1
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl
-- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so
-- Checking for module 'gmp'
-- Found gmp, version 6.2.0
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)

-- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71.0") found components: date_time program_options filesystem system regex thread unit_test_framework
-- Found VOLK: Volk::volk
CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:48 (if):
if given arguments:

"ON"

An argument named "ON" appears in a conditional statement. Policy CMP0012
is not set: if() recognizes numbers and boolean constants. Run "cmake
--help-policy CMP0012" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
op25/gr-op25/CMakeLists.txt:96 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

The included script

/usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake

affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
op25/gr-op25/CMakeLists.txt:96 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at op25/gr-op25/CMakeLists.txt:99 (message):
GnuRadio Runtime required to compile op25

-- Configuring incomplete, errors occurred!
See also "/home/john/op25/build/CMakeFiles/CMakeOutput.log".
See also "/home/john/op25/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.

======
====== NOTICE
======
====== The gnuplot package is not installed by default here,
====== as its installation requires numerous prerequisite packages
====== that you may not want to install.
======
====== In order to do plotting in rx.py using the -P option
====== you must install gnuplot, e.g., manually as follows:
======
====== sudo apt-get install gnuplot-x11
 

devicenull

Member
Joined
Apr 19, 2013
Messages
23
Thank you W4KRR, I was doing those things plus I did the uninstall before all that. Earlier this week I installed and got running the boatbod version on this same Linux Mint (not VM but dual boot) and it was working well. Because of this I already have my trunk.esv and my TG.tsv

I did this:
cd ~/op25/build
sudo make uninstall and it ran fine and took about 20 seconds or so to uninstall.

Then I renamed my OP25 folder to "OP25_boatbod".

Then I followed your instructions to the ./install.sh and I get the following (what I think are errors are in red):
john@JD:~/op25$ ./install.sh
Ign:1 Repository - Linux Mint uma InRelease
Get:2 Index of /ubuntu focal-security InRelease [114 kB]
Hit:3 Repository - Linux Mint uma Release
Hit:4 Index of /ubuntu focal InRelease
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:6 Index of /ubuntu focal InRelease
Get:7 Index of /ubuntu focal-updates InRelease [114 kB]
Get:9 Index of /ubuntu focal-backports InRelease [101 kB]
Get:10 Index of /ubuntu focal-security/main amd64 DEP-11 Metadata [29.0 kB]
Get:11 Index of /ubuntu focal-security/universe amd64 DEP-11 Metadata [62.5 kB]
Get:12 Index of /ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:13 Index of /ubuntu focal-updates/main amd64 DEP-11 Metadata [283 kB]
Get:14 Index of /ubuntu focal-updates/universe amd64 DEP-11 Metadata [361 kB]
Get:15 Index of /ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Get:16 Index of /ubuntu focal-backports/universe amd64 DEP-11 Metadata [10.4 kB]
Fetched 1,078 kB in 3s (370 kB/s)
Reading package lists... Done
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-waitress
E: Unable to locate package python-requests

-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.35") found components: filesystem system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cppunit'
-- Found cppunit, version 1.15.1
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl
-- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so
-- Checking for module 'gmp'
-- Found gmp, version 6.2.0
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)

-- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71.0") found components: date_time program_options filesystem system regex thread unit_test_framework
-- Found VOLK: Volk::volk
CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:48 (if):
if given arguments:

"ON"

An argument named "ON" appears in a conditional statement. Policy CMP0012
is not set: if() recognizes numbers and boolean constants. Run "cmake
--help-policy CMP0012" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
op25/gr-op25/CMakeLists.txt:96 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

The included script

/usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake

affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
op25/gr-op25/CMakeLists.txt:96 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at op25/gr-op25/CMakeLists.txt:99 (message):
GnuRadio Runtime required to compile op25

-- Configuring incomplete, errors occurred!
See also "/home/john/op25/build/CMakeFiles/CMakeOutput.log".
See also "/home/john/op25/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.

======
====== NOTICE
======
====== The gnuplot package is not installed by default here,
====== as its installation requires numerous prerequisite packages
====== that you may not want to install.
======
====== In order to do plotting in rx.py using the -P option
====== you must install gnuplot, e.g., manually as follows:
======
====== sudo apt-get install gnuplot-x11

Did you run the patch script? Look at `README-gr3.8.patch` for details
 
Last edited:

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
n8zuz, I was getting almost the exact same error message you got after it said "-- Configuring incomplete, errors occurred! ".

I kept trying, and eventually I got no errors, and it installed successfully. I don't remember exactly what the problem was; it may have had something to do with gnuradio not being installed properly, or at all.

When it comes to the error messages, I won't be of much help, I'm afraid.
 

sjacket99

FuzzThePiGuy
Feed Provider
Joined
Dec 21, 2016
Messages
79
Location
Pa
n8zuz, I was getting almost the exact same error message you got after it said "-- Configuring incomplete, errors occurred! ".

I kept trying, and eventually I got no errors, and it installed successfully. I don't remember exactly what the problem was; it may have had something to do with gnuradio not being installed properly, or at all.

When it comes to the error messages, I won't be of much help, I'm afraid.

I got the same error message on Ubuntu, Linux Mint, and Linux Lite.
 

n8zuz

Member
Joined
Jul 17, 2004
Messages
63
Location
Windy WY
Thank you everyone for the help. I have it up and running locally and with the web ui. I still need to work on getting the audio passed to other devices via the web ui. I wrote up what I did in case others have similar problems. I used some of what W4KRR said and added the changes I had to make that others mentioned.

If you already have another version of OP25 you should:
cd ~/op25/build
sudo make uninstall

You can then rename your old op25 folder to op25_old to keep for files for reference. From here continue as if it's a fresh install.

Fresh install:
git clone https://git.osmocom.org/op25
(NOTE: If git isn't installed on your system, you'll get an error message, along with a command to install it).

You will see a message: "Cloning into OP25"

cd op25
cat gr3.8.patch | patch -p1 (to install the gnu radio patch)
./install.sh (to install OP25)

Assuming everything goes okay, and you get no error messages, it should now be installed.

I had errors and had to:
cd /etc/apt
sudo gedit sources.list (I already had gedit editor on my machine) then uncomment the deb-src line (delete the #) and save.
sudo apt-get update
and delete the OP25 folder and start over again from the fresh start.

Now you must set up two .tsv files. One contains the name of the trunked system, the control channel frequencies, the offset, the system NAC code. The other .tsv file contains the talkgroup number (decimal) in the first column, and the text tag you want assigned to that talkgroup in the second column. The name of this file should appear in column "F" of the first (trunking) .tsv file.

To run (I'm using RTL-SDR V3):
cd ~/op25/op25/gr-op25_repeater/apps
./rx.py --args 'rtl' --gains 'lna:30' -X -T trunk.tsv -q -1 -S 960000 -U -P fft -l 'http:0.0.0.0:8080' -2 -v 10 2> stderr.2

In order to see the web interface, you need to open your web browser, and type this in the address bar:
 

sjacket99

FuzzThePiGuy
Feed Provider
Joined
Dec 21, 2016
Messages
79
Location
Pa
I was able to clear some errors on Ubuntu

cd ~/op25/op25/gr-op25_repeater/apps

sudo nano install.sh

Goto line 15

Replace:

Code:
sudo apt-get install gnuradio gnuradio-dev gr-osmosdr librtlsdr-dev libuhd-dev  libhackrf-dev libitpp-dev libpcap-dev cmake git swig build-essential pkg-config doxygen python-numpy python-waitress python-requests

to

sudo apt-get install gnuradio gnuradio-dev gr-osmosdr librtlsdr-dev libuhd-dev  libhackrf-dev libitpp-dev libpcap-dev cmake git swig build-essential pkg-config doxygen python3-numpy python3-waitress python3-requests

Then rerun:

Code:
./install.sh
 

n8zuz

Member
Joined
Jul 17, 2004
Messages
63
Location
Windy WY
While I now have OP25 working with this beta, I tried getting audio via the web by following the steps in: README-hls\apps\gr-op25_repeater\op25 - op25 - Osmocom OP25

I think I got everything but I'm not getting the audio to work even after running ffmpeg.liq and it shows it's running in the terminal.

I added the -V -w to my start script as well as I started ffmpeg.liq

I'm not sure where to turn to get this running. It seems just setting up icecast on boatbod would be easier.
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
While I now have OP25 working with this beta, I tried getting audio via the web by following the steps in: README-hls\apps\gr-op25_repeater\op25 - op25 - Osmocom OP25

I think I got everything but I'm not getting the audio to work even after running ffmpeg.liq and it shows it's running in the terminal.

I added the -V -w to my start script as well as I started ffmpeg.liq

I'm not sure where to turn to get this running. It seems just setting up icecast on boatbod would be easier.

Whatever the problem is can usually be sectionalized with a short series of tests.

After letting everything run for a few minutes, what files (if any) do you see in directory /var/www/html/hls?

Max
 

n5pwp

Member
Joined
Jan 10, 2015
Messages
281
Location
Spring, Texas
While configuring the color tags for the TGs I noticed that after saving the updates they don't take affect right away. I read the help on it and it says that after saving it will automatically send a reload of the tsv file. Then there is a button in the help file to force it to reload. None of those seem to reload the modified tsv file. I have to stop OP25 and restart it to get it to start showing the changes. Am I just too impatient? Does it take awhile before the updated color tags show on the GUI?
 

Outerdog

T¹ ÆS Ø
Premium Subscriber
Joined
Jul 1, 2016
Messages
669
While configuring the color tags for the TGs I noticed that after saving the updates they don't take affect right away. I read the help on it and it says that after saving it will automatically send a reload of the tsv file. Then there is a button in the help file to force it to reload. None of those seem to reload the modified tsv file. I have to stop OP25 and restart it to get it to start showing the changes. Am I just too impatient? Does it take awhile before the updated color tags show on the GUI?
It should take 4 seconds for the changes to show in the gui.

Can you try this for me please... make a change, then instead of stopping/starting OP25, reload the Web UI and see if the change shows. This will determine if the problem is in the javascript or elsewhere.
 

n8zuz

Member
Joined
Jul 17, 2004
Messages
63
Location
Windy WY
After letting everything run for a few minutes, what files (if any) do you see in directory /var/www/html/hls?

Hi Max. Sorry for getting grumpy after fiddling with it so much last night. I have a bunch of files that are named stream-42xx.ts in the folder you mentioned.

Also, I noticed if I go to 127.0.0.1:8081/live.html on the local machine I do get a video showing but as I'm testing it I am not getting any audio through that live.html.

When I use another device and put in the IP of my computer such as 192.168.2.83:8081/live.html I don't get anything that works ie no video nor audio.

Thanks,
N8ZUZ
 

n5pwp

Member
Joined
Jan 10, 2015
Messages
281
Location
Spring, Texas
Can you try this for me please... make a change, then instead of stopping/starting OP25, reload the Web UI and see if the change shows. This will determine if the problem is in the javascript or elsewhere.
I did as you asked. Made a change, Saved and then did a refresh on the Web GUI. The change did not show up.
I see what you mean when you say mods to the GUI are not persistent. When I refreshed I lost all the mods. Luckily I almost have the key toggles memorized t do it without having to refer back to Help. ;-)
 

Outerdog

T¹ ÆS Ø
Premium Subscriber
Joined
Jul 1, 2016
Messages
669
I did as you asked. Made a change, Saved and then did a refresh on the Web GUI. The change did not show up.

Ok let's try this...

Navigate to ~/op25/op25/gr-op25_repeater/apps

then
Code:
$ tail -f stderr.2

While that's running, do an edit to the talkgroup colors and save it. Watch the stderr.2 tail while you do this. We're looking for these results (obviously with your filenames):

Code:
saved UI settings to ebrcs-tg.tsv
.
.
.
reloaded ebrcs-tg.tsv nac 0x1f5
reloaded ebrcs-su.tsv nac 0x1f5

We're also looking for an error message there. Perhaps "invalid filename" or similar.

Let me know what happens.
 

n5pwp

Member
Joined
Jan 10, 2015
Messages
281
Location
Spring, Texas
OK, I was already monitoring stderr.2 with tail. I looked back through what was captured in the terminal window and nothing like that was logged. I then piped it to grep looking for the "reloading" string. Again, nothing. So it looks like I do see the "saved UI settings to txwarn1a.tsv" but I never see the reloaded msg.

Also, side note sometimes when clicking on the TG in the History window I will get a response saying the group doesn't exist. But, if I manually scroll down in the Talkgroup TSV Editor window I can find the TG. My Pi doesn't look like it is being swamped. It is just cruising along at about 19% cpu. Not a biggie but it kinda takes some of the sheen off of it. I'm still very pleased with it and expect that over the weeks and months you guys will make it a sparkling jewel.:giggle:

Mike
 

Outerdog

T¹ ÆS Ø
Premium Subscriber
Joined
Jul 1, 2016
Messages
669
I am unable to duplicate any error locally, so without further information, I'm afraid I don't know what else to do. The success or error message you should grep for is one of these two:

Code:
            sys.stderr.write('cfg-tsvsave: invalid filename %s\n' % filename)   <--- error
            return None
        open(filename, 'w').write(d['data'])
        sys.stderr.write('saved UI settings to %s\n' % filename)  <--- success

So grep for "saved UI" and see if that pops.
 
Status
Not open for further replies.
Top