On Thursday, January 28, 2021 at 8:10:05 AM UTC-8 gldic...@gmail.com wrote:

> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>> __main__:     ****      except Exception, e:
>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>> __main__:     ****                      ^
>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>> __main__:     ****  SyntaxError: invalid syntax
>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>> __main__:     ****  Exiting.
>>
>
As I said yesterday, when you see that error, you need to 'upgrade' the 
extension throwing the error to a newer python3-compliant version.  Don't 
'remove' the extension or skin.  'Upgrade' it to the current version. 
Belchertown with MQTT works just fine under python3 if you go to the latest 
version of the MQTT extension.

The webpage you're looking at is a bit confusingly written.

You want to simply do "sudo pip3 install paho-mqtt" to install the 
prerequisite python3 library since you are running weewx under python3.   
Then upgrade your weewx-mqtt extension with wee_extension as the webpage 
shows.  Then restart weewx.

It's that simple.
 

-- 
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/9327a9f8-b2a8-4491-961f-bb3e37e61f51n%40googlegroups.com.

Reply via email to