Hi,

I am setting up a new Weewx Installation based on the latest release of 
Python3 and Weewx.

Unfortunatly I am not able to get MQTT running.

This is how I have it installed:

*wget -qO - http://weewx.com/keys.html | sudo apt-key add -*
*wget -qO - http://weewx.com/apt/weewx-python3.list | sudo tee 
/etc/apt/sources.list.d/weewx.list*
*sudo apt install python3-configobj python3-pil python3-serial python3-usb 
python3-pip python3-cheetah python3-ephem python3-paho-mqtt sqlite nginx*

*sudo apt install weewx*
*sudo wget 
http://lancet.mit.edu/mwall/projects/weather/releases/weewx-mqtt-0.19.tgz*
*sudo wee_extension --install weewx-mqtt-0.19.tgz*

I am getting this error when starting weewx

Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****      self.loadServices(config_dict)
Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****    File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****      obj = weeutil.weeutil.get_object(svc)(self,config_dict)
Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****    File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in 
get_object
Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****      mod = __import__(module)
Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****    File "/usr/share/weewx/user/mqtt.py", line 197
Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****      except KeyError, e:
Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****                     ^
Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****  SyntaxError: invalid syntax
Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__:    
 ****  Exiting.

Any Ideas?

Br,
Johannes


-- 
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/c5102235-3416-4707-9b9d-49c7a524e36en%40googlegroups.com.

Reply via email to