I've been running a VantageVue and a LaCross 23xx on the same host but with 2 different config files. I just upgraded to 3.6.0 and the VantageVue is running just fine, however I can't get the LaCross version to start up.

I was going to use wee_debug however it doesn't appear to allow for a config file other than weewx.conf.

I hope that the attached log information is sufficient to point to solution.

The OS is Centos 6.8

/usr/bin/wee_extension --list
Extension Name    Version   Description
forecast          3.0.8     Generate and display weather and tide forecasts.
lastrain          0.1       SLE for last rain information for weewx reports
StackedWindRose   2.0.2     Stacked windrose image generator for weewx.
exfoliation       0.35      A minimalist layout with lots of data.

Running in direct mode I get this

weewxd /etc/weewx/weewx-lc.conf
Traceback (most recent call last):
  File "/usr/bin/weewxd", line 64, in <module>
    weewx.engine.main(options, args)
  File "/usr/share/weewx/weewx/engine.py", line 838, in main
    engine = engine_class(config_dict)
  File "/usr/share/weewx/weewx/engine.py", line 76, in __init__
    self.loadServices(config_dict)
  File "/usr/share/weewx/weewx/engine.py", line 140, in loadServices
self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
  File "/usr/share/weewx/weewx/wxservices.py", line 38, in __init__
    engine.db_binder)
  File "/usr/share/weewx/weewx/wxservices.py", line 145, in __init__
    x = svc_dict['Calculations'].get(k, 'prefer_hardware').lower()
File "/usr/lib/python2.6/site-packages/configobj.py", line 583, in __getitem__
    val = dict.__getitem__(self, key)
KeyError: 'Calculations'

Any help would be greatly appreciated.

--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers

--
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].
For more options, visit https://groups.google.com/d/optout.
Oct  8 12:19:31 host weewx-lc[24184]: engine: Initializing weewx version 3.6.0
Oct  8 12:19:31 host weewx-lc[24184]: engine: Using Python 2.6.6 (r266:84292, 
Aug 18 2016, 15:13:37) #012[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
Oct  8 12:19:31 host weewx-lc[24184]: engine: Platform 
Linux-2.6.32-642.6.1.el6.x86_64-x86_64-with-centos-6.8-Final
Oct  8 12:19:31 host weewx-lc[24184]: engine: pid file is /var/run/weewx-lc.pid
Oct  8 12:19:31 host weewx-lc[24188]: engine: Using configuration file 
/etc/weewx/weewx-lc.conf
Oct  8 12:19:31 host weewx-lc[24188]: engine: Initializing engine
Oct  8 12:19:31 host weewx-lc[24188]: engine: Loading station type WS23xx 
(weewx.drivers.ws23xx)
Oct  8 12:19:32 host weewx-lc[24188]: ws23xx: driver version is 0.24
Oct  8 12:19:32 host weewx-lc[24188]: ws23xx: serial port is /dev/ttyS3
Oct  8 12:19:32 host weewx-lc[24188]: ws23xx: polling interval is 60
Oct  8 12:19:32 host weewx-lc[24188]: ws23xx: create LinuxSerialPort
Oct  8 12:19:32 host weewx-lc[24188]: ws23xx: create Ws2300
Oct  8 12:19:32 host weewx-lc[24188]: engine: Loading service 
weewx.engine.StdTimeSynch
Oct  8 12:19:32 host weewx-lc[24188]: engine: Finished loading service 
weewx.engine.StdTimeSynch
Oct  8 12:19:32 host weewx-lc[24188]: engine: Loading service 
weewx.engine.StdConvert
Oct  8 12:19:32 host weewx-lc[24188]: engine: StdConvert target unit is 0x1
Oct  8 12:19:32 host weewx-lc[24188]: engine: Finished loading service 
weewx.engine.StdConvert
Oct  8 12:19:32 host weewx-lc[24188]: engine: Loading service 
weewx.engine.StdCalibrate
Oct  8 12:19:32 host weewx-lc[24188]: engine: Finished loading service 
weewx.engine.StdCalibrate
Oct  8 12:19:32 host weewx-lc[24188]: engine: Loading service weewx.engine.StdQC
Oct  8 12:19:32 host weewx-lc[24188]: engine: Finished loading service 
weewx.engine.StdQC
Oct  8 12:19:32 host weewx-lc[24188]: engine: Loading service 
user.forecast.ZambrettiForecast
Oct  8 12:19:32 host weewx-lc[24188]: forecast: MainThread: Zambretti: forecast 
version 3.0.8
Oct  8 12:19:32 host weewx-lc[24188]: forecast: MainThread: Zambretti: last 
forecast issued 2016-10-08 09:00:00 EDT (1475931600), requested 2016-10-08 
09:00:00 EDT (1475931600)
Oct  8 12:19:32 host weewx-lc[24188]: forecast: MainThread: Zambretti: 
interval=600 max_age=604800 winddir_period=1800 pressure_period=10800 
hemisphere=NORTH lower_pressure=950.0 upper_pressure=1050.0
Oct  8 12:19:32 host weewx-lc[24188]: engine: Finished loading service 
user.forecast.ZambrettiForecast
Oct  8 12:19:32 host weewx-lc[24188]: engine: Loading service 
user.forecast.WUForecast
Oct  8 12:19:32 host weewx-lc[24188]: forecast: MainThread: WU: forecast 
version 3.0.8
Oct  8 12:19:32 host weewx-lc[24188]: forecast: MainThread: WU: last forecast 
issued 2016-10-08 09:04:42 EDT (1475931882), requested 2016-10-08 09:04:42 EDT 
(1475931882)
Oct  8 12:19:32 host weewx-lc[24188]: forecast: MainThread: WU: interval=10800 
max_age=604800 api_key=XXXXXXXXXXXXa2e1 location=36.079671,-078.585989 
fc=hourly10day
Oct  8 12:19:32 host weewx-lc[24188]: engine: Finished loading service 
user.forecast.WUForecast
Oct  8 12:19:32 host weewx-lc[24188]: engine: Loading service 
weewx.wxservices.StdWXCalculate
Oct  8 12:19:32 host weewx-lc[24188]: ws23xx: close LinuxSerialPort
Oct  8 12:19:32 host weewx-lc[24188]: engine: Caught unrecoverable exception in 
engine:
Oct  8 12:19:32 host weewx-lc[24188]:     ****  'Calculations'
Oct  8 12:19:32 host weewx-lc[24188]:     ****  Traceback (most recent call 
last):
Oct  8 12:19:32 host weewx-lc[24188]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 838, in main
Oct  8 12:19:32 host weewx-lc[24188]:     ****      engine = 
engine_class(config_dict)
Oct  8 12:19:32 host weewx-lc[24188]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 76, in __init__
Oct  8 12:19:32 host weewx-lc[24188]:     ****      
self.loadServices(config_dict)
Oct  8 12:19:32 host weewx-lc[24188]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 140, in loadServices
Oct  8 12:19:32 host weewx-lc[24188]:     ****      
self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Oct  8 12:19:32 host weewx-lc[24188]:     ****    File 
"/usr/share/weewx/weewx/wxservices.py", line 38, in __init__
Oct  8 12:19:32 host weewx-lc[24188]:     ****      engine.db_binder)
Oct  8 12:19:32 host weewx-lc[24188]:     ****    File 
"/usr/share/weewx/weewx/wxservices.py", line 145, in __init__
Oct  8 12:19:32 host weewx-lc[24188]:     ****      x = 
svc_dict['Calculations'].get(k, 'prefer_hardware').lower()
Oct  8 12:19:32 host weewx-lc[24188]:     ****    File 
"/usr/lib/python2.6/site-packages/configobj.py", line 583, in __getitem__
Oct  8 12:19:32 host weewx-lc[24188]:     ****      val = 
dict.__getitem__(self, key)
Oct  8 12:19:32 host weewx-lc[24188]:     ****  KeyError: 'Calculations'
Oct  8 12:19:32 host weewx-lc[24188]:     ****  Exiting.

Reply via email to