My power went for a few hours this morning unexpectedly. I do have backups of the conf file, templates and database via a cron script which runs at midnight every night but would rather not go through a restore unless it's really needed as I've never had to and no doubt it's probably not going to be very straightforward (for me)
I'm running this on Raspbian on a Pi 2, any ideas/suggestions? dmesg looks fine to my eyes: pi@weatherpi:~ $ dmesg | grep Serial [ 0.042215] Serial: AMBA PL011 UART driver [ 0.874833] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.883014] usb usb1: SerialNumber: 3f980000.usb [ 2.576686] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.066911] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.454411] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.480382] usb 1-1.2: SerialNumber: 85DBEF3F [ 3.784665] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.810477] usb 1-1.5: SerialNumber: A900WRDU [ 9.343497] usbserial: USB Serial support registered for generic [ 9.365219] usbserial: USB Serial support registered for FTDI USB Serial Device [ 9.365668] ftdi_sio 1-1.5:1.0: FTDI USB Serial Device converter detected [ 9.371270] usb 1-1.5: FTDI USB Serial Device converter now attached to ttyUSB0 cat /var/log/syslog | grep weewx Jul 7 12:55:17 weatherpi systemd[1]: Mounting /var/weewx/reports... Jul 7 12:55:17 weatherpi systemd[1]: Mounted /var/weewx/reports. Jul 7 12:55:17 weatherpi systemd[1]: Starting LSB: weewx weather system... Jul 7 12:55:20 weatherpi weewx[372]: engine: Initializing weewx version 3.9.2 Jul 7 12:55:20 weatherpi weewx[372]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516] Jul 7 12:55:20 weatherpi weewx[372]: engine: Platform Linux-4.19.66-v7+-armv7l-with-debian-10.1 Jul 7 12:55:20 weatherpi weewx[372]: engine: Locale is 'en_GB.UTF-8' Jul 7 12:55:20 weatherpi weewx[372]: engine: pid file is /var/run/weewx.pid Jul 7 12:55:20 weatherpi weewx[327]: Starting weewx weather system: weewx. Jul 7 12:55:20 weatherpi systemd[1]: Started LSB: weewx weather system. Jul 7 12:55:20 weatherpi weewx[426]: engine: Using configuration file /etc/weewx/weewx.conf Jul 7 12:55:20 weatherpi weewx[426]: engine: Loading station type Vantage (weewx.drivers.vantage) Jul 7 12:55:20 weatherpi weewx[426]: engine: StdConvert target unit is 0x1 Jul 7 12:55:20 weatherpi weewx[426]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware Jul 7 12:55:20 weatherpi weewx[426]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Jul 7 12:55:20 weatherpi weewx[426]: crt: service version is 0.18 Jul 7 12:55:20 weatherpi weewx[426]: crt: output goes to /var/weewx/reports/realtime.txt Jul 7 12:55:20 weatherpi weewx[426]: crt: 'None' values will be displayed as NULL Jul 7 12:55:20 weatherpi weewx[426]: crt: units will be displayed as METRIC Jul 7 12:55:20 weatherpi weewx[426]: engine: Caught unrecoverable exception in engine: Jul 7 12:55:20 weatherpi weewx[426]: **** EOF read where object expected Jul 7 12:55:20 weatherpi weewx[426]: **** Traceback (most recent call last): Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/share/weewx/weewx/engine.py", line 888, in main Jul 7 12:55:20 weatherpi weewx[426]: **** engine = engine_class(config_dict) Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/share/weewx/weewx/engine.py", line 78, in __init__ Jul 7 12:55:20 weatherpi weewx[426]: **** self.loadServices(config_dict) Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/share/weewx/weewx/engine.py", line 142, in loadServices Jul 7 12:55:20 weatherpi weewx[426]: **** self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict)) Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/share/weewx/user/crt.py", line 436, in __init__ Jul 7 12:55:20 weatherpi weewx[426]: **** self.forecast = ZambrettiForecast(config_dict) Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/share/weewx/user/crt.py", line 353, in __init__ Jul 7 12:55:20 weatherpi weewx[426]: **** default_binding_dict=ZambrettiForecast.DEFAULT_BINDING_DICT) Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/share/weewx/weewx/manager.py", line 1013, in get_manager_dict Jul 7 12:55:20 weatherpi weewx[426]: **** default_binding_dict) Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/share/weewx/weewx/manager.py", line 1002, in get_manager_dict_from_config Jul 7 12:55:20 weatherpi weewx[426]: **** manager_dict['schema'] = weeutil.weeutil._get_object(schema_name) Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/share/weewx/weeutil/weeutil.py", line 1107, in _get_object Jul 7 12:55:20 weatherpi weewx[426]: **** mod = __import__(module) Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/share/weewx/user/forecast.py", line 494, in <module> Jul 7 12:55:20 weatherpi weewx[426]: **** import httplib Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/lib/python2.7/httplib.py", line 80, in <module> Jul 7 12:55:20 weatherpi weewx[426]: **** import mimetools Jul 7 12:55:20 weatherpi weewx[426]: **** File "/usr/lib/python2.7/mimetools.py", line 11, in <module> Jul 7 12:55:20 weatherpi weewx[426]: **** import rfc822 Jul 7 12:55:20 weatherpi weewx[426]: **** EOFError: EOF read where object expected Jul 7 12:55:20 weatherpi weewx[426]: **** Exiting. Thanks! -- 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/98e41c70-5fd4-419d-9033-474a5298d3d1o%40googlegroups.com.
