the last Debian Update of satnogs-flowgraphs killed my installtion. I tried to fix it and was not successful. I even installed it by hand from gitlab and not via apt install. Always the same problem at the end…
Traceback (most recent call last):
File "/usr/local/bin/flowgraph_dispatcher", line 11, in <module>
import radio_config_pb2
ModuleNotFoundError: No module named 'radio_config_pb2'
Any idea how I could fix this issue? I don’t find the radio config and it is not generated anywhere.
I saw your post about the satnogs-flowgraphs issue. I am currently running on Debian 12 (bookworm) as well, and it seems to be working fine for now.
I know how frustrating these updates can be. I just wanted to share that it is stable on my system, in case it helps you narrow down the cause. I hope you find a fix for it soon!
I checked my system and realized that satnogs-flowgraphs isn’t installed via apt on my machine (it seems I installed it manually).
Since you mentioned you installed it via apt, perhaps there was a recent change in the Debian repository package that broke the dependency chain for radio_config_pb2. My manual installation might be using a different version or build method, which is why it’s still working for me.
This might be a useful clue for others who are also using the apt version.
I have confirmed the reason why my setup is working while yours is having trouble! It turns out my entire installation is running inside Docker containers, managed via satnogs-ansible.
Here is the output of sudo docker ps on my machine:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
59d6e5d639b6 librespace/satnogs-client:2.1.2 "satnogs-client" 5 days ago Up 5 days satnogs_satnogs-client
ac1b73a4128b librespace/hamlib:4.5.4 "/docker-entrypoint.…" 5 days ago Up 5 days satnogs_rigctld
40e3cc3b77a1 librespace/satnogs-config:1.1 "/bin/sh -c 'trap : …" 5 days ago Up 5 days ansible_satnogs-config
2795602c70a6 librespace/ansible:9.13.0 "/bin/sh -c 'trap : …" 5 days ago Up 5 days ansible_ansible
My environment is isolated, which explains why it remains unaffected by host-level Debian updates. It seems that your issues likely stem from running the software directly on the host OS, where system updates can easily break Python dependencies like radio_config_pb2.
I hope sharing this structural difference helps you and the developers find a solution!
That sounds like a great plan! Transitioning to satnogs-proto or a containerized setup is definitely the way to go for better stability. I’m glad my findings helped point you in the right direction. Good luck with the migration!
Hello. satnogs-proto is currently developed to be used in later versions of satnogs-flowgraphs but right now cannot replace the funcionality already exists.
You are correct that the error comes from the code we have in the workings for new versions. That being said you should see such error unless you have not checked out to the master branch or I have pushed something wrong to the master branch that needs to be fixed immediately.
Thanks for the clarification, @sdoukos! It’s great to have a Core Contributor involved. I’ll just follow the discussion as I continue to run my stable containerized setup. Hopefully, the master branch gets fixed soon for everyone else!
Which one do you download. The satnogs-flowgraphs_2.5.2-1_all.deb should work correctly, satnogs-flowgraphs_2.5.2+16+gac12b779-1_all.deb has the code that needs satnogs-proto but it is not ready to work out of the box or be released.
I’m encountering the same issue recently. I had to reinstall my entire satnogs installation because of an issue I thought I had with the autoscheduler (turns out I needed to update it), and now my configuration does not work anymore.
Because we are using Ubuntu 22.04, we created a custom bash script to install all prerequesites. Recently we added python3-grpcio that was not required before. Now I have the same module error as the first message.
We install satnogs-flowgraph by cloning the git repository and building it. It seems the master branch is not being updated which is a problem, you would have to manually checkout the last tag’s branch. Is there another way to install the latest satnogs-flowgraph? (does not seems to appear in Ubuntu’s PPA)
The master branch currently contains major re-design change which we don’t want to release yet. So, the fixes to the AX.100 decoder could only be added as a hotfix. That’s why the tagged versions do not come from master.
You can use this command to discover the latest version: git ls-remote --sort=-v:refname -q --refs -t https://gitlab.com/librespacefoundation/satnogs/satnogs-flowgraphs.git
Thanks, I will just point to version 2.5.6 currently as this one works and manually update script to a newer version if needed (or just update satnogs-flowgraph as needed).
It’s a bit unpractical that the satnogs repos are not up to date for legacy systems. Our only method for this automated script was relying on these, unless there is other fixed URL to get them with a bash script.
Just for clarification, which operating systems or distributions would you like to be supported beyond what we currently offer? At present, SatNOGS officially supports Debian 12 (bookworm), which is already considered a legacy release by some standards. Are you referring to even older systems or other distributions?
Ubuntu (22.04), which is not supported unfortunately according to the official documentation (I should have said unsupported distribution, my bad). So we have to install it manually.
Currently, the script install the following components manually through repos:
Volk
GNU Radio
gr-satellites
gr-satnogs
satnogs-flowgarphs
auto-scheduler (through venv and pip, for this I had to find a workaround as it now needs Python 3.11 and Ubuntu 22.04 is on 3.10)
Then it creates the environment and user for the client.
Thing is, it relies on the repos currently to get the latest version. The script was put in place in order to facilitate the setup for other user of the ground station if necessary.