Hi

Thanks a lot. I'll try the new version

Gert
On Tuesday, March 17, 2020 at 1:34:04 PM UTC+1, Paul McGeorge wrote:
>
> There is a newer version on Github, looks like it has been fixed for 
> python 3 https://github.com/matthewwall/weewx-mqtt
>
> On Monday, March 16, 2020 at 11:20:23 PM UTC-6, Gert Andersen wrote:
>>
>> Hi
>> Currently I'm running weewx 3.9.2 and mqtt on a Raspberry system  and I'm 
>> trying to setup a test system for weewx 4 with mqtt.
>>
>> I have followed the weewx 4 installation instructions and used this link 
>> https://github.com/weewx/weewx/wiki/mqtt for installing mqtt. I have 
>> been searching to see if mqtt should be installed differently using weewx 
>> 4(Python 3), but can't find any advises. 
>>
>> Starting weewx gives this error:
>>
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__: Caught 
>> unrecoverable exception:
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****  
>> invalid syntax (mqtt.py, line 197)
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****  
>> Traceback (most recent call last):
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****    
>> File "/home/weewx/bin/weewxd", line 148, in main
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****      
>> engine = weewx.engine.StdEngine(config_dict)
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****    
>> File "/home/weewx/bin/weewx/engine.py", line 75, in                      
>> __init__
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****      
>> self.loadServices(config_dict)
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****    
>> File "/home/weewx/bin/weewx/engine.py", line 136, i                     n 
>> loadServices
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****      
>> obj = weeutil.weeutil.get_object(svc)(self,config                     _dict)
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****    
>> File "/home/weewx/bin/weeutil/weeutil.py", line 109                     3, 
>> in get_object
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****      
>> mod = __import__(module)
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****    
>> File "/home/weewx/bin/user/mqtt.py", line 197
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****      
>> except KeyError, e:
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****        
>>              ^
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****  
>> SyntaxError: invalid syntax
>> Mar 16 21:17:45 weewx4Test weewx[2305] CRITICAL __main__:     ****  
>> Exiting.
>>
>> Gert
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/f38b2d36-0a7c-4cbf-b26c-4c96d5766018%40googlegroups.com.

Reply via email to