Hi Thanks, Tom - I did an uninstall and reinstall but still didn't work so I formated the SD and started from scratch - all works again. Technology hey it does what it does.
Regards On Tuesday, 28 July 2020 13:58:29 UTC+12, Tom Keffer wrote: > > Somehow, you ended up with an old copy of the Vantage driver (v3.9.2 or > earlier) in a modern copy of WeeWX. This old version was not ported to > Python 3, so the Python 3 interpreter you are using is complaining. > > Try reinstalling WeeWX. > > -tk > > On Mon, Jul 27, 2020 at 5:12 PM Lodewyk Jansen <[email protected] > <javascript:>> wrote: > >> Hi all and thank you for everyone's reply's in advance. >> >> First off - i have a Raspberry Pi Model 3B+ with USB Davis Vantage Vue >> and Weewx is installed through python. >> >> Initially Weewx worked and there were no erros. However since then i >> might have deleted something or done something wrong to cause the errors. >> >> [copied from the command "service weewx status"] >> >> pi@raspberrypi:~ $ service weewx status >> * weewx.service - LSB: weewx weather system >> Loaded: loaded (/etc/init.d/weewx; generated) >> Active: active (exited) since Tue 2020-07-28 12:02:32 NZST; 7min ago >> Docs: man:systemd-sysv-generator(8) >> Process: 1921 ExecStart=/etc/init.d/weewx start (code=exited, >> status=0/SUCCESS) >> >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** engine = weewx.engine.StdEngine(config_dict) >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** File "/home/weewx/bin/weewx/engine.py", line 69, in __init__ >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** self.setupStation(config_dict) >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** File "/home/weewx/bin/weewx/engine.py", line 92, in setupStation >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** __import__(driver) >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** File "/home/weewx/bin/weewx/drivers/vantage.py", line 86 >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** print "Unable to wake up console... sleeping" >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** ^ >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** SyntaxError: Missing parentheses in call to 'print'. Did you mean >> print("Unable to wake up console... sleeping")? >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> **** Exiting. >> >> ___ >> Also attached is the system log file for reference... >> >> Anyone that can point me into the right direction to get weeewx to run >> without erros? >> >> Regards, >> LJ >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/1455495f-c421-41b0-98a9-df78f2dce835o%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/1455495f-c421-41b0-98a9-df78f2dce835o%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/b797e619-1fff-4327-92b1-b5d0b0f1a54do%40googlegroups.com.
