Thanks, that got me through the formatting errors. No idea why sometimes in the same line use spaces tab spaces. But all that is cleaned up. Now, program logic is failing it seems.
raceback (most recent call last): File "./bin/weewxd", line 261, in <module> main() File "./bin/weewxd", line 148, in main engine = weewx.engine.StdEngine(config_dict) File "/home/weewx/bin/weewx/engine.py", line 75, in __init__ self.loadServices(config_dict) File "/home/weewx/bin/weewx/engine.py", line 136, in loadServices obj = weeutil.weeutil.get_object(svc)(self,config_dict) File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object mod = __import__(module) File "/home/weewx/bin/user/rainmachine.py", line 82, in <module> class RainMachine(weewx.restx.StdRESTful): File "/home/weewx/bin/user/rainmachine.py", line 87, in RainMachine site_dict = weewx.restx.get_site_dict(config_dict, 'RainMachine', 'token', 'ip') NameError: name 'config_dict' is not defined Runs fine under python 2 -- 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/6e6e2bf1-8722-49de-81a7-f924c98d12ab%40googlegroups.com.