These are chat archives for nightscout/intend-to-bolus

Mar 2019
Mar 03 01:27
@TranceCake did you have any luck resolving your installation issues?
Riko L
Mar 03 08:16

i've updated to the new dev this morning and now I have the same npm errors as above.

npm WARN deprecated crypto@0.0.3: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
npm ERR! cb() never called!
npm ERR! not ok code 0

npm ERR! oref0@0.7.0-dev global-install: `npm install && sudo npm link && sudo npm link oref0 && sudo npm install -g`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the oref0@0.7.0-dev global-install script.
npm ERR! This is most likely a problem with the oref0 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm install && sudo npm link && sudo npm link oref0 && sudo npm install -g
npm ERR! You can get their info via:
npm ERR!     npm owner ls oref0
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.14.98+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "run" "global-install"
npm ERR! cwd /root/src/oref0
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm WARN This failure might be due to the use of legacy binary "node"

npm log does not show any other usefull info

Riko L
Mar 03 08:28
I've deleted files in /usr/local/lib/node_modules/oref0/
and it seams resolved npm related errors, but a new one emerged:
jq: error: Could not open file jq: No such file or directory
jq: error: Could not open file .extra.args |= sub(" API_SECRET " ; " token=xxxxx-token-goes-here-xxxxx "): No such file or directory
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Traceback (most recent call last):
  File "/usr/local/bin/openaps-import", line 89, in <module>
    app( )
  File "/usr/local/lib/python2.7/dist-packages/openaps/cli/", line 51, in __call__
  File "/usr/local/bin/openaps-import", line 77, in run
    candidates = json.load(args.input)
  File "/usr/lib/python2.7/json/", line 291, in load
  File "/usr/lib/python2.7/json/", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Could not run nightscout autoconfigure-device-crud
Mar 03 08:47
A new member of the club! I've not been successful with any solutions yet @Ricco555 (truthfully haven't come across that many to attempt!!) so please do let me know if you find one
Mar 03 08:51
@boc-the-git no not yet, I tried going back through all the branches but it keeps pulling the latest version. I think I got past that the last time but I cannot remember how I did it :(
Riko L
Mar 03 09:56
I am a git noob, so how do I revert back to fd53d84 which worked more or less ok
Mar 03 11:25

@Ricco555 Ah..okay. I run the system overnight and the terminal is still in work with the mmtune. Now, he is fixed with "868.450, 3, -40"
Is it normal for the whole time, that i could see it on the screen ? Every cycle, he write the message with "Invalid insulin_sensitivities.json. Also, the "Profile invalid: -rw-r--r-- 1 root......settings/profile.json pump profile refresh unsuccessful.

What could i do to fix these problems ?

Best regards


Mar 03 11:38
I am continuing to experiment with oref1. How do you handle deconnection, for the shower for instance. If openaps sends a smb and the pump is disconnected, it will bias the calculations. Is there a way to tell the system that there won't be insulin delivered in the next 15mn ?
Mar 03 12:21
I wrote here few days ago about connectivity issues. Rig can't find wifi (edison+Enlite+Medtronic). I reflashed Edison and rerun the script starting from scratch and set up only the essentials. No BT tethering etc. Script went fine, I saw OpenAps pill and BG values in NS but now again I'm having connection issues to wifi. What's wrong?
Offline looping works fine, as it did before.
Mar 03 12:28
In reboot this is the only error I get:
[FAILED] Failed to start Hostname Service.
See 'systemctl status systemd-hostnamed.service' for details.
Mar 03 12:41
@danamlewis do you have an idea what's going on?
Jeremy Cunningham
Mar 03 12:46
@JohnDoeAkira, we suspend the pump when disconnected. OpenAPS will see the suspension and take into account that no insulin is delivered during that time.
Mar 03 12:49
Damn! I found the error! On my wifi list I had my iPhone as a network. I removed this and the wifi connection came back! Could this really be the issue? If yes, I believe this should be reported
Sorry trying ti figure out
@rbfussell in this video the subject of auditory feedback with loop is discussed at 33min.
Mar 03 15:02
...and again the wifi is gone. What a mystery!
Scott Leibrand
Mar 03 17:18
@lottainkeri did your iPhone network have an apostrophe in it? Any syntax error (such as from improperly escaped single quotes) will break wpa_supplicant.
Mar 03 20:38
Thanks Jeremy, now that you've said it, it seems pretty obvious. Great advice !
Scott Leibrand
Mar 03 23:03
There is also an OpenAPS feature that unsuspends the pump after the running temp basal expires, so you can set a 30m temp to zero (or whatever) before showering, and if you forget to unsuspend when you reattach it will do so for you after the 30m is up.
Riko L
Mar 03 23:59
Hi, NS fork that I have on heroku crashed few hours ago and after that cannot get past H10 app crash error. Tried deleting the mongodb devicestatus and entries collections followed by repairDatabase.. not helping. Deployed new 0.11.1 .. worked for 2 min then crashed. I suppose it's mongo related, but I'm out of wits on what to do next.