Hi,

It appears that you have an old version of the interceptor driver that has 
not been ported to python3. Suggest you re-install the interceptor driver 
from GitHub following the instructions in the interceptor repo readme 
<https://github.com/matthewwall/weewx-interceptor>.

Gary

On Tuesday, 13 October 2020 at 12:44:59 UTC+10 [email protected] wrote:

> I've just upgraded to ubuntu 20.04 and installed weewx 4.1.1.
> I can't get weewx to start properly and some would be much appreciated.
> Regards,
> Frits Schouten.
> The following is a snipped from syslog:
> Oct 13 14:55:59 snoopy systemd[1]: Starting LSB: weewx weather system...
> Oct 13 14:55:59 snoopy weewx[873]:  * Starting weewx weather system weewx
> Oct 13 14:56:00 snoopy whoopsie-upload-all[831]: 
> /var/crash/_usr_share_weewx_weewxd.0.crash already marked for upload, 
> skipping
> Oct 13 14:56:00 snoopy weewx[902] INFO __main__: Initializing weewx 
> version 4.1.1
> Oct 13 14:56:00 snoopy weewx[902] INFO __main__: Using Python 3.8.5 
> (default, Jul 28 2020, 12:59:40) #012[GCC 9.3.0]
> Oct 13 14:56:01 snoopy weewx[902] INFO __main__: Platform 
> Linux-5.4.0-48-generic-x86_64-with-glibc2.29
> Oct 13 14:56:01 snoopy weewx[902] INFO __main__: Locale is 'en_NZ.UTF-8'
> Oct 13 14:56:01 snoopy weewx[902] INFO __main__: PID file is 
> /var/run/weewx.pid
> Oct 13 14:56:01 snoopy weewx[873]:    ...done.
> Oct 13 14:56:01 snoopy systemd[1]: Started LSB: weewx weather system.
> Oct 13 14:56:01 snoopy weewx[945] INFO __main__: Using configuration file 
> /etc/weewx/weewx.conf
> Oct 13 14:56:01 snoopy weewx[945] INFO __main__: Debug is 0
> Oct 13 14:56:01 snoopy weewx[945] INFO weewx.engine: Loading station type 
> Interceptor (user.interceptor)
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__: Caught unrecoverable 
> exception:
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****  invalid 
> syntax (interceptor.py, line 695)
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****  Traceback 
> (most recent call last):
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****    File 
> "/usr/share/weewx/weewxd", line 148, in main
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****      engine 
> = weewx.engine.StdEngine(config_dict)
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 69, in __init__
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****      
> self.setupStation(config_dict)
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 92, in setupStation
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****      
> __import__(driver)
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****    File 
> "/usr/share/weewx/user/interceptor.py", line 695
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****      except 
> ValueError, e:
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     
> ****                       ^
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****  
> SyntaxError: invalid syntax
> Oct 13 14:56:01 snoopy weewx[945] CRITICAL __main__:     ****  Exiting.
>
>
>

-- 
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/61274689-cab2-4acc-b968-2de5ce12fde7n%40googlegroups.com.

Reply via email to