OP25 Major New OP25 Release - Seeking Beta Testers

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
Code:
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown
gain: name: LNA range: start 0 stop 0 step 0
setting gain LNA to 37
supported sample rates 250000-2560000 step 24000
tuskin@tuskin-Inspiron-700m:~/op25/op25/gr-op25_repeater/apps$

From the above it appears rx.py is ending and since there's no suggestion of a keyboard interrupt the conclusion is it must be quitting due to some error.

Any messages in the stderr file?

Max
 

Paco-Jerte

You Member, Member!
Joined
Nov 28, 2007
Messages
556
Location
34.0500° N, 118.2500° W
From the above it appears rx.py is ending and since there's no suggestion of a keyboard interrupt the conclusion is it must be quitting due to some error.

Any messages in the stderr file?

Max



gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.11
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Found Rafael Micro R820T tuner
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Traceback (most recent call last):
File "./rx.py", line 873, in <module>
rx = rx_main()
File "./rx.py", line 796, in __init__
self.tb = p25_rx_block(self.options)
File "./rx.py", line 161, in __init__
gain = int(gain)
ValueError: invalid literal for int() with base 10: '37\xe2\x80\x99'
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
ValueError: invalid literal for int() with base 10: '37\xe2\x80\x99'

The gain value you've specified (LNA:37) is evidently followed by what looks like a regular apostrophe - but has hex values of e2xxx instead of the proper ASCII value (hex 27). This can sometimes happen if the text is pasted from a "rich text" source or a web page, etc.

You'll have to edit the file - *all instances* of these non-ASCII characters must be excised.

Max
 

Paco-Jerte

You Member, Member!
Joined
Nov 28, 2007
Messages
556
Location
34.0500° N, 118.2500° W
The gain value you've specified (LNA:37) is evidently followed by what looks like a regular apostrophe - but has hex values of e2xxx instead of the proper ASCII value (hex 27). This can sometimes happen if the text is pasted from a "rich text" source or a web page, etc.

You'll have to edit the file - *all instances* of these non-ASCII characters must be excised.

Max

hmmm ok, never had this issue before with c/p commands in the past with other versions of op25.
 

mkmer

Member
Joined
Jun 11, 2019
Messages
7
Anyone having issues with Ubuntu 20.04.01LTS?

I just upgraded (from 20.04 which was working). OP25 quit working, so I uninstalled, updated my local repo (which was already up to date), confirmed patch 3.8 patch was installed, and rebuilt OP25 with install-gr3.9.sh. Now rx.py appears to hang at launch, and multi_rx.py and http_server.py tosses a "illegal instruction (core dumped) fault at launch.

Everything compiled nice - other than a few warnings.
 

mkmer

Member
Joined
Jun 11, 2019
Messages
7
Following up on Tuesday post... looks like multi_rx.py strace ends with:
read(3, "", 1024) = 0
close(3) = 0
getrandom("\xbd\x21\x70\x1d\x79\xb9\xc8\xad", 8, 0) = 8
--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x7fb9c3b50660} ---

Maybe getrandom function is somehow broken?

As described in README, rx.py is exhibiting the timeout issue - so I guess that's known.
 

WX4JCW

Member
Premium Subscriber
Joined
Jun 26, 2006
Messages
3,403
Location
Stow, Ohio
ok im stumped - when i go to click and edit a SUID i get the following error

Source tag TSV file not specified in config file. Cannot edit.

any ideas?
 

Outerdog

T¹ ÆS Ø
Premium Subscriber
Joined
Jul 1, 2016
Messages
641
ok im stumped - when i go to click and edit a SUID i get the following error

Source tag TSV file not specified in config file. Cannot edit.

any ideas?

Pretty self-explanatory. You have to specify the tsv file for the source ID tags in the trunk.tsv file. It goes in the "TGID Tags File" field, and is a comma-separated value alongside the talkgroup tags value.

For example:

Code:
"Sysname"    "Control Channel List"    "Offset"    "NAC"    "Modulation"    "TGID Tags File"    "Whitelist"    "Blacklist"    "Center Frequency"
"EBRCS CCCO Central"    "774.45625,773.90625,774.18125,774.73125"    "0"    "0x1F5"    "CQPSK"    "ebrcs-tg.tsv,ebrcs-su.tsv"
 

mkmer

Member
Joined
Jun 11, 2019
Messages
7
Just did a clean install on Ubuntu 20.04, having issues with the flask logging:

Code:
File "/op25/op25/gr-op25_repeater/apps/oplog/op25/__init__.py", line 57, in <module>
    db.reflect(app=app)
TypeError: reflect() got an unexpected keyword argument 'app'

Maybe a newer version of SQLAlchemy than expected?
 

Outerdog

T¹ ÆS Ø
Premium Subscriber
Joined
Jul 1, 2016
Messages
641
There is a patch for this which should be posted to the repo soon. I haven't tested this yet.

Save the file and use git apply to apply the patch.

Code:
diff --git a/op25/gr-op25_repeater/apps/oplog/op25/__init__.py b/op25/gr-op25_repeater/apps/oplog/op25/__init__.py
index 4c6b257..9e34798 100644
--- a/op25/gr-op25_repeater/apps/oplog/op25/__init__.py
+++ b/op25/gr-op25_repeater/apps/oplog/op25/__init__.py
@@ -51,12 +51,13 @@ app.config['SQLALCHEMY_ECHO'] = False  # set to True to send sql statements to t
app.secret_key = b'kH8HT0ucrh' # random bytes - this key not used anywhere else

db = SQLAlchemy(app)
+db.init_app(app)

-try:
-    db.reflect(app=app)
-    db.init_app(app)
-except OperationalError as e:
-    raise(e) # database is locked by another process
+with app.app_context():
+    try:
+        db.reflect()
+    except OperationalError as e:
+        raise(e) # database is locked by another process

class MyDateType(types.TypeDecorator):
     impl = types.REAL

Credit to Bill (I think).
 

Attachments

  • oplog.zip
    592 bytes · Views: 3

mkmer

Member
Joined
Jun 11, 2019
Messages
7
There is a patch for this which should be posted to the repo soon. I haven't tested this yet.

Save the file and use git apply to apply the patch.

Code:
diff --git a/op25/gr-op25_repeater/apps/oplog/op25/__init__.py b/op25/gr-op25_repeater/apps/oplog/op25/__init__.py
index 4c6b257..9e34798 100644
--- a/op25/gr-op25_repeater/apps/oplog/op25/__init__.py
+++ b/op25/gr-op25_repeater/apps/oplog/op25/__init__.py
@@ -51,12 +51,13 @@ app.config['SQLALCHEMY_ECHO'] = False  # set to True to send sql statements to t
app.secret_key = b'kH8HT0ucrh' # random bytes - this key not used anywhere else

db = SQLAlchemy(app)
+db.init_app(app)

-try:
-    db.reflect(app=app)
-    db.init_app(app)
-except OperationalError as e:
-    raise(e) # database is locked by another process
+with app.app_context():
+    try:
+        db.reflect()
+    except OperationalError as e:
+        raise(e) # database is locked by another process

class MyDateType(types.TypeDecorator):
     impl = types.REAL

Credit to Bill (I think).

Works like a champ!
I didn't see this anywhere on google - hope this will help others too.
 

Outerdog

T¹ ÆS Ø
Premium Subscriber
Joined
Jul 1, 2016
Messages
641
Works like a champ!
I didn't see this anywhere on google - hope this will help others too.

Thanks for the report back.

This issue just cropped up within the last few days.
 

CanesFan95

Active Member
Joined
Feb 14, 2008
Messages
3,014
Location
FL
Is there a way to know if there's a newer version available so we can know when to do an update?
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
919
Location
NE Wisconsin
You can periodically check the the website for recent updates or simply perform a git pull from the ~/op25 folder.
 
Top