Yeah - many such threads here and there.  I did try reverting 'six' via pip 
to 1.15.0 on F39 but it didn't help.  Somebody upstream has some serious 
breakage.  (I didn't try python-3.12 but this might be one of those places 
where you can break the os potentially if you tried to install it in a 
system location.  Yet another reason the new venv/pip stuff is great)

On Friday, November 10, 2023 at 6:38:12 PM UTC-8 bell...@gmail.com wrote:

> When I added Python 3.12 to my automated tests of MQTTSubscribe I saw 
> this.  I did minimal digging and found this, 
> https://bugzilla.mozilla.org/show_bug.cgi?id=1857492.
> Perhaps updating the six.py that WeeWX ships might fix it… With WeeWX v5 
> imminent (?)… I decided that MQTTSubscribe doesn’t support python 3.12.
> I’d try using Python 3.11.
> rich
>
> On Friday, 10 November 2023 at 15:12:16 UTC-5 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/fcd694f3-e5d6-4e96-b59f-1daffa9121ddn%40googlegroups.com.

Reply via email to