A very stupid question:
How do I update the extension?

I don't find the weewx-mqtt.tgz that I need for the installation.




Am Freitag, 1. Mai 2020 16:37:04 UTC+2 schrieb Tarmo:
>
> Hi Manfred!
>
> try to update mqtt extension https://github.com/matthewwall/weewx-mqtt
>
>
> On Friday, May 1, 2020 at 5:34:11 PM UTC+3, Manfred Maier wrote:
>>
>> Also pulling my issues while updating in a separate thread.
>>
>> I was using version 3.9.2 on a RPi4 (Rasbian 10) with the Belchertown 
>> skin installed.
>>
>> I've tried to install the Python 3 version with:
>>
>> curl -s http://weewx.com/apt/weewx-python3.list | sudo tee 
>> /etc/apt/sources.list.d/weewx.list
>>
>> sudo apt-get update
>> sudo apt-get install weewx
>>
>>
>> The system crashed with the following lines in the log-file:
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__: Caught 
>> unrecoverable exception:
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****  
>> invalid syntax (mqtt.py, line 197)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****  
>> Traceback (most recent call last):
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****    
>> File "/usr/share/weewx/weewxd", line 148, in main
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****      
>> engine = weewx.engine.StdEngine(config_dict)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****    
>> File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****      
>> self.loadServices(config_dict)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****    
>> File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****      
>> obj = weeutil.weeutil.get_object(svc)(self,config_dict)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****    
>> File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****      
>> mod = __import__(module)
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****    
>> File "/usr/share/weewx/user/mqtt.py", line 197
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****      
>> except KeyError, e:
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****     
>>                 ^
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****  
>> SyntaxError: invalid syntax
>>
>> May  1 10:57:40 raspberrypi weewx[14513] CRITICAL __main__:     ****  
>> Exiting.
>>
>>
>> I then installed the Python 2 version.
>> Weewx at least started again. The MQTT is working, too. 
>>
>> But the system stopped creating most of JSON files for the skins.
>> The weewx_data.json gets created, but all the files for my belchertown 
>> graphs do not get generated.
>>
>>
>> Ideally I would like to switch to the Python 3 version.
>> Any thoughts what the problem of my Python 3 installation is?
>>
>>
>> Manfred. 
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ad2da09b-808a-46c0-b0bb-d9dc1c1c9920%40googlegroups.com.

Reply via email to