Quoting op25@zellners.com:
For OP25-boatbod is this Python 3.7 compatible??????
After doing an apt-get install for python3-waitress
Then rerun rx.py
It fails on the import for httplib
And from what I see from 2.7 to 3.x httplib is now http.client so all the calls for that are now changed....
So I am going to guess that any further attempts to add in the python3 packages needed will still fail to get OP25-boatbod to run till this any other ABI changes are made...
trace for FYI: r/apps$ ./rx.py --args 'rtl' -N 'LNA:47' -S 2400000 -f 857.2625e6 -o 25000 -q -2 File "./rx.py", line 118 print "osmosdr source_c creation failure" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("osmosdr source_c creation failure")? Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/waitress/compat.py", line 119, in <module> import httplib ModuleNotFoundError: No module named 'httplib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module> from apport.report import Report File "/usr/lib/python3/dist-packages/apport/report.py", line 21, in <module> from urllib.request import urlopen File "/usr/lib/python3.8/urllib/request.py", line 88, in <module> import http.client File "/home/lauren/op25/op25/gr-op25_repeater/apps/http.py", line 31, in <module> from waitress.server import create_server File "/usr/lib/python3/dist-packages/waitress/__init__.py", line 1, in <module> from waitress.server import create_server File "/usr/lib/python3/dist-packages/waitress/server.py", line 20, in <module> from waitress import trigger File "/usr/lib/python3/dist-packages/waitress/trigger.py", line 20, in <module> from . import wasyncore File "/usr/lib/python3/dist-packages/waitress/wasyncore.py", line 54, in <module> from . import compat File "/usr/lib/python3/dist-packages/waitress/compat.py", line 121, in <module> from http import client as httplib ImportError: cannot import name 'client' from partially initialized module 'http' (most likely due to a circular import) (/home/lauren/op25/op25/gr-op25_repeater/apps/http.py)
Original exception was: File "./rx.py", line 118 print "osmosdr source_c creation failure" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("osmosdr source_c creation failure")?