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

7th
Aug 2018
woodtrevor
@woodtrevor
Aug 07 2018 01:05
@tim2000s Yeah, it is not ideal. But it was the only real (convenient, cost effective, etc.) option I had to get my rig online when away from home. So I did what I needed to make it work. I agree that the standard tethering option is much better if it works with your phone/provider (as it does for most). ☺️
wfeddern
@wfeddern
Aug 07 2018 02:35
@woodtrevor @tim2000s I emailed easytether support to see if there is a way to assign IP. An alternative may be to run an SSH server on the phone and do a reverse tunnel back to the raspberry pi.
woodtrevor
@woodtrevor
Aug 07 2018 03:00
Nice. Please share if you get a response. Interesting idea re. a reverse tunnel. I wonder if easytether would allow the rig to access a server on the phone. I get the impression that it simply forwards all rig traffic out to the net and sends any replies that come back across to the rig. Not sure though, honestly.
NSewar
@nsewar01
Aug 07 2018 06:30
@danamlewis. Was your reply to @tim streets query on 6 Aug a suggestion to try dev to solve the install problem? @ Tim street
@tim2000s was asking on my behalf. Have tried to install on PiHat rig 6 times now and keep getting the same message that Tim posted. No idea what to try next.
Scott Leibrand
@scottleibrand
Aug 07 2018 07:59
We have short memories: it might help to post a screenshot and a description of your setup.
And a summary of what you’ve already tried.
ElwinABC
@ElwinABC
Aug 07 2018 08:30
Dear all,
NSewar
@nsewar01
Aug 07 2018 11:00

I have a piHat rig it is the second I have purchased as the screen on the first was faulty.Query was ......been trying to run the Pi0W install script this afternoon and running into the following issue:

Collecting openaps
Downloading https://files.pythonhosted.org/packages/fb/c5/bbbabaf067adb6da839a29dee46a03eddd72f2ce3a218bc0e0353485e629/openaps-0.1.5.tar.gz
Collecting argcomplete (from openaps)
Downloading https://files.pythonhosted.org/packages/31/88/ba8d8684a8a27749250c66ff7c2b408fdbc29b50da61200338ff9b2607bf/argcomplete-1.9.4-py2.py3-none-any.whl
Collecting decocare>0.0.26 (from openaps)
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages
page = self._get_page(location)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page
"Cache-Control": "max-age=600",
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
return self.request('GET', url, kwargs)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request
return super(PipSession, self).request(method, url, *args,
kwargs)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
resp = self.send(prep, send_kwargs)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
r = adapter.send(request,
kwargs)
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
timeout=timeout
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
total -= 1
TypeError: unsupported operand ty

could it be a hardware error? another faulti piHat?
perhaps?
Tim Street
@tim2000s
Aug 07 2018 16:45
@mhaeberli - the issue with offline is that you can’t link the rig and the phone when using an iPhone if it doesn’t have a cellular signal, as iOS drops the personal hotspot.
@scottleibrand - we’ve run through the Pi hat page for installing OpenAPS. That’s build the base with PiBakery then curl and run the oref0-install.sh
That’s what bums out on us at the point I referenced in the earlier post.
Tim Street
@tim2000s
Aug 07 2018 16:51
Collecting openaps
Downloading https://files.pythonhosted.org/packages/fb/c5/bbbabaf067adb6da839a29dee46a03eddd72f2ce3a218bc0e0353485e629/openaps-0.1.5.tar.gz
Collecting argcomplete (from openaps)
Downloading https://files.pythonhosted.org/packages/31/88/ba8d8684a8a27749250c66ff7c2b408fdbc29b50da61200338ff9b2607bf/argcomplete-1.9.4-py2.py3-none-any.whl
Collecting decocare>0.0.26 (from openaps)
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages
page = self._get_page(location)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page
"Cache-Control": "max-age=600",
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
return self.request('GET', url, kwargs)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request
return super(PipSession, self).request(method, url, *args,
kwargs)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
resp = self.send(prep, send_kwargs)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
r = adapter.send(request,
kwargs)
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
timeout=timeout
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
Scott Leibrand
@scottleibrand
Aug 07 2018 17:03
Do you get the same issue with the latest raspbian image?
Also, oref0 dev doesn’t need the Python stuff, if you’d rather skip to that
Tim Street
@tim2000s
Aug 07 2018 19:49
That was with the Raspbian Lite image that comes with PiBakery.
Scott Leibrand
@scottleibrand
Aug 07 2018 19:50
I'm talking about the one directly from Raspbian
Tim Street
@tim2000s
Aug 07 2018 19:52
@nsewar01 would have to confirm whether he wants to do that.
Scott Leibrand
@scottleibrand
Aug 07 2018 19:56
has anyone else been able to reproduce the problem?
NSewar
@nsewar01
Aug 07 2018 20:01
i am just trying to follow the instructions and it keeps failing. I just installed a new sd card in raspberry and started from scratch , now getting another error
Scott Leibrand
@scottleibrand
Aug 07 2018 20:03
I'm wondering if it's a general problem with the PiBakery image, or something with to the python package or something
NSewar
@nsewar01
Aug 07 2018 20:09
I will try that source thanks Scott
Scott Leibrand
@scottleibrand
Aug 07 2018 20:11
you'll have to configure the wifi on the SD card before you boot up
that's the main reason we did pibakery
NSewar
@nsewar01
Aug 07 2018 20:13
Is there any guidance for that?
NSewar
@nsewar01
Aug 07 2018 20:21
many thanks
Diabetic_Dude
@diabetic_dude_twitter
Aug 07 2018 20:26
@scottleibrand I got the same error @tim2000s got but with Rasperian Full (not light) I just re ran the setup script, a few times, now it is stuck at "cloning into oref0" this is just a device I am tinkering with, one of many, just reporting that I did get the same error, just thought it was something I did wrong.
NSewar
@nsewar01
Aug 07 2018 20:32
I am just flashing the stretch lite image to sd card and will update later , hope it works!
Diabetic_Dude
@diabetic_dude_twitter
Aug 07 2018 20:37
this is what I get
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
    require_hashes
  File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 278, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages
    page = self._get_page(location)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page
    "Cache-Control": "max-age=600",
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
NSewar
@nsewar01
Aug 07 2018 20:39
yes I just got the operand error with the my latest try using the bakery approach
@tim2000s ----- when you set up your pi hat which approach did you use? Did you have the Raspian image already stored?
Jon Cluck
@cluckj
Aug 07 2018 20:54
Which version of pibakery?
NSewar
@nsewar01
Aug 07 2018 20:56
@cluckj the one I used was from the link in the docs http://pibakery.org/download.html and I selected windows
Jon Cluck
@cluckj
Aug 07 2018 20:56
Thanks
Jon Cluck
@cluckj
Aug 07 2018 21:12
Did y'all apply the blocks update?
Diabetic_Dude
@diabetic_dude_twitter
Aug 07 2018 21:22
@cluckj yes
@cluckj Ver 0.3.8
or yes I did apply the blocks update
David
@david-t1
Aug 07 2018 21:27
a Nightscout question. Since updating Nightscout, I am unable to open NS on my phone's browser. It hangs on "loading the client" whereas everything works fine on my PC browser. Several times I have stopped OpenAps and disconnected and reconnected Heroku. Also cleared my phone browser's cache and rebooted multiple times. Anybody else get this?
Car
@cyborgpancreas_twitter
Aug 07 2018 21:58
guys-I am now having trouble logging back into my raspberry pi rig to try to watch the pump loop after the installation of openaps. suggestions?
Jon Cluck
@cluckj
Aug 07 2018 22:02
@diabetic_dude_twitter was it happening before oref0-setup?
okay I see where it was happening, but it's working fine for me...
garykidd
@garykidd
Aug 07 2018 22:50
is dex G6 fully integrated in openaps now?
Scott Leibrand
@scottleibrand
Aug 07 2018 23:02
no
you can use it online fine, and there's probably an xDrip/Spike option, but the offline direct-to-rig solutions are still a work in progress AFAIK
garykidd
@garykidd
Aug 07 2018 23:08
ok. I abandoned xdrip for the moment so maybe I'll stick to G5 for now. actually dex app isn't working great for me either now....lose connections frequently.
Garrett Webb
@garetis
Aug 07 2018 23:22
I'm looking at building the Edison/Explorer rig and am eyeing this battery. I like the size but is 3000mAh overkill? https://www.amazon.com/gp/product/B07BTRKD77/ref=ox_sc_act_title_2?smid=A132D7PL1YID8X&psc=1
Dana Lewis
@danamlewis
Aug 07 2018 23:26
@garetis a 3000 is fine. should do a good long day with that.
Eric
@ecc1
Aug 07 2018 23:31
@garetis just check the polarity with a multimeter before plugging it in. Not all suppliers follow the adafruit/sparkfun convention (or even the red/black convention)
Garrett Webb
@garetis
Aug 07 2018 23:32
Yeah, I think I remember reading about that. I will be sure to do it! Thanks.
garykidd
@garykidd
Aug 07 2018 23:46
@ecc1 are those walrus boards avaible to purchase anywhere?