I have happily used weewx for many years. Earlier this week I upgraded my system from fedora 38 to fedora 39. The upgrade was uneventful. However weewx will no longer start. Everyting else seems to work normally. Setting debug=1 in the config file made no difference.
The log output is
Traceback (most recent call last):
File "/usr/share/weewx/weewxd", line 22, in <module>
import weecfg
"/usr/share/weewx/weecfg/__init__.py", line 21, in <module>
from six.moves import StringIO, input
ModuleNotFoundError: No module named 'six.moves'
weewx[53224]: [FAILED]
weewx.service: Control process exited, code=exited, status=1/FAILURE
weewx.service: Failed with result 'exit-code'.
Failed to start weewx.service - SYSV: start and stop the weewx weather system.
Looked pretty simple at first. Missing file six.moves. Just replace missing file and move on.
Now I have learned "six" is actually a compatibility library designed to allow seamless detection between Python2 and Python3 and that the routine (dynamically?) creates the missing file six.moves. So it appears that the proper file either i not being created at all or is not being imported correctly. I am running Python3.12.
I have worked on this for the past couple of days and have made no progress. I am not even sure whether the problem is in weewx or python. I would appreciate any help that anyone may be able to provide.
Admin details:
weewx installed and upgraded from rpms downloaded from the weewx website
Current version is weewx-4.10.2-1.el8.noarch
Fedora 39 upgrade (earlier this week) and then updated again this morning
Weather station Davis Vantage Vue