Integrating gr-satellites into SatNOGS

Hi,
about 1y installed, I didn’t remember if it’s from the source but from topic obtain here… (10/23/2022)
VE2DSK

$ gr_satellites --version
Traceback (most recent call last):
File “/usr/local/bin/gr_satellites”, line 16, in
import satellites.core
ModuleNotFoundError: No module named ‘satellites’

This means that gr-satellites is not correctly installed.

ok, built from source, and not set PYTHONPATH.
if already running the satnogs repos, just install it with apt sudo apt install gr-satellites.
make sure to remove the other install to avoid conflicts.

Many thanks for help…
I’ll reinstall… VE2DSK

Hi
gr_salellites Error came from line 16 and said “import satellites.core”


I found the problem…
After booting, if I manualy mention:
$ export PYTHONPATH=/usr/local/lib/python3/dist-packages/
The result is correct…

gr_satellites v3.15.0-git

Which file need this export precision…?
VE2DSK

There are some good info here:

I also got the ModuleNotFoundError: No module named ‘websocket’
Solved with:
sudo pip3 install websocket

Next time first look at the OS repository.

sudo apt-get update && sudo apt-cache search python3 | grep websocket

Command output:

ython3-django-websocket-redis - Websockets for Django applications using Redis (Python3 version)
python3-gevent-websocket - websocket library for the gevent networking library (Python 3)
python3-pyqt5.qtwebsockets - Python 3 bindings for Qt5's WebSockets module
python3-pyqt5.qtwebsockets-dbg - Python 3 bindings for Qt5's WebSockets module (debug extensions)
python3-pyside2.qtwebsockets - Python bindings for Qt5 WebSockets module (Python 3)
python3-gwebsockets - websocket server written in Python
python3-websockets - implementation of the WebSocket Protocol (RFC 6455)
python3-terminado - Terminals served to term.js using Tornado websockets (Python 3)
python3-websocket - WebSocket client library - Python 3.x

And you now know that you can install python3-websocket - WebSocket client library - Python 3.x

sudo apt-get install python3-websocket

This will also make sure the package is managed by your OS package manager and will update this package if it is necessary.

Many thanks guys… for help
Regards VE2DSK

most of time got
signatures were invalid (have been ignored)
and / or
failed to fetch

Yes, that would maybe be the correct way. But with limited Linux knowledge (and interest…) I take the “google way” and find solutions :slight_smile:

1 Like

Hi…
I just add this
export PYTHONPATH=/usr/local/lib/python3/dist-packages/
to the .bashrc file.
Seem patch the problem for now… VE2DSK

2 Likes

Hi,
is gr-satellite v5.5.0 compatible with satnogs client v1.8.1 (and Gnuradio v3.8.2) (bullseye)

Desperate and have no succes installing from source…
cmake 2.4.1 came with error
cmake 3.11 latest, came with non compatible error
cmake 2.8.1 came with different error

VE2DSK

No, you need to use the maint-3.8 branch from gr-satellites.

git clone https://github.com/daniestevez/gr-satellites.git
cd gr-satellites
git branch
git checkout maint-3.8

Hi
(monitoring journalctl) I saw kill process after each observation. Is this normal…?
(different number) VE2DSK

: gr-satellites: Observation: 9447810, Norad: 50998, Name: TEVEL-5, Script: satnogs_bpsk.py
: gr-satellites: Stopping observation 9447810
: /usr/local/bin/grsat-wrapper.sh: line 67: kill: (15200) - No such process

grsat-wrapper.sh
image

That just means that gr_satellites has quit early, probably with message “Satellite xxxxx not found”.
In my later development I have skipped the entire pre-check if the satellite is supported or not, gr_satellites will just quit gracefully if it cannot find satyaml for it.