Allright, thank you for your answer. If it not possible, can we use another 
function or lib with python3 ? The code block just at this print line.

Thank you, 

Le mardi 17 mars 2020 23:29:14 UTC+1, John Kline a écrit :
>
> 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 <flor...@pre-vost.fr 
> <javascript:>> 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 weewx-de...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-development/7c4d7730-07b1-475f-8064-05da3d9ed899%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-development/7c4d7730-07b1-475f-8064-05da3d9ed899%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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 weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/4d5d6349-dd19-43ce-a92f-542b2cb9fde0%40googlegroups.com.

Reply via email to