error starting weewx

55 views
Skip to first unread message

frits.s...@gmail.com

unread,
Oct 12, 2020, 10:44:59 PM10/12/20
to weewx-user
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.


gjr80

unread,
Oct 13, 2020, 12:59:38 AM10/13/20
to weewx-user
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.

Gary

Frits Schouten

unread,
Oct 13, 2020, 5:29:25 AM10/13/20
to weewx...@googlegroups.com
Thanks for your reply Gary. 
It will be the first thing I'll try tomorrow morning. I'll report on the results. 

Cheers, 
Frits. 


Sent from my HUAWEI nova 3i
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/OeV5BbwAWnk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/61274689-cab2-4acc-b968-2de5ce12fde7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages