These are chat archives for nightscout/intend-to-bolus
On Nightscout, my Openaps says pump is "undefined." When I run a tail, it says "Error: Lock at ' /home/pi/myopenaps/.git/refs/heads/master.lock' could not be obtained.
Advice? (In lay people's language, please!)
@MelanieMitschke : check if there are
openaps processes (
ps -ef | grep openaps). Kill those first (reboot or
killall -g openaps). The quickest way to resolve this is
mv .git .git.corrupted.or.locked git init
but that will kill your git history of the openaps dir
rm /home/pi/myopenaps/.git/refs/heads/master.lockis the easiest
After running "rm /home/pi/myopenaps/.git/refs/heads/master.lock," it says "cannot remove, no such file or directory.
sudoin front of that
sudo rm /home/pi/myopenaps/.git/refs/heads/master.lock
raise AlreadyInUseException("%s already in use" % self.device) mmeowlink.vendors.serial_interface.AlreadyInUseException: /dev/spidev5.1 already in useany pointers as to where I might start troubleshooting ? Ta.
xDripdirectly to an Edison/Explorer?
xDripwould be a nice alternative...maybe. I also gave my "nice" G4 receiver to a friend who has no insurance.
xDripadvanced option in the Dev Branch please? It would be appreciated :D
This "each loop" error report is on a stable RPi using latest setup with CareLink.
Usual message is :
dist-packages/decocare-0.0.30-py2.7.egg/decocare/stick.py", line 71, in respond raise AckError("ACK is 0 bytes:\n%s" % lib.hexdump(raw)) decocare.errors.AckError: ACK is 0 bytes:
Once I saw this message:
File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 687, in execute raise GitCommandError(command, status, stderr_value, stdout_value)git.exc.GitCommandError: Cmd('git') failed due to: exit code(255) cmdline: git gc --auto
stderr: 'Auto packing the repository in background for optimum performance.See "git help gc" for manual housekeeping.
fatal: Unable to create home/pi/myopenaps/.git/refs/heads/master.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
error: failed to run reflog'
Fixed with reboot:)
tried ubuntu 16.04 on edison board today. results:
root@ubuntu:~# uname -a Linux ubuntu 4.8.0-rc4 #3 SMP Mon Sep 5 07:49:17 EDT 2016 i686 i686 i686 GNU/Linux root@ubuntu:~# lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 22a3:0047 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So Dexcom is detected and seems stable. On linux 4.8.0-rc4 :birthday: