UGH. Thanks so much for the quick and insightful reply. I have everything totally backed up and may try just reverting back to 38 unless I find another solution . Any idea when weeex v5 rpms might be available?
On Friday, November 10, 2023 at 4:19:14 PM UTC-5 vince wrote: > You might be blocked by os/python hell (long answer follows) but I think > it's more like unrealistic expectations perhaps. You're trying to run a > bleeding edge os with a legacy weewx that wasn't tested on that os version > of course since that os/version didn't exist back then. > > [...TL;DR;...] > > Fedora39 looks like it's a bit of a mess vs. old apps like weewx v4 that > were intended for older redhat-ish os versions. > > - The weewx v4 rpms are signed with a crypto version Fedora doesn't > permit any more so you can't import the rpm keys > - Installing on a clean F39 system after manually downloading the rpm > fails because of lack of python3-six being installed > - but even after doing that it fails because Fedora ripped out the old > /etc/init.d plumbing it seems that the weewx v4 rpm relies on > - and if you try to delete weewx, that fails too (seems like there are > many F39 bugs along these lines) but a force reinstall with rpm got it > back to weewx seemingly installed but it doesn't run due to the six issue > you ran even though python3-six 'was' installed. Ugh. > > I tried v5 current beta using pip in a vagrant vm of fedora39 and it does > install and run interactively, but I'm getting permission-denied trying to > start the daemon with systemd. I didn't look into it any further. The > exec stanza is correct in the weewx.service file, but it doesn't run via > systemctl. I hate systemd. > > I also tried v4 via setup.py on F39 and that also failed with the > six.moves error. > > $ sudo python3 ./setup.py install > Traceback (most recent call last): > File "/home/weewx/bin/wee_config", line 12, in <module> > from weecfg.config import ConfigEngine, Logger > File "/home/weewx/bin/weecfg/__init__.py", line 21, in <module> > > from six.moves import StringIO, input > ModuleNotFoundError: No module named 'six.moves' > > Note that I 'did' have python3-six rpm installed v1.16.0 from rpm. I > manually installed 1.15.0 with pip but it still fails the same way. > > I do not see a combination that will work other than moving from v4-rpm to > v5beta-pip installation mechanism and moving a lot of stuff around > manually. There's no v5 weewx rpm at this time. > > On Friday, November 10, 2023 at 12:12:16 PM UTC-8 Lee Holstege wrote: > >> 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 >> >> >> >> >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5c9ea48d-2b22-4eba-913b-922925d87d94n%40googlegroups.com.