The print statement at issue in the stack trace will not run under python 3. The WeatherLinkLive driver you are using is not updated for python 3. I do not know if there is an update to the driver that will run in WeeWX4/Python 3. If not, you can always run WeeWX4 under Python 2.
> On Mar 17, 2020, at 1:38 PM, Florentin Prevost <[email protected]> wrote: > > > EDIT: this is the true log : I've tested with others functions : > > INFO __main__: Using configuration file /home/weewx/weewx.conf > Mar 16 19:11:02 DRSRV1 weewx[2152] INFO weewx.engine: Loading station type > WeatherLinkLive (user.wlldriver) > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: Caught unrecoverable > exception: > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** invalid > syntax (wlldriver.py, line 215) > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** Traceback > (most recent call last): > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** File > "/home/weewx/bin/weewxd", line 148, in main > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** engine = > weewx.engine.StdEngine(config_dict) > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** File > "/home/weewx/bin/weewx/engine.py", line 69, in __init__ > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** > self.setupStation(config_dict) > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** File > "/home/weewx/bin/weewx/engine.py", line 92, in setupStation > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** > __import__(driver) > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** File > "/home/weewx/bin/user/wlldriver.py", line 215 > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** print > weeutil.weeutil.timestamp_to_string(packet['dateTime']), packet > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** > ^ > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** SyntaxError: > invalid syntax > Mar 16 19:11:02 DRSRV1 weewx[2152] CRITICAL __main__: **** Exiting. > -- > 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/7c4d7730-07b1-475f-8064-05da3d9ed899%40googlegroups.com. -- 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/7C495C35-A2E1-45BD-A671-FB70B3505106%40johnkline.com.
