OP25 Boatbod OP25 UI Timeout Error - New Python Verion


Feed Provider
Sep 17, 2004
Culpeper, VA
I am running two instances of Boatbod op25 on Linux Mint that just started locking up with the following errors:

streaming server url="http://localhost:8000/cul.m3u
python version detected: 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]
post_req: error processing input: b''
Traceback (most recent call last):
File "/home/ku/op25/op25/gr-op25_repeater/apps/http_server.py", line 71, in post_req
data = json.loads(postdata)
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

When I pulled execute the ./install.sh the compilation ends with the following errors:
[ 89%] Linking CXX shared module op25_repeater_python.cpython-310-x86_64-linux-gnu.so
lto-wrapper: warning: using serial compilation of 5 LTRANS jobs
during RTL pass: final
/usr/include/pybind11/detail/internals.h: In function ‘translate_exception’:
/usr/include/pybind11/detail/internals.h:386:1: internal compiler error: in ix86_print_operand_address_as, at config/i386/i386.c:13598
386 | }
| ^
0x7f207ef37d8f __libc_start_call_main
0x7f207ef37e3f __libc_start_main_impl
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

I have no clue what this means but I am guessing the Python version was newer and screwed it up. I "timeshift" back to the 28th and it seems to be working. I guess when I ran an upgrade the Python got updated.

So this is a heads up I guess.

I am running version 21.1 of Mint.