These are chat archives for nightscout/intend-to-bolus
Here's the exact language from the logs from the rig that was about 2 feet away from me when the A52 error happened (sometime between 6:49 and 6:50am):
Nov 22 06:49:04  pump-loop.log: Checking pump clock: "2018-11-22T06:43:18-05:00" is within 90s of current time: Thu Nov 22 06:49:04 EST 2018
Nov 22 06:49:04  pump-loop.log: Pump clock is more than 55s off: attempting to reset it
Nov 22 06:49:04  pump-loop.log: Waiting for ntpd to synchronize... OK!
Nov 22 06:49:04  pump-loop.log: Setting pump time to Thu Nov 22 06:49:04 EST 2018
Nov 22 06:49:18  pump-loop.log: IndexError: bytearray index out of range
Nov 22 06:49:18  pump-loop.log: Setting CGM time to Thu Nov 22 06:49:18 EST 2018
Nov 22 06:49:20  pump-loop.log: AttributeError: 'NoneType' object has no attribute 'ReadSystemTime'
Nov 22 06:49:20  pump-loop.log: Error: pump clock refresh error / mismatch
Nov 22 06:50:40  pump-loop.log: oref0-pump-loop failed. Listening for 40s silence before mmtuning: .............................No interfering pump comms detected from other rigs (this is a good thing!)
it is not stuck, I reboots as usual. my dos session tells me this : C:\jubilinux>FLASHALL.BAT
Using U-boot target: edison-blankrndis
Now waiting for dfu device 8087:0a99
Please plug and reboot the board
Dfu device not found Timeout
Did you plug and reboot your board?
If yes, please try a recovery by calling this script with the --recovery option
sudo service cron stop && killall -g oref0-pump-loop && shutdown -c
You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js v4 and later.
happy thanksgiving everyone!
cd ~/myopenaps; killall -g oref0-pump-loop; OREF0_DEBUG=1 oref0-pump-loop(I also tried with 2, vs 1). but it doesn’t tell me anything about cgm-loop.log
I know I’m not understanding the full context, but the only relevant matches to cgm-loop.log I seem to be able to find in oref0
./bin/oref0-setup.sh: (crontab -l; crontab -l | grep -q "cd $directory-cgm-loop && ps aux | grep -v grep | grep -q 'openaps monitor-cgm'" || echo "* * * * * cd $directory-cgm-loop && ps aux | grep -v grep | grep -q 'openaps monitor-cgm' || ( date; openaps monitor-cgm) | tee -a /var/log/openaps/cgm-loop.log; cp -up monitor/glucose-raw-merge.json $directory/cgm/glucose.json ; cp -up $directory/cgm/glucose.json $directory/monitor/glucose.json") | crontab -
./bin/oref0-setup.sh: (crontab -l; crontab -l | grep -q "cd $directory && ps aux | grep -v grep | grep -q 'openaps get-bg'" || echo "* * * * * cd $directory && ps aux | grep -v grep | grep -q 'openaps get-bg' || ( date; openaps get-bg ; cat cgm/glucose.json | jq -r '. | \"\\(.sgv) \\(.dateString)\"' | head -1 ) | tee -a /var/log/openaps/cgm-loop.log") | crontab -
locate oref0-cron-every-minute /home/.rootfs/usr/bin/oref0-cron-every-minute /home/.rootfs/usr/local/bin/oref0-cron-every-minute /root/src/oref0/bin/oref0-cron-every-minute.sh /root/src/oref0/node_modules/.bin/oref0-cron-every-minute
~/myopenaps# oref0-monitor-cgm Failed to get string preference .cgm_loop_path Not an openaps environment, run: openaps init
.cgm_loop_path=/root/myopenaps oref0-monitor-cgmbut it says no such path or directory