Problems with weewx

Speaking of a Python problem … I have weewx reading a weather station as a daemon in the background. Documentation says this is written in Python, and it’s not running either. Just starting to look into that:

Aug 30 10:50:34 lxpc2 weewx[39778]: Traceback (most recent call last):
Aug 30 10:50:34 lxpc2 weewx[39778]:   File "/home/weewx/bin/weewxd", line 22, in <module>
Aug 30 10:50:34 lxpc2 weewx[39778]:     import weecfg
Aug 30 10:50:34 lxpc2 weewx[39778]:   File "/home/weewx/bin/weecfg/__init__.py", line 20, in <module>
Aug 30 10:50:34 lxpc2 weewx[39778]:     from six.moves import StringIO, input
Aug 30 10:50:34 lxpc2 weewx[39778]: ModuleNotFoundError: No module named 'six.moves'
Aug 30 10:50:34 lxpc2 weewx[39767]:    ...fail!
Aug 30 10:50:34 lxpc2 systemd[1]: weewx.service: Control process exited, code=exited, status=1/FAILURE
Aug 30 10:50:34 lxpc2 systemd[1]: weewx.service: Failed with result 'exit-code'.
Aug 30 10:50:34 lxpc2 systemd[1]: Failed to start weewx.service - LSB: weewx weather system.

I see no Lubuntu connection in your post.

We don’t know know what Lubuntu release you’re using, so have no clues as to your software stack (which includes python3 version) for starters.

My apologies. In my defense this was in a thread about upgrading from Lubuntu 22.04 to 24.04, and it was moved to a separate topic because “it’s a different issue.”

I’ve been studying this and it seems that the “six.moves” library is not present in the updated Lubuntu 24.04. This is supposed to manage Python3 vs Python2 operations. I don’t think it’s a Lubuntu problem to solve, now. I just know that the upgrade caused one of my primary programs to stop running.

3 Likes

There are a few suggestions here.

1 Like