Closed ik8ozv closed 5 months ago
What version of gr-satellites are you using, in which system, and how have you installed it?
Also include the output of pip list
.
Thanks Dani for reply. I am using UBUNTU 22.04.3. GR-Satellites is v5.6.0-git This should be the output of pip list:
Package Version
appdirs 1.4.4 apturl 0.5.2 attrs 21.2.0 bcrypt 3.2.0 beautifulsoup4 4.10.0 beniget 0.4.1 blinker 1.4 Brlapi 0.8.3 Brotli 1.0.9 certifi 2020.6.20 chardet 4.0.0 click 8.0.3 click-plugins 1.1.1 colorama 0.4.4 command-not-found 0.3 construct 2.10.70 cryptography 3.4.8 cupshelpers 1.0 cycler 0.11.0 dbus-python 1.2.18 decorator 4.4.2 defer 1.0.6 distro 1.7.0 distro-info 1.1+ubuntu0.2 duplicity 0.8.21 fasteners 0.14.1 fonttools 4.29.1 fs 2.4.12 future 0.18.2 gast 0.5.2 gevent 23.9.1 greenlet 3.0.3 html5lib 1.1 httplib2 0.20.2 idna 3.3 importlib-metadata 4.6.4 jeepney 0.7.1 keyring 23.5.0 kiwisolver 1.3.2 language-selector 0.1 launchpadlib 1.10.16 lazr.restfulclient 0.14.4 lazr.uri 1.0.6 lockfile 0.12.2 louis 3.20.0 lxml 4.8.0 lz4 3.1.3+dfsg macaroonbakery 1.3.1 Mako 1.1.3 MarkupSafe 2.0.1 matplotlib 3.5.1 monotonic 1.6 more-itertools 8.10.0 mpmath 0.0.0 netifaces 0.11.0 networkx 2.4 numpy 1.21.5 oauthlib 3.2.0 olefile 0.46 packaging 21.3 paramiko 2.9.3 pexpect 4.8.0 Pillow 9.0.1 pip 22.0.2 ply 3.11 protobuf 3.12.4 ptyprocess 0.7.0 py 1.10.0 pycairo 1.20.1 pycups 2.0.1 pygccxml 2.2.1 PyGObject 3.42.1 PyJWT 2.3.0 pymacaroons 0.13.0 PyNaCl 1.5.0 PyOpenGL 3.1.5 pyparsing 2.4.7 PyQt-Qwt 1.2.2 PyQt5 5.15.6 PyQt5-sip 12.9.1 pyqtgraph 0.12.4 pyRFC3339 1.1 python-apt 2.4.0+ubuntu2 python-dateutil 2.8.1 python-debian 0.1.43+ubuntu1.1 pythran 0.10.0 pytz 2022.1 pyxdg 0.27 PyYAML 5.4.1 pyzmq 22.3.0 reportlab 3.6.8 requests 2.25.1 scipy 1.8.0 SecretStorage 3.3.1 setuptools 59.6.0 six 1.16.0 soupsieve 2.3.1 sympy 1.9 systemd-python 234 thrift 0.16.0 ubuntu-advantage-tools 8001 ubuntu-drivers-common 0.0.0 ufoLib2 0.13.1 ufw 0.36.1 unattended-upgrades 0.1 unicodedata2 14.0.0 urllib3 1.26.5 usb-creator 0.3.7 wadllib 1.3.6 webencodings 0.5.1 websocket 0.2.1 wheel 0.37.1 xdg 5 xkit 0.0.0 zipp 1.0.0 zope.event 5.0 zope.interface 6.1
Thanks a lot Enzo
@daniestevez Dani please any news for me? Thanks Enzo
websocket 0.2.1
I think that the problem is that you have the wrong websocket package installed in your system. This is what I have:
websocket-client 1.6.4
websockets 10.4
The package required for this is websocket-client rather than websocket.
Hello Dani, Thanks for your help it worked. Now when i run:
gr_satellites Mrc-100 --udp --samp_rate 48e3 i get:
enzo@enzo-virtual-machine:~$ gr_satellites Mrc-100 --udp --samp_rate 48e3 correlate_access_code_tag_ff :debug: Access code: e31c9dae correlate_access_code_tag_ff :debug: Mask: ffffffff correlate_access_code_tag_ff :debug: Access code: e31c9dae correlate_access_code_tag_ff :debug: Mask: ffffffff correlate_access_code_tag_ff :debug: Access code: e31c9dae correlate_access_code_tag_ff :debug: Mask: ffffffff correlate_access_code_tag_ff :debug: Access code: e31c9dae correlate_access_code_tag_ff :debug: Mask: ffffffff udp_source :info: Listening for data on UDP port 7355.
But i do not see anything on the screen when receiving the satellite signal and when there is not signal from the satellite i see:
correlate_access_code_tag_ff :debug: writing tag at sample 5193 correlate_access_code_tag_ff :debug: writing tag at sample 35974 correlate_access_code_tag_ff :debug: writing tag at sample 172324 correlate_access_code_tag_ff :debug: writing tag at sample 43918 correlate_access_code_tag_ff :debug: writing tag at sample 278872
This happens also on other satellites. as source receiving i am using the GQRX. Please any hint? Thanks 73's de Enzo IK8OZV
Probably the signal that gets passed to gr-satellites from GQRX is not good enough, as it has been the case in other issues you've opened.
The false syncword detections (correlate_access_code_tag_ff :debug:
messages) are to be expected.
But i can decode with the same signal on Windows why not on Ubuntu?
Dani please i am trying to install Construct and Websocket in Ubuntu 23.10.1 but when i give the commands:
pip3 install --user --upgrade construct
and the command:
pip3 install websocket-client
in both cases i get:
error: externally-managed-environment
× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification.
Please how to solve? Thanks
73 de Enzo IK8OZV
The text you've pasted already contains a good explanation about the problem and possible solutions.
Closing, since it has been months without activity and I think there are no outstanding issues. Feel free to reopen.
Please anybody can help me on how to decode the MRC-100 Satellite? If i try to run in the terminal the command:
gr_satellites mrc-100 --udp --samp_rate 48e3
i get the following error:
Traceback (most recent call last): File "/usr/local/bin/gr_satellites", line 322, in
main()
File "/usr/local/bin/gr_satellites", line 307, in main
tb = gr_satellites_top_block(parser)
File "/usr/local/bin/gr_satellites", line 196, in init
self.flowgraph = satellites.core.gr_satellites_flowgraph(
File "/usr/local/lib/python3.10/dist-packages/satellites/core/gr_satellites_flowgraph.py", line 147, in init
self._init_additional_datasinks()
File "/usr/local/lib/python3.10/dist-packages/satellites/core/gr_satellites_flowgraph.py", line 222, in _init_additional_datasinks
self.get_telemetry_submitters(self.satyaml, self.config,
File "/usr/local/lib/python3.10/dist-packages/satellites/core/gr_satellites_flowgraph.py", line 349, in get_telemetry_submitters
submitters.append(datasinks.telemetry_submit(
File "/usr/local/lib/python3.10/dist-packages/satellites/components/datasinks/telemetry_submit.py", line 69, in init
self.submit = bme_ws_submitter()
File "/usr/local/lib/python3.10/dist-packages/satellites/bme_ws_submitter.py", line 28, in init
self.ws = websocket.WebSocket()
TypeError: WebSocket.init() missing 3 required positional arguments: 'environ', 'socket', and 'rfile'
Exception ignored in: <function bme_ws_submitter.del at 0x7f8f869eb640>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/satellites/bme_ws_submitter.py", line 41, in del
if self.ws is not None:
File "/usr/lib/python3/dist-packages/gnuradio/gr/gateway.py", line 133, in getattr
return getattr(self.gateway, name)
AttributeError: 'gnuradio.gr.gr_python.block_gateway' object has no attribute 'ws'
Segmentation fault (core dumped)
Please where am i missing? How ro fix the problem Thanks Enzo