Hello again,
I'm suffering from some confusion with regards to setting up logs for OP25 Osmocom and wondering if it is even possible. There was at one point some conflicting information here regarding this.
This post, from @wgbecks , indicates that it doesn't work after Ubuntu 18.04.
This post, from @CanesFan95 , indicates that at one point it was working in Ubuntu 20.04 and the setup instructions are included in his great tutorial, so I set out to try to get that to work. I get all the way to the end and then this:
I'm not sure how to proceed from here as I simply don't have the knowledge. I did try to search this up but I'm not sure any of what I found would be applicable in this case, and I'm not sure at this point if changes to things along the way are rendering this impossible anyway.
A separate question follows.
Is Osmocom still being developed? I noticed as of July of 2022 @KA1RBI seemed to disappear from these forums. I hope he is okay. I am trying to determine the best path forward for long-term use of OP25 for when the statewide system in MA (CoMIRS) finally makes it to Cape Cod. Both versions are absolutely brilliant, the audio recovery is superb, and both have their pluses and minuses from what I can see. Osmocom is "prettier" in its web interface but it seems that Boatbod is more "active" for lack of a better term.
My next endeavor is a setup on a Raspberry Pi 4B with 8GB of RAM. Trying to consider my best move to learn without blowing up the OS 5000 times. I don't mind 4999, but 5000....I can't do dat...
Any help is appreciated as always, and thanks.
I'm suffering from some confusion with regards to setting up logs for OP25 Osmocom and wondering if it is even possible. There was at one point some conflicting information here regarding this.
This post, from @wgbecks , indicates that it doesn't work after Ubuntu 18.04.
This post, from @CanesFan95 , indicates that at one point it was working in Ubuntu 20.04 and the setup instructions are included in his great tutorial, so I set out to try to get that to work. I get all the way to the end and then this:
Code:
scott@Osmocom:~$ cd op25/op25/gr-op25_repeater/apps/oplog
scott@Osmocom:~/op25/op25/gr-op25_repeater/apps/oplog$ export FLASK_APP=op25
scott@Osmocom:~/op25/op25/gr-op25_repeater/apps/oplog$ FLASK_DEBUG=1 flask run
/home/scott/op25/op25/gr-op25_repeater/apps/oplog/op25/__init__.py:228: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if ds is not 0:
/home/scott/op25/op25/gr-op25_repeater/apps/oplog/op25/__init__.py:238: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if ds is not 0:
Traceback (most recent call last):
File "/home/scott/.local/bin/flask", line 8, in <module>
sys.exit(main())
File "/home/scott/.local/lib/python3.8/site-packages/flask/cli.py", line 1063, in main
cli.main()
File "/home/scott/.local/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/scott/.local/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/scott/.local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/scott/.local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/scott/.local/lib/python3.8/site-packages/click/decorators.py", line 84, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/home/scott/.local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/scott/.local/lib/python3.8/site-packages/flask/cli.py", line 911, in run_command
raise e from None
File "/home/scott/.local/lib/python3.8/site-packages/flask/cli.py", line 897, in run_command
app = info.load_app()
File "/home/scott/.local/lib/python3.8/site-packages/flask/cli.py", line 308, in load_app
app = locate_app(import_name, name)
File "/home/scott/.local/lib/python3.8/site-packages/flask/cli.py", line 218, in locate_app
__import__(module_name)
File "/home/scott/op25/op25/gr-op25_repeater/apps/oplog/op25/__init__.py", line 54, in <module>
db.init_app(app)
File "/home/scott/.local/lib/python3.8/site-packages/flask_sqlalchemy/extension.py", line 255, in init_app
raise RuntimeError(
RuntimeError: A 'SQLAlchemy' instance has already been registered on this Flask app. Import and use that instance instead.
I'm not sure how to proceed from here as I simply don't have the knowledge. I did try to search this up but I'm not sure any of what I found would be applicable in this case, and I'm not sure at this point if changes to things along the way are rendering this impossible anyway.
A separate question follows.
Is Osmocom still being developed? I noticed as of July of 2022 @KA1RBI seemed to disappear from these forums. I hope he is okay. I am trying to determine the best path forward for long-term use of OP25 for when the statewide system in MA (CoMIRS) finally makes it to Cape Cod. Both versions are absolutely brilliant, the audio recovery is superb, and both have their pluses and minuses from what I can see. Osmocom is "prettier" in its web interface but it seems that Boatbod is more "active" for lack of a better term.
My next endeavor is a setup on a Raspberry Pi 4B with 8GB of RAM. Trying to consider my best move to learn without blowing up the OS 5000 times. I don't mind 4999, but 5000....I can't do dat...
Any help is appreciated as always, and thanks.