Re: WD 3.0 beta testing


Cathal Ferris
 

I had to rebuild the Pi4 that I had been happily running wsprdeamon on in the past. The SD card had given up, and systemd login daemon self-corrupted. No time-efficient way to repair so a full reinstallation it was with limited backups performable. (I'm also updating my Kiwis to Buster and I may have a dead Kiwi cape to deal with separately. The fun never ends ;) ) The system is built from the raspianOS image bullseye-lite dated April 22, with a full "aptitude update ; aptitude upgrade" completed on install.

Installing wsprdaemon, I did run into the "qt5-default" problem with the 2.x tree. I didn't get an adequate resolution to that - but I did not spend a lot of time on that at that point; and I figured "why not try 3.x?"

3.x appears to Install fine(ish). I'm using the same config file I had backed up from the previous instance. I do get results that are seen on wspr.rocks, under the Swiss callsign I've been allocated since the QTH move (HB9HJF) ; One issue is the noise graph is not being generated locally, and there are other issues when executing the script. The noise graphs are being seen on http://wsprdaemon.org/graphs/HB9HJF/ happily enough, so I can see that the numbers are present from the daemon, but they are not being seen on the local server, likely due to python math libraries not present/working for the local graph generation.

While I could probably beat at things and make it work, I figured it would be more proper to document here so that it could be seen clearly. 

The second oddity is that each script execution it does not see that matplotlib is available, then it does see it's satisfied.

Happy to answer questions or to allow an SSH access/screen share at some point if needed.

When I run as my normal pi user this is the output I see. matplotlib fail, then repeating sets of numpy errors/tracebacks.
pi@piserver:~/wsprdaemon $ ./wsprdaemon.sh -a
wsprdaemon.sh Copyright (C) 2020  Robert S. Robinett
This program comes with ABSOLUTELY NO WARRANTY; for details type './wsprdaemon.sh -h'
This is free software, and you are welcome to redistribute it under certain conditions.  execute'./wsprdaemon.sh -h' for details.
wsprdaemon depends heavily upon the 'wsprd' program and other technologies developed by Joe Taylor K1JT and others, to whom we are grateful.
Goto https://physics.princeton.edu/pulsar/K1JT/wsjtx.html to learn more about WSJT-x
 
WARNING:  LC_NUMERIC 'en_IE.UTF-8' on your server is not the expected value 'en_US.UTF-8'.
          If the spot frequencies reported by your server are not correct, you may need to change the 'locale' of your server
Tue 03 May 2022 09:35:08 UTC: install_python_package() Package matplotlib is not installed. Checking that pip3 is installed
Tue 03 May 2022 09:35:12 UTC: install_python_package() Having pip3 install package matplotlib
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: matplotlib in /usr/local/lib/python3.9/dist-packages (3.5.1)
Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.9/dist-packages (from matplotlib) (9.1.0)
Requirement already satisfied: numpy>=1.17 in /usr/lib/python3/dist-packages (from matplotlib) (1.19.5)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.9/dist-packages (from matplotlib) (1.4.2)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.9/dist-packages (from matplotlib) (21.3)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.9/dist-packages (from matplotlib) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.9/dist-packages (from matplotlib) (4.33.3)
Requirement already satisfied: pyparsing>=2.2.1 in /usr/local/lib/python3.9/dist-packages (from matplotlib) (3.0.8)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.9/dist-packages (from matplotlib) (2.8.2)
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.7->matplotlib) (1.16.0)
Tue 03 May 2022 09:35:17 UTC: install_python_package() Installed Python package matplotlib
pi@piserver:~/wsprdaemon $ Traceback (most recent call last):
  File "/home/pi/wsprdaemon/suntimes.py", line 2, in <module>
    from astral import Astral, Location
ImportError: cannot import name 'Astral' from 'astral' (/usr/local/lib/python3.9/dist-packages/astral/__init__.py)
/home/pi/wsprdaemon/config_utils.sh: line 278: astral_times[0]: unbound variable
Traceback (most recent call last):
  File "/home/pi/wsprdaemon/suntimes.py", line 2, in <module>
    from astral import Astral, Location
ImportError: cannot import name 'Astral' from 'astral' (/usr/local/lib/python3.9/dist-packages/astral/__init__.py)
/home/pi/wsprdaemon/config_utils.sh: line 278: astral_times[0]: unbound variable
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd
Traceback (most recent call last):
  File "/home/pi/wsprdaemon/noise_plot.py", line 16, in <module>
    import matplotlib as mpl
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/__init__.py", line 109, in <module>
    from . import _api, _version, cbook, docstring, rcsetup
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/rcsetup.py", line 27, in <module>
    from matplotlib.colors import Colormap, is_color_like
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/colors.py", line 56, in <module>
    from matplotlib import _api, cbook, scale
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/scale.py", line 23, in <module>
    from matplotlib.ticker import (
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/ticker.py", line 136, in <module>
    from matplotlib import transforms as mtransforms
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/transforms.py", line 46, in <module>
    from matplotlib._path import (
ImportError: numpy.core.multiarray failed to import
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd
Traceback (most recent call last):
  File "/home/pi/wsprdaemon/noise_plot.py", line 16, in <module>
    import matplotlib as mpl
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/__init__.py", line 109, in <module>
    from . import _api, _version, cbook, docstring, rcsetup
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/rcsetup.py", line 27, in <module>
    from matplotlib.colors import Colormap, is_color_like
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/colors.py", line 56, in <module>
    from matplotlib import _api, cbook, scale
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/scale.py", line 23, in <module>
    from matplotlib.ticker import (
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/ticker.py", line 136, in <module>
    from matplotlib import transforms as mtransforms
  File "/usr/local/lib/python3.9/dist-packages/matplotlib/transforms.py", line 46, in <module>
    from matplotlib._path import (
ImportError: numpy.core.multiarray failed to import

Join wsprdaemon@groups.io to automatically receive all group messages.