Hooray, it now appears to be running.
The problem seems to have been in the settings of weewx.conf. As you had
advised there was a problem with the altitude. I checked through the User
Guide weewx.conf setup (http://www.weewx.com/docs/usersguide.htm#weewxconf)
and seen that the comma should have been there after the altitude figure,
but what was missing was the unit specification (meter or foot). I added on
meter to the end of this, but also had to amend the entry
[[[[Groups]]]]
group_altitude = meter
On Sunday, 11 September 2016 18:39:48 UTC+1, Andy Harrold wrote:
>
> Crashed out on startup.
>
> Sep 11 18:36:02 raspberrypi systemd[1]: Starting LSB: weewx weather
> system...
> Sep 11 18:36:04 raspberrypi weewx[8719]: engine: Initializing weewx
> version 3.5.0
> Sep 11 18:36:04 raspberrypi weewx[8719]: engine: Using Python 2.7.9
> (default, Mar 8 2015, 00:52:26) #012[GCC 4.9.2]
> Sep 11 18:36:04 raspberrypi weewx[8719]: engine: Platform
> Linux-4.4.11+-armv6l-with-debian-8.0
> Sep 11 18:36:04 raspberrypi weewx[8719]: engine: pid file is
> /var/run/weewx.pid
> Sep 11 18:36:05 raspberrypi weewx[8706]: Starting weewx weather system:
> weewx.
> Sep 11 18:36:05 raspberrypi systemd[1]: Started LSB: weewx weather system.
> Sep 11 18:36:05 raspberrypi weewx[8723]: engine: Using configuration file
> /etc/weewx/weewx.conf
> Sep 11 18:36:05 raspberrypi weewx[8723]: engine: Initializing engine
> Sep 11 18:36:05 raspberrypi weewx[8723]: engine: Loading station type
> TE923 (weewx.drivers.te923)
> Sep 11 18:36:05 raspberrypi weewx[8723]: te923: driver version is 0.19
> Sep 11 18:36:05 raspberrypi weewx[8723]: te923: polling interval is 10
> Sep 11 18:36:05 raspberrypi weewx[8723]: te923: observation map is
> {'bat_1': 'outBatteryStatus', 'bat_3': 'extraBatteryStatus2', 'bat_2':
> 'extraBatteryStatus1', 'bat_5': 'extraBatteryStatus4', 'bat_4':
> 'extraBatteryStatus3', 'bat_wind': 'windBatteryStatus', 't_in': 'inTemp',
> 'link_rain': 'rainLinkStatus', 't_5': 'extraTemp4', 'h_in': 'inHumidity',
> 'h_4': 'extraHumid3', 'h_5': 'extraHumid4', 'h_2': 'extraHumid1', 'h_3':
> 'extraHumid3', 'h_1': 'outHumidity', 't_2': 'extraTemp1', 'link_2':
> 'extraLinkStatus1', 'link_uv': 'uvLinkStatus', 'link_wind':
> 'windLinkStatus', 'uv': 'UV', 'bat_uv': 'uvBatteryStatus', 'link_5':
> 'extraLinkStatus4', 'bat_rain': 'rainBatteryStatus', 'link_3':
> 'extraLinkStatus2', 't_3': 'extraTemp2', 'link_1': 'outLinkStatus', 't_1':
> 'outTemp', 't_4': 'extraTemp3', 'link_4': 'extraLinkStatus3'}
> Sep 11 18:36:05 raspberrypi weewx[8723]: te923: Found device on USB
> bus=001 device=011
> Sep 11 18:36:05 raspberrypi weewx[8723]: te923: read: address 0x0000fc
> Sep 11 18:36:10 raspberrypi weewx[8723]: te923: timeout while reading:
> ignoring bytes: 02 05 01 9d 45 29 06 18 58 04 82 67 aa 0a aa aa 0a aa aa 0a
> 04 aa 75 c1 10 aa 0a aa ff ff c0 3e 54
> Sep 11 18:36:10 raspberrypi weewx[8723]: te923: Failed attempt 1 of 5 to
> read data: Timeout after 33 bytes
> Sep 11 18:36:10 raspberrypi weewx[8723]: te923: Waiting 3 seconds before
> retry
> Sep 11 18:36:14 raspberrypi weewx[8723]: te923: read: 5a 02 05 01 9d 45 29
> 06 18 58 04 82 67 aa 0a aa aa 0a aa aa 0a 04 aa 75 c1 10 aa 0a aa ff ff c0
> 3e 54
> Sep 11 18:36:14 raspberrypi weewx[8723]: te923: detected large memory size
> Sep 11 18:36:14 raspberrypi weewx[8723]: te923: logger capacity 3442
> records
> Sep 11 18:36:14 raspberrypi weewx[8723]: te923: read: address 0x000000
> Sep 11 18:36:14 raspberrypi weewx[8723]: te923: read: 5a 08 00 11 21 61 9e
> 55 05 40 51 00 04 30 02 04 a2 70 00 80 00 28 e8 55 05 40 51 00 04 30 02 df
> 00 d4
> Sep 11 18:36:14 raspberrypi weewx[8723]: te923: station time is
> 1473552000.0, computer time is 1473615374
> Sep 11 18:36:14 raspberrypi weewx[8723]: engine: Caught unrecoverable
> exception in engine:
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** list index out of range
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** Traceback (most recent
> call last):
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** File
> "/usr/share/weewx/weewx/engine.py", line 853, in main
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** engine =
> EngineClass(config_dict)
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** File
> "/usr/share/weewx/weewx/engine.py", line 72, in __init__
> Sep 11 18:36:14 raspberrypi weewx[8723]: ****
> self.preLoadServices(config_dict)
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** File
> "/usr/share/weewx/weewx/engine.py", line 110, in preLoadServices
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** self.stn_info =
> weewx.station.StationInfo(self.console, **config_dict['Station'])
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** File
> "/usr/share/weewx/weewx/station.py", line 41, in __init__
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** self.altitude_vt =
> weewx.units.ValueTuple(float(altitude_t[0]), altitude_t[1],
> "group_altitude")
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** IndexError: list index
> out of range
> Sep 11 18:36:14 raspberrypi weewx[8723]: **** 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].
For more options, visit https://groups.google.com/d/optout.