Skip to content

Instantly share code, notes, and snippets.

@mwilliams
Created August 31, 2016 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwilliams/a26f955607ca411c853b618e27f6b6e2 to your computer and use it in GitHub Desktop.
Save mwilliams/a26f955607ca411c853b618e27f6b6e2 to your computer and use it in GitHub Desktop.
openaps use pump model
"723"
openaps use ns shell preflight
true
openaps report-nightscout
ns://JSON/shell/nightscout/preflight.json
reporting nightscout/preflight.json
pump://JSON/iter_pump_hours/monitor/pumphistory.json
reporting monitor/pumphistory.json
ns://JSON/shell/nightscout/recent-treatments.json
reporting nightscout/recent-treatments.json
ns://JSON/shell/nightscout/uploaded.json
reporting nightscout/uploaded.json
ns://JSON/shell/nightscout/recent-missing-entries.json
reporting nightscout/recent-missing-entries.json
ns://JSON/shell/nightscout/uploaded-entries.json
No JSON object could be decoded
Traceback (most recent call last):
File "/usr/local/bin/openaps-report", line 4, in <module>
__import__('pkg_resources').run_script('openaps==0.1.5', 'openaps-report')
File "/usr/local/lib/python2.7/dist-packages/setuptools-26.1.1-py2.7.egg/pkg_resources/__init__.py", line 744, in run_script
File "/usr/local/lib/python2.7/dist-packages/setuptools-26.1.1-py2.7.egg/pkg_resources/__init__.py", line 1499, in run_script
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-report", line 82, in <module>
app( )
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/cli/__init__.py", line 51, in __call__
self.run(self.args)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/EGG-INFO/scripts/openaps-report", line 75, in run
output = app(args, self)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/cli/subcommand.py", line 52, in __call__
return self.method.main(args, app)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/reports/invoke.py", line 48, in main
reporters.Reporter(report, device, task)(output)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/reports/reporters/__init__.py", line 33, in __call__
self.blob = self.serialize(data)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/reports/reporters/__init__.py", line 31, in serialize
return self.method.serialize(render(data), self)
File "/usr/local/lib/python2.7/dist-packages/openaps-0.1.5-py2.7.egg/openaps/vendors/process.py", line 56, in prerender_json
return json.loads(data)
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment