> File "/home/weewx/bin/user/rtgd.py", line 1007 It looks like you need to update real time gauge data: https://github.com/gjr80/weewx-realtime_gauge-data
> On Jan 24, 2021, at 7:41 AM, WxManAJB <ajburnett...@gmail.com> wrote: > > Thanks Vince. I upgraded the forecast extension to 3.4.0b11 and am still > getting an error (although, different this time). Still a python issue? > > $ tail -f /var/log/syslog > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** > self.loadServices(config_dict) > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** File > "/home/weewx/bin/weewx/engine.py", line 161, in loadServices > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** obj = > weeutil.weeutil.get_object(svc)(self, config_dict) > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** File > "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** mod = > __import__(module) > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** File > "/home/weewx/bin/user/rtgd.py", line 1007 > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** except > Exception, e: > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** > ^ > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** SyntaxError: > invalid syntax > > Jan 24 10:35:05 wxstn1 weewx[18316] CRITICAL __main__: **** Exiting. > > >> On Sunday, January 10, 2021 at 10:41:46 PM UTC-5 vince wrote: >> Another FAQ. Any time you see "except OSError, e:" you are trying to run >> python3 against legacy code that was only written to support python2. >> >> You need to update your forecast extension to a current version, then you'll >> be fine. >> >>> On Sunday, January 10, 2021 at 4:31:09 PM UTC-8 WxManAJB wrote: >>> Hi all...probably something very simple here, but I'm stuck... >>> >>> Just upgraded to 4.3.0 (setup.py method on raspbian stretch/python3) and >>> I'm getting the following error in my syslog: >>> >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** >>> self.loadServices(config_dict) >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** File >>> "/home/weewx/bin/weewx/engine.py", line 161, in loadServices >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** obj = >>> weeutil.weeutil.get_object(svc)(self, config_dict) >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** File >>> "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** mod = >>> __import__(module) >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** File >>> "/home/weewx/bin/user/forecast.py", line 541 >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** except >>> OSError, e: >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** >>> ^ >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** SyntaxError: >>> invalid syntax >>> Jan 10 19:25:23 wxstn1 weewx[566] CRITICAL __main__: **** Exiting. >>> >>> Anyone know how to fix? >>> >>> Thanks! >>> >>> A.J. > > -- > 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/6f48aa38-c8f8-487b-9cfc-0afd39956bc5n%40googlegroups.com. -- 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/09418BCB-6468-4F93-8A68-B842DB71B08D%40johnkline.com.