-
-
Save bfaloona/1762e9a6b96a3d36465b20e12934a3fd to your computer and use it in GitHub Desktop.
openaps-lp missing units device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@openaps-lp:~/openaps-lp-01 $ openaps report invoke settings/bg-targets.json | |
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-23.0.0-py2.7.egg/pkg_resources/__init__.py", line 719, in run_script | |
File "/usr/local/lib/python2.7/dist-packages/setuptools-23.0.0-py2.7.egg/pkg_resources/__init__.py", line 1504, 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 23, in main | |
device = app.devices[report.fields['device']] | |
KeyError: 'units' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[report "settings/bg-targets.json"] | |
device = units | |
to = mg/dL | |
use = bg_targets | |
input = raw-pump/bg-targets-raw.json | |
reporter = JSON |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment