David-Enst / WeeWX-BCRobotics

A WeeWX driver for the BC Robotics and SparkFun weather station Raspberry Pi based hardware.
1 stars 1 forks source link

Unrecoverable Exception when WeeWx attempts to load the driver. missing parentheses in call to print Syslog attached. #4

Closed mytechguyri closed 1 year ago

mytechguyri commented 2 years ago

Feb 5 23:25:55 direwolf weewx[739] INFO weewx.engine: Loading station type BCRobotics (user.BCRobotics) Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: Caught unrecoverable exception: Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: Missing parentheses in call to 'print'. Did you mean print("%s\r" % msg)? (BCRobotics.py, line 118) Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: Traceback (most recent call last): Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: File "/usr/share/weewx/weewxd", line 147, in main Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: engine = weewx.engine.StdEngine(config_dict) Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: File "/usr/share/weewx/weewx/engine.py", line 81, in init Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: self.setupStation(config_dict) Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: File "/usr/share/weewx/weewx/engine.py", line 108, in setupStation Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: import(driver) Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: File "/usr/share/weewx/user/BCRobotics.py", line 118 Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: print "%s\r" % msg Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: ^ Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: SyntaxError: Missing parentheses in call to 'print'. Did you mean print("%s\r" % msg)? Feb 5 23:25:55 direwolf weewx[739] CRITICAL main: **** Exiting.

David-Enst commented 1 year ago

New driver just uploaded. Never saw that error before!?