ve2dsk
December 7, 2023, 9:34pm
41
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’
EA4GPZ
December 7, 2023, 10:00pm
42
This means that gr-satellites is not correctly installed.
SA2KNG
December 7, 2023, 10:17pm
43
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.
ve2dsk
December 7, 2023, 11:13pm
44
Many thanks for help…
I’ll reinstall… VE2DSK
ve2dsk
December 9, 2023, 10:42pm
45
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
SM0TGU
December 10, 2023, 10:12am
46
There are some good info here:
.. _Installing from source:
Installing from source
======================
gr-satellites is a GNU Radio out-of-tree module, and can be installed as such,
by building it from source in a system where GNU Radio is already installed. The
general steps for installing gr-satellites from source include making sure that
all the dependencies are installed and then building and installing the
out-of-tree module.
Dependencies
^^^^^^^^^^^^
gr-satellites requires `GNU Radio`_ version at least 3.8. Depending on the GNU
Radio version, a different branch of gr-satellites should be used. See the
`gr-satellites README`_ for more information about the different branches.
.. warning::
This file has been truncated. show original
I also got the ModuleNotFoundError: No module named ‘websocket’
Solved with:
sudo pip3 install websocket
PE0SAT
December 10, 2023, 1:15pm
47
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.
ve2dsk
December 10, 2023, 2:01pm
48
Many thanks guys… for help
Regards VE2DSK
most of time got
signatures were invalid (have been ignored)
and / or
failed to fetch
SM0TGU
December 10, 2023, 6:45pm
50
Yes, that would maybe be the correct way. But with limited Linux knowledge (and interest…) I take the “google way” and find solutions
1 Like
ve2dsk
December 10, 2023, 6:47pm
51
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
ve2dsk
April 27, 2024, 11:46pm
52
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
PE0SAT
April 28, 2024, 6:50am
53
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
ve2dsk
May 1, 2024, 12:46am
54
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
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.