As it happens I just had another lockup but weewx did pull the data since
the lockup. I'm not sure whether this was luck or whatever. I did however
have to restart weewx to get it going.
Once I realised no data was going to weewx, I activated the log before
powercycling and restarting and have attached the file. Perhaps I am not
suffering from lock up it could be something else. As a newbie, I have to
admit a lot of the info means nothing to me.
NB I did try to use the device utility as instructed but I got the message:
wee_device: error: --history option requires an argument
Regards
Richard
On Saturday, 31 March 2018 12:31:01 UTC+1, mwall wrote:
>
>
>
> On Saturday, March 31, 2018 at 3:45:35 AM UTC-4, Richard Cain wrote:
>>
>> Hi
>> Thanks for the reply. On my console there is an icon which shows the
>> memory, this doesn't clear with a power cycle so it has retained the data.
>> So again, any chance of getting this data?
>>
>
> ah, you have a 30xx. those retain data through a power cycle.
>
> weewx will only pull data from the logger if the data are newer than the
> latest data in the weewx database
>
> so after a lockup, weewx *should* pull the data since the lockup began
>
> use the wee_device utility to see exactly what is in the logger
>
> wee_device --history
>
> this will dump all of the data from the logger. then you can put that
> into the weewx database using sqlite tools.
>
> m
>
--
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.
richard@richard-ub1710:~$ tail -f /var/log/syslog
Apr 2 15:09:56 richard-ub1710 weewx[15910]: fousb: get_observations failed:
ignoring suspected bogus data from 0x0150 (delay=49 interval=15)
Apr 2 15:10:26 richard-ub1710 weewx[15910]: fousb: get_observations failed:
ignoring suspected bogus data from 0x0150 (delay=49 interval=15)
Apr 2 15:10:56 richard-ub1710 weewx[15910]: fousb: get_observations failed:
ignoring suspected bogus data from 0x0150 (delay=50 interval=15)
Apr 2 15:11:09 richard-ub1710 dbus-daemon[1547]: Activating via systemd:
service name='org.gnome.Terminal' unit='gnome-terminal-server.service'
Apr 2 15:11:09 richard-ub1710 systemd[1533]: Starting GNOME Terminal Server...
Apr 2 15:11:09 richard-ub1710 dbus-daemon[1547]: Successfully activated
service 'org.gnome.Terminal'
Apr 2 15:11:09 richard-ub1710 systemd[1533]: Started GNOME Terminal Server.
Apr 2 15:11:32 richard-ub1710 weewx[15910]: fousb: get_observations failed:
ignoring suspected bogus data from 0x0150 (delay=51 interval=15)
Apr 2 15:11:32 richard-ub1710 weewx[15910]: engine: Caught WeeWxIOError: Max
retries exceeded while fetching observations
Apr 2 15:11:32 richard-ub1710 weewx[15910]: **** Waiting 60 seconds then
retrying...
Apr 2 15:12:10 richard-ub1710 kernel: [1134722.266147] usb 3-4: USB
disconnect, device number 12
Apr 2 15:12:32 richard-ub1710 weewx[15910]: engine: retrying...
Apr 2 15:12:32 richard-ub1710 weewx[15910]: engine: Using configuration file
/home/richard/weewx/weewx.conf
Apr 2 15:12:32 richard-ub1710 weewx[15910]: engine: Loading station type
FineOffsetUSB (weewx.drivers.fousb)
Apr 2 15:12:32 richard-ub1710 weewx[15910]: fousb: driver version is 1.9
Apr 2 15:12:32 richard-ub1710 weewx[15910]: fousb: polling mode is PERIODIC
Apr 2 15:12:32 richard-ub1710 weewx[15910]: fousb: polling interval is 60
Apr 2 15:12:32 richard-ub1710 weewx[15910]: fousb: Cannot find USB device with
Vendor=0x1941 ProdID=0x8021 Device=None
Apr 2 15:12:32 richard-ub1710 weewx[15910]: import of driver failed: Unable to
find USB device (<class 'weewx.WeeWxIOError'>)
Apr 2 15:12:32 richard-ub1710 weewx[15910]: engine: Unable to load driver:
Unable to find USB device
Apr 2 15:12:32 richard-ub1710 weewx[15910]: **** Exiting...
Apr 2 15:12:34 richard-ub1710 kernel: [1134746.886831] usb 3-4: new low-speed
USB device number 31 using xhci_hcd
Apr 2 15:12:34 richard-ub1710 kernel: [1134747.035234] usb 3-4: New USB device
found, idVendor=1941, idProduct=8021
Apr 2 15:12:34 richard-ub1710 kernel: [1134747.035240] usb 3-4: New USB device
strings: Mfr=0, Product=0, SerialNumber=0
Apr 2 15:12:34 richard-ub1710 kernel: [1134747.044131] hid-generic
0003:1941:8021.0008: hiddev0,hidraw0: USB HID v1.00 Device [HID 1941:8021] on
usb-0000:00:14.0-4/input0
Apr 2 15:12:35 richard-ub1710 mtp-probe: checking bus 3, device 31:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4"
Apr 2 15:12:35 richard-ub1710 mtp-probe: bus: 3, device: 31 was not an MTP
device
Apr 2 15:13:08 richard-ub1710 dhclient[4683]: DHCPREQUEST of 192.168.1.35 on
eno1 to 192.168.1.1 port 67 (xid=0x363c7fc)
Apr 2 15:13:08 richard-ub1710 dhclient[4683]: DHCPACK of 192.168.1.35 from
192.168.1.254
Apr 2 15:13:08 richard-ub1710 NetworkManager[985]: <info> [1522678388.3163]
dhcp4 (eno1): address 192.168.1.35
Apr 2 15:13:08 richard-ub1710 NetworkManager[985]: <info> [1522678388.3163]
dhcp4 (eno1): plen 24 (255.255.255.0)
Apr 2 15:13:08 richard-ub1710 NetworkManager[985]: <info> [1522678388.3164]
dhcp4 (eno1): gateway 192.168.1.1
Apr 2 15:13:08 richard-ub1710 NetworkManager[985]: <info> [1522678388.3164]
dhcp4 (eno1): lease time 3600
Apr 2 15:13:08 richard-ub1710 NetworkManager[985]: <info> [1522678388.3164]
dhcp4 (eno1): nameserver '192.168.1.1'
Apr 2 15:13:08 richard-ub1710 dbus[952]: [system] Activating via systemd:
service name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Apr 2 15:13:08 richard-ub1710 NetworkManager[985]: <info> [1522678388.3164]
dhcp4 (eno1): domain name 'setup'
Apr 2 15:13:08 richard-ub1710 NetworkManager[985]: <info> [1522678388.3164]
dhcp4 (eno1): state changed bound -> bound
Apr 2 15:13:08 richard-ub1710 systemd[1]: Starting Network Manager Script
Dispatcher Service...
Apr 2 15:13:08 richard-ub1710 dhclient[4683]: bound to 192.168.1.35 -- renewal
in 1561 seconds.
Apr 2 15:13:08 richard-ub1710 dbus[952]: [system] Successfully activated
service 'org.freedesktop.nm_dispatcher'
Apr 2 15:13:08 richard-ub1710 systemd[1]: Started Network Manager Script
Dispatcher Service.
Apr 2 15:13:08 richard-ub1710 nm-dispatcher: req:1 'dhcp4-change' [eno1]: new
request (1 scripts)
Apr 2 15:13:08 richard-ub1710 nm-dispatcher: req:1 'dhcp4-change' [eno1]:
start running ordered scripts...
Apr 2 15:15:44 richard-ub1710 gnome-terminal-[23894]: Allocating size to
GtkBox 0x5604891a66f0 without calling gtk_widget_get_preferred_width/height().
How does the code know the size to allocate?
Apr 2 15:15:45 richard-ub1710 gnome-terminal-[23894]: message repeated 19
times: [ Allocating size to GtkBox 0x5604891a66f0 without calling
gtk_widget_get_preferred_width/height(). How does the code know the size to
allocate?]
Apr 2 15:17:01 richard-ub1710 CRON[24525]: (root) CMD ( cd / && run-parts
--report /etc/cron.hourly)
Apr 2 15:17:53 richard-ub1710 kernel: [1135065.609097] usb 3-4: USB
disconnect, device number 31
Apr 2 15:18:10 richard-ub1710 kernel: [1135083.024969] usb 3-4: new low-speed
USB device number 32 using xhci_hcd
Apr 2 15:18:11 richard-ub1710 kernel: [1135083.173187] usb 3-4: New USB device
found, idVendor=1941, idProduct=8021
Apr 2 15:18:11 richard-ub1710 kernel: [1135083.173190] usb 3-4: New USB device
strings: Mfr=0, Product=0, SerialNumber=0
Apr 2 15:18:11 richard-ub1710 kernel: [1135083.181552] hid-generic
0003:1941:8021.0009: hiddev0,hidraw0: USB HID v1.00 Device [HID 1941:8021] on
usb-0000:00:14.0-4/input0
Apr 2 15:18:11 richard-ub1710 mtp-probe: checking bus 3, device 32:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4"
Apr 2 15:18:11 richard-ub1710 mtp-probe: bus: 3, device: 32 was not an MTP
device
Apr 2 15:19:01 richard-ub1710 dbus-daemon[1547]: Activating service
name='org.gnome.ChromeGnomeShell'
Apr 2 15:19:01 richard-ub1710 dbus-daemon[1547]: Successfully activated
service 'org.gnome.ChromeGnomeShell'
Apr 2 15:20:07 richard-ub1710 systemd[1]: Stopping LSB: weewx weather system...
Apr 2 15:20:07 richard-ub1710 weewx[24894]: * Stopping weewx weather system
weewx
Apr 2 15:20:07 richard-ub1710 weewx[24894]: * not running...
Apr 2 15:20:07 richard-ub1710 weewx[24894]: ...done.
Apr 2 15:20:07 richard-ub1710 systemd[1]: Stopped LSB: weewx weather system.
Apr 2 15:22:15 richard-ub1710 systemd[1]: Starting LSB: weewx weather system...
Apr 2 15:22:15 richard-ub1710 weewx[25116]: * Starting weewx weather system
weewx
Apr 2 15:22:16 richard-ub1710 weewx[25127]: engine: Initializing weewx version
3.8.0
Apr 2 15:22:16 richard-ub1710 weewx[25127]: engine: Using Python 2.7.14
(default, Sep 23 2017, 22:06:14) #012[GCC 7.2.0]
Apr 2 15:22:16 richard-ub1710 weewx[25127]: engine: Platform
Linux-4.13.0-37-generic-x86_64-with-Ubuntu-17.10-artful
Apr 2 15:22:16 richard-ub1710 weewx[25127]: engine: Locale is 'en_GB.UTF-8'
Apr 2 15:22:16 richard-ub1710 weewx[25127]: engine: pid file is
/var/run/weewx.pid
Apr 2 15:22:16 richard-ub1710 weewx[25131]: engine: Using configuration file
/home/richard/weewx/weewx.conf
Apr 2 15:22:16 richard-ub1710 weewx[25131]: engine: Loading station type
FineOffsetUSB (weewx.drivers.fousb)
Apr 2 15:22:16 richard-ub1710 weewx[25116]: ...done.
Apr 2 15:22:16 richard-ub1710 systemd[1]: Started LSB: weewx weather system.
Apr 2 15:22:16 richard-ub1710 weewx[25131]: fousb: driver version is 1.9
Apr 2 15:22:16 richard-ub1710 weewx[25131]: fousb: polling mode is PERIODIC
Apr 2 15:22:16 richard-ub1710 weewx[25131]: fousb: polling interval is 60
Apr 2 15:22:16 richard-ub1710 weewx[25131]: fousb: found station on USB bus=
device=
Apr 2 15:22:16 richard-ub1710 weewx[25131]: engine: StdConvert target unit is
0x1
Apr 2 15:22:16 richard-ub1710 weewx[25131]: 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
Apr 2 15:22:16 richard-ub1710 weewx[25131]: wxcalculate: The following
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Apr 2 15:22:16 richard-ub1710 weewx[25131]: engine: Archive will use data
binding wx_binding
Apr 2 15:22:16 richard-ub1710 weewx[25131]: engine: Record generation will be
attempted in 'software'
Apr 2 15:22:16 richard-ub1710 weewx[25131]: engine: Using archive interval of
900 seconds (specified by hardware)
Apr 2 15:22:16 richard-ub1710 weewx[25131]: engine: Using binding 'wx_binding'
to database 'weewx.sdb'
Apr 2 15:22:16 richard-ub1710 weewx[25131]: manager: Starting backfill of
daily summaries
Apr 2 15:22:17 richard-ub1710 weewx[25131]: restx: StationRegistry: Station
will be registered.
Apr 2 15:22:17 richard-ub1710 weewx[25131]: restx: Wunderground-PWS: Data for
station IPENELA2 will be posted
Apr 2 15:22:17 richard-ub1710 weewx[25131]: restx: PWSweather: Posting not
enabled.
Apr 2 15:22:17 richard-ub1710 weewx[25131]: restx: CWOP: Posting not enabled.
Apr 2 15:22:17 richard-ub1710 weewx[25131]: restx: WOW: Data for station
3b556dfd-c71b-e811-90ce-0003ff597a79 will be posted
Apr 2 15:22:17 richard-ub1710 weewx[25131]: restx: AWEKAS: Data will be
uploaded for user arcain
Apr 2 15:22:17 richard-ub1710 weewx[25131]: engine: Starting up weewx version
3.8.0
Apr 2 15:22:17 richard-ub1710 weewx[25131]: fousb: synchronising to the
weather station (quality=0)
Apr 2 15:24:20 richard-ub1710 weewx[25131]: fousb: invalid data in get_records
at 0x0140, 2018-04-02T14:18:05
Apr 2 15:24:20 richard-ub1710 weewx[25131]: fousb: invalid data in get_records
at 0x0130, 2018-04-02T14:03:05
Apr 2 15:24:20 richard-ub1710 weewx[25131]: engine: Starting main packet loop.
Apr 2 15:24:20 richard-ub1710 weewx[25131]: fousb: station status {'unknown':
0, 'lost_connection': 0, 'rain_overflow': 0} (0)
Apr 2 15:30:22 richard-ub1710 weewx[25131]: manager: Added record 2018-04-02
15:30:00 WEST (1522679400) to database 'weewx.sdb'
Apr 2 15:30:22 richard-ub1710 weewx[25131]: manager: Added record 2018-04-02
15:30:00 WEST (1522679400) to daily summary in 'weewx.sdb'
Apr 2 15:30:23 richard-ub1710 weewx[25131]: restx: StationRegistry: Published
record 2018-04-02 15:30:00 WEST (1522679400)
Apr 2 15:30:23 richard-ub1710 weewx[25131]: cheetahgenerator: Generated 15
files for report StandardReport in 0.78 seconds
Apr 2 15:30:23 richard-ub1710 weewx[25131]: restx: AWEKAS: Published record
2018-04-02 15:30:00 WEST (1522679400)
Apr 2 15:30:23 richard-ub1710 weewx[25131]: restx: Wunderground-PWS: Published
record 2018-04-02 15:30:00 WEST (1522679400)
Apr 2 15:30:24 richard-ub1710 weewx[25131]: copygenerator: copied 9 files to
/home/richard/weewx/public_html
Apr 2 15:30:26 richard-ub1710 weewx[25131]: restx: WOW: Published record
2018-04-02 15:30:00 WEST (1522679400)
Apr 2 15:31:24 richard-ub1710 weewx[25131]: ftpgenerator: ftp'd 52 files in
59.80 seconds
Apr 2 15:33:23 richard-ub1710 weewx[25131]: fousb: changing data format from
1080 to 3080
Apr 2 15:35:57 richard-ub1710 org.gnome.Shell.desktop[1630]: Gtk-Message:
GtkDialog mapped without a transient parent. This is discouraged.
Apr 2 15:35:57 richard-ub1710 dbus[952]: [system] Activating via systemd:
service name='org.freedesktop.hostname1'
unit='dbus-org.freedesktop.hostname1.service'
Apr 2 15:35:57 richard-ub1710 systemd[1]: Starting Hostname Service...
Apr 2 15:35:58 richard-ub1710 dbus[952]: [system] Successfully activated
service 'org.freedesktop.hostname1'
Apr 2 15:35:58 richard-ub1710 systemd[1]: Started Hostname Service.
Apr 2 15:39:01 richard-ub1710 org.gnome.Shell.desktop[1630]: Window manager
warning: last_user_time (1136339459) is greater than comparison timestamp
(1136339458). This most likely represents a buggy client sending inaccurate
timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around...
Apr 2 15:39:01 richard-ub1710 org.gnome.Shell.desktop[1630]: Window manager
warning: 0x3200003 (~/weewx/sk) appears to be one of the offending windows with
a timestamp of 1136339459. Working around...
Apr 2 15:39:09 richard-ub1710 dhclient[4683]: DHCPREQUEST of 192.168.1.35 on
eno1 to 192.168.1.1 port 67 (xid=0x363c7fc)
Apr 2 15:39:09 richard-ub1710 dhclient[4683]: DHCPACK of 192.168.1.35 from
192.168.1.254
Apr 2 15:39:09 richard-ub1710 NetworkManager[985]: <info> [1522679949.5950]
dhcp4 (eno1): address 192.168.1.35
Apr 2 15:39:09 richard-ub1710 NetworkManager[985]: <info> [1522679949.5951]
dhcp4 (eno1): plen 24 (255.255.255.0)
Apr 2 15:39:09 richard-ub1710 NetworkManager[985]: <info> [1522679949.5951]
dhcp4 (eno1): gateway 192.168.1.1
Apr 2 15:39:09 richard-ub1710 NetworkManager[985]: <info> [1522679949.5951]
dhcp4 (eno1): lease time 3600
Apr 2 15:39:09 richard-ub1710 NetworkManager[985]: <info> [1522679949.5951]
dhcp4 (eno1): nameserver '192.168.1.1'
Apr 2 15:39:09 richard-ub1710 dbus[952]: [system] Activating via systemd:
service name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Apr 2 15:39:09 richard-ub1710 NetworkManager[985]: <info> [1522679949.5951]
dhcp4 (eno1): domain name 'setup'
Apr 2 15:39:09 richard-ub1710 NetworkManager[985]: <info> [1522679949.5951]
dhcp4 (eno1): state changed bound -> bound
Apr 2 15:39:09 richard-ub1710 systemd[1]: Starting Network Manager Script
Dispatcher Service...
Apr 2 15:39:09 richard-ub1710 dbus[952]: [system] Successfully activated
service 'org.freedesktop.nm_dispatcher'
Apr 2 15:39:09 richard-ub1710 systemd[1]: Started Network Manager Script
Dispatcher Service.
Apr 2 15:39:09 richard-ub1710 nm-dispatcher: req:1 'dhcp4-change' [eno1]: new
request (1 scripts)
Apr 2 15:39:09 richard-ub1710 nm-dispatcher: req:1 'dhcp4-change' [eno1]:
start running ordered scripts...
Apr 2 15:39:09 richard-ub1710 dhclient[4683]: bound to 192.168.1.35 -- renewal
in 1786 seconds.
Apr 2 15:43:03 richard-ub1710 org.gnome.Shell.desktop[1630]: Gtk-Message:
GtkDialog mapped without a transient parent. This is discouraged.
Apr 2 15:43:03 richard-ub1710 dbus[952]: [system] Activating via systemd:
service name='org.freedesktop.hostname1'
unit='dbus-org.freedesktop.hostname1.service'
Apr 2 15:43:03 richard-ub1710 systemd[1]: Starting Hostname Service...
Apr 2 15:43:03 richard-ub1710 dbus[952]: [system] Successfully activated
service 'org.freedesktop.hostname1'
Apr 2 15:43:03 richard-ub1710 systemd[1]: Started Hostname Service.
Apr 2 15:45:25 richard-ub1710 weewx[25131]: manager: Added record 2018-04-02
15:45:00 WEST (1522680300) to database 'weewx.sdb'
Apr 2 15:45:25 richard-ub1710 weewx[25131]: manager: Added record 2018-04-02
15:45:00 WEST (1522680300) to daily summary in 'weewx.sdb'
Apr 2 15:45:26 richard-ub1710 weewx[25131]: cheetahgenerator: Generated 15
files for report StandardReport in 0.20 seconds
Apr 2 15:45:26 richard-ub1710 weewx[25131]: restx: AWEKAS: Published record
2018-04-02 15:45:00 WEST (1522680300)
Apr 2 15:45:26 richard-ub1710 weewx[25131]: restx: Wunderground-PWS: Published
record 2018-04-02 15:45:00 WEST (1522680300)
Apr 2 15:45:26 richard-ub1710 weewx[25131]: imagegenerator: Generated 37
images for StandardReport in 0.79 seconds
Apr 2 15:45:26 richard-ub1710 weewx[25131]: copygenerator: copied 0 files to
/home/richard/weewx/public_html
Apr 2 15:45:42 richard-ub1710 weewx[25131]: restx: WOW: Published record
2018-04-02 15:45:00 WEST (1522680300)
Apr 2 15:46:34 richard-ub1710 weewx[25131]: ftpgenerator: ftp'd 52 files in
67.58 seconds
Apr 2 15:47:59 richard-ub1710 org.gnome.Shell.desktop[1630]: Gtk-Message:
GtkDialog mapped without a transient parent. This is discouraged.
Apr 2 15:47:59 richard-ub1710 dbus[952]: [system] Activating via systemd:
service name='org.freedesktop.hostname1'
unit='dbus-org.freedesktop.hostname1.service'
Apr 2 15:47:59 richard-ub1710 systemd[1]: Starting Hostname Service...
Apr 2 15:47:59 richard-ub1710 dbus[952]: [system] Successfully activated
service 'org.freedesktop.hostname1'
Apr 2 15:47:59 richard-ub1710 systemd[1]: Started Hostname Service.
Apr 2 16:00:16 richard-ub1710 systemd[1]: Started Run anacron jobs.
Apr 2 16:00:16 richard-ub1710 anacron[29216]: Anacron 2.3 started on 2018-04-02
Apr 2 16:00:16 richard-ub1710 anacron[29216]: Normal exit (0 jobs run)
Apr 2 16:00:36 richard-ub1710 weewx[25131]: manager: Added record 2018-04-02
16:00:00 WEST (1522681200) to database 'weewx.sdb'
Apr 2 16:00:36 richard-ub1710 weewx[25131]: manager: Added record 2018-04-02
16:00:00 WEST (1522681200) to daily summary in 'weewx.sdb'
Apr 2 16:00:36 richard-ub1710 weewx[25131]: cheetahgenerator: Generated 15
files for report StandardReport in 0.18 seconds
Apr 2 16:00:36 richard-ub1710 weewx[25131]: restx: WOW: Published record
2018-04-02 16:00:00 WEST (1522681200)
Apr 2 16:00:37 richard-ub1710 weewx[25131]: imagegenerator: Generated 25
images for StandardReport in 0.50 seconds
Apr 2 16:00:37 richard-ub1710 weewx[25131]: copygenerator: copied 0 files to
/home/richard/weewx/public_html
Apr 2 16:00:37 richard-ub1710 weewx[25131]: restx: AWEKAS: Published record
2018-04-02 16:00:00 WEST (1522681200)
Apr 2 16:00:37 richard-ub1710 weewx[25131]: restx: Wunderground-PWS: Published
record 2018-04-02 16:00:00 WEST (1522681200)
Apr 2 16:01:22 richard-ub1710 weewx[25131]: ftpgenerator: ftp'd 40 files in
45.59 seconds