You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/ait/.local/lib/python3.10/site-packages/bottle.py", line 876, in _handle
return route.call(**args)
File "/home/ait/.local/lib/python3.10/site-packages/bottle.py", line 1756, in wrapper
rv = callback(*a, **ka)
File "/home/ait/.local/lib/python3.10/site-packages/ait/gui/__init__.py", line 1286, in handle_playback_range_get
packets = list(playback.dbconn.query("SHOW MEASUREMENTS").get_points())
AttributeError: 'AITDBResult' object has no attribute 'get_points'
Versions
ait-core: 2.5.0
ait-gui: 2.4.1
influxdb: 5.3.1
Fix
Add .results before all uses of .get_points() to return ResultSet, e.g.:
@rachaelacollins, sorry, I have no clue how I missed the notification emails for your ticket and comment. Yes, please feel free to contribute updates for this. The README should cover everything but if you run into issues let us know!
Hey @rachaelacollins, if you're willing to push the fix please just follow the usual GitHub pull request approach for a repo where you don't have write perms. You'll need to fork it, push changes to a branch, and then generate the pull request.
Description
Versions
ait-core
: 2.5.0ait-gui
: 2.4.1influxdb
: 5.3.1Fix
Add
.results
before all uses of.get_points()
to returnResultSet
, e.g.:The text was updated successfully, but these errors were encountered: