OP25 Major New OP25 Release - Seeking Beta Testers

Status
Not open for further replies.

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
warning: trunk control channel frequency 856.062500 does not match rfss frequency 854.112500

That warning message is not necessarily a trouble indicator. As long as both the frequencies listed in the message are valid system frequencies it's not a problem. The intent of the message is to aid in diagnosis in case you've possibly got something amiss in the configuration.

Max
 

krutzy

Member
Feed Provider
Joined
Sep 17, 2004
Messages
141
Location
Culpeper, VA
Thank you Max. Just learning what some of these messages indicate as well as this how this system operates with the pooling of frequencies with two separate and simultaneous control channels, setting things up has been a challenge. But an interesting one.
 

busterphenajo

Member
Joined
Jan 1, 2005
Messages
41
Location
Sacramento, Ca.
Hi, I am unable to view logging in op25.

Firefox can’t establish a connection to the server at 127.0.0.1:5000.

Traceback (most recent call last):
File "/home/don/op25/op25/gr-op25_repeater/apps/sql_dbi.py", line 78, in insert_row
self.cursor.execute(d['command'], d['row'])
OperationalError: no such table: data_store

./rx.py --args 'airspy' -f 853.45e6 -N 'RF:11,IF:13,BB:11' -S 10000000 -q -0 -v 11 -d 2400 -P constellation --nocrypt -U -T trunk-sac.tsv -w 2> stderr.2 -l http:127.0.0.1:8080

is this a simple fix?
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
Firefox can’t establish a connection to the server at 127.0.0.1:5000.

Traceback (most recent call last):
File "/home/don/op25/op25/gr-op25_repeater/apps/sql_dbi.py", line 78, in insert_row
self.cursor.execute(d['command'], d['row'])
OperationalError: no such table: data_store

Sounds like the DB hasn't been initialized and the flask / datatables stuff haven't been installed - read the last two sections in the July 2021 README file........

Also - when posting tracebacks please post the entire traceback, not just the last section........

Max
 

Watton925

Member
Premium Subscriber
Joined
Aug 26, 2019
Messages
62
Getting this error also not sure how to fix it read thru readme couple times with no luck any suggestions welcomed and also can not get Plot to work tried to add -P to command line but nothing.

Traceback (most recent call last):
File "/home/pi/op25/op25/gr-op25_repeater/apps/sql_dbi.py", line 78, in insert_row
self.cursor.execute(d['command'], d['row'])
OperationalError: no such table: data_store

Command line I use :
./rx.py --args 'rtl=0,bias=1' -N 'LNA:40' -S 960000 -f 453.4750e6 -l 'http:0.0.0:8080' -o 250000 -q-2 -O hw:0 -x2.0 -T trunk.tsv -V -2 -U 2> stderr.2
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
Getting this error also not sure how to fix it read thru readme couple times with no luck any suggestions welcomed and also can not get Plot to work tried to add -P to command line but nothing.

Traceback (most recent call last):
File "/home/pi/op25/op25/gr-op25_repeater/apps/sql_dbi.py", line 78, in insert_row
self.cursor.execute(d['command'], d['row'])
OperationalError: no such table: data_store

Command line I use :
./rx.py --args 'rtl=0,bias=1' -N 'LNA:40' -S 960000 -f 453.4750e6 -l 'http:0.0.0:8080' -o 250000 -q-2 -O hw:0 -x2.0 -T trunk.tsv -V -2 -U 2> stderr.2

Sounds like the DB hasn't been initialized and the flask / datatables stuff haven't been installed - read the last two sections in the July 2021 README file........

Re: plots - check if gnuplot has been installed
Code:
dpkg-query -l | grep gnuplot
 

Watton925

Member
Premium Subscriber
Joined
Aug 26, 2019
Messages
62
Seems to be working fine all but the logs and plot and yes looked thru post and the read me just cant figure it out .
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
Seems to be working fine all but the logs and plot and yes looked thru post and the read me just cant figure it out .

1. The command line you posted does not contain a "-P" option

2. What happens when you try connecting via the www browser to port 5000?

3. Can you post a copy of your stderr.2 log file
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
OK in rx.py the option "-P" requires an argument - try something like

rx.py . . . . -P "symbol"

The option "-P" will actually accept a comma separated list of plot types = for example, you might also try
something like -P "symbol,fft"
 

blantonl

Founder and CEO
Staff member
Super Moderator
Joined
Dec 9, 2000
Messages
11,400
Location
San Antonio, Whitefish, New Orleans
Hi, I am unable to view logging in op25.

Firefox can’t establish a connection to the server at 127.0.0.1:5000.

Traceback (most recent call last):
File "/home/don/op25/op25/gr-op25_repeater/apps/sql_dbi.py", line 78, in insert_row
self.cursor.execute(d['command'], d['row'])
OperationalError: no such table: data_store

./rx.py --args 'airspy' -f 853.45e6 -N 'RF:11,IF:13,BB:11' -S 10000000 -q -0 -v 11 -d 2400 -P constellation --nocrypt -U -T trunk-sac.tsv -w 2> stderr.2 -l http:127.0.0.1:8080

is this a simple fix?
you specified port 8080 and not 5000 for your server.
 

Outerdog

T¹ ÆS Ø
Premium Subscriber
Joined
Jul 1, 2016
Messages
669
you specified port 8080 and not 5000 for your server.

Remember that when OP25 is running the web ui and the flask/oplog app, there are 2 "servers" running. The ip/port specified in the rx.py command line arguments is for the web ui and is usually specified as 8080. By default, the flask/oplog app runs on port 5000, which is what I am assuming GP is trying to do when they say "view logging in op25"... (?).
 

Watton925

Member
Premium Subscriber
Joined
Aug 26, 2019
Messages
62
OK in rx.py the option "-P" requires an argument - try something like

rx.py . . . . -P "symbol"

The option "-P" will actually accept a comma separated list of plot types = for example, you might also try
something like -P "symbol,fft"
Thats was the problem. Thank You.
 

Watton925

Member
Premium Subscriber
Joined
Aug 26, 2019
Messages
62
Its working great on my local P25 system if I could just get This figured out.

Traceback (most recent call last):
File "/home/don/op25/op25/gr-op25_repeater/apps/sql_dbi.py", line 78, in insert_row
self.cursor.execute(d['command'], d['row'])
OperationalError: no such table: data_store
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,064
Location
NE Wisconsin
Its working great on my local P25 system if I could just get This figured out.

Traceback (most recent call last):
File "/home/don/op25/op25/gr-op25_repeater/apps/sql_dbi.py", line 78, in insert_row
self.cursor.execute(d['command'], d['row'])
OperationalError: no such table: data_store

Watton925,

I am retired and have plenty of time to to assist via phone or remote login if you or anyone else could use a little help to get either of the major OP25 repos, or SQL Logging (Flask) up and running. Just send me a PM with your personal email contact info and we can make arrangements from there.

Bill
 

krutzy

Member
Feed Provider
Joined
Sep 17, 2004
Messages
141
Location
Culpeper, VA
Another issue. I was getting ready to post something new but this belongs here. I went to Purge my database. It is 12.5 MB in size. I uploaded it to my PC for reference. When I went through the purge the database of the database (putting the beginning an ending dates in at the top) and I get this error:


  • File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
    raise value
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  • File "/home/pi/op25/op25/gr-op25_repeater/apps/oplog/op25/__init__.py", line 490, in purge
    copyfile(src, dst)
UnboundLocalError: local variable 'src' referenced before assignment

If it gets too big I can always delete and define again.

Not sure where src is supposed to be defined but wanted you to be aware.
 

Outerdog

T¹ ÆS Ø
Premium Subscriber
Joined
Jul 1, 2016
Messages
669
Another issue. I was getting ready to post something new but this belongs here. I went to Purge my database. It is 12.5 MB in size. I uploaded it to my PC for reference. When I went through the purge the database of the database (putting the beginning an ending dates in at the top) and I get this error:


  • File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
    raise value
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  • File "/home/pi/op25/op25/gr-op25_repeater/apps/oplog/op25/__init__.py", line 490, in purge
    copyfile(src, dst)


If it gets too big I can always delete and define again.

Not sure where src is supposed to be defined but wanted you to be aware.

As Max said, this was fixed and the repo updated yesterday.

The cause of this was 'src' being used in an if statement without being defined. You can do git pull from within the op25 directory structure, or select "Create Database Backup File" on the Purge page as a fix.
 
Status
Not open for further replies.
Top