'python-gps' package is not installed (was: new x86 client failing - No module named _analog_swig)
Hi,
I just installed a the client on a x86 atom machine with Debian Buster amd64 architecture but am getting errors. the installation with satnogs-client-ansible went fine but then the problems started when trying to start the satnogs-client, the python-gps modules was not installed. After installing that manually through apt, the client started, but no working observations. At first I got several errors about gnuradio, it seems that with a new install of python 2.7.16 gnuradio does not completely install all of it's libraries, it does however install those libraries for python 3.7.3. I then copied those libraries over from my rPi satnogs client and got past that. However every time I run the satnog-setup and let it update, it uninstalls python-gps again and then the client won't start giving me an error about the python-gps module missing. Then with every observation it fails again with the following error:
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: 2020-02-16 15:56:44,048 - satnogsclient.observer.commsocket - ERROR - Cannot send to socket 127.0.0.1:4533
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: Exception in thread Thread-1:
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: Traceback (most recent call last):
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: self.run()
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/usr/lib/python2.7/threading.py", line 754, in run
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: self.__target(*self.__args, **self.__kwargs)
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/var/lib/satnogs/local/lib/python2.7/site-packages/satnogsclient/observer/worker.py", line 112, in _communicate_tracking_info
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: self.send_to_socket(pin, sock)
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/var/lib/satnogs/local/lib/python2.7/site-packages/satnogsclient/observer/worker.py", line 198, in send_to_socket
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: position = sock.send("p\n").split('\n')
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/var/lib/satnogs/local/lib/python2.7/site-packages/satnogsclient/observer/commsocket.py", line 81, in send
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: response = self.sock.recv(self._tasks_buffer_size).decode('ascii')
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: error: [Errno 107] Transport endpoint is not connected
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: Traceback (most recent call last):
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/usr/bin/satnogs_fm_demod.py", line 11, in <module>
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: from gnuradio import analog
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/usr/lib/python2.7/dist-packages/gnuradio/analog/__init__.py", line 33, in <module>
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: from analog_swig import *
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/usr/lib/python2.7/dist-packages/gnuradio/analog/analog_swig.py", line 17, in <module>
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: _analog_swig = swig_import_helper()
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/usr/lib/python2.7/dist-packages/gnuradio/analog/analog_swig.py", line 16, in swig_import_helper
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: return importlib.import_module('_analog_swig')
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: __import__(name)
Feb 16 15:56:44 atomtest01 satnogs-client[18605]: ImportError: No module named _analog_swig
Feb 16 15:56:57 atomtest01 satnogs-client[18605]: 2020-02-16 15:56:57,045 - apscheduler.executors.default - INFO - Running job "get_jobs (trigger: interval[0:01:00], next run at: 2020-02-16 14:57:57 UTC)" (scheduled at 2020-02-16 14:56:57.037445+00:00)
Support information:
------------[ copy here ]------------
{
"versions": {
"satnogs-client": "1.0",
"satnogs-client-ansible": "202002121234",
"gr-satnogs": "1.5.1-1",
"satnogs-config": "0.6.3"
},
"state": {
"is-applied": true,
"pending-tags": null
},
"system": {
"distribution": {
"DESCRIPTION": "Debian GNU/Linux 10 (buster)",
"RELEASE": "10",
"CODENAME": "buster",
"ID": "Debian"
},
"pending-updates": false,
"platform": {
"system": "Linux",
"node": "atomtest01",
"release": "4.19.0-6-amd64",
"version": "#1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11)",
"machine": "x86_64",
"processor": ""
},
"memory": {
"total": 4126658560,
"available": 3687149568,
"percent": 10.7,
"used": 133115904,
"free": 1748631552,
"active": 642207744,
"inactive": 1459937280,
"buffers": 155275264,
"cached": 2089635840,
"shared": 10960896,
"slab": 230846464
},
"disk": {
"total": 56501882880,
"used": 4719603712,
"free": 48888524800,
"percent": 8.8
}
},
"configuration": {
"hamlib_utils_rig_enabled": true,
"satnogs_api_token": "[reducted]",
"satnogs_log_level": "INFO",
"satnogs_rx_device": "rtlsdr",
"satnogs_station_elev": "9",
"satnogs_station_id": "1359",
"satnogs_station_lat": "51.249944",
"satnogs_station_lon": "2.998054",
"snmpd_agentaddress": "0.0.0.0",
"snmpd_rocommunity": "public"
}
}
------------[ copy end ]-------------
Has anybody run into those yet or does anyone know how to fix it?
Thanks in advance. Kind Regards