-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: unhashable type: 'list' in collect_datasource_items #62
Comments
Dear Vincent, thank you for writing in and for reporting this issue.
That's probably true. Apparently, Grafana may have changed some bits within their dashboard structure, which will have to get compensated similar to GH-27 and GH-32. Maybe you can share a sample of the corresponding datasource or dashboard JSON representations, where you may expect the root cause of this? On this matter, see also 1, where we maintain a set of dashboard variants through different versions where breaking changes occurred in the past.
It might not be fully supported yet, because the test suite does not pass completely, but we still should aim for reasonable compatibility, regardless of this specific regression we observed. With kind regards, Footnotes |
Hi Andreas, thank for your quick reply. |
I'm having trouble isolating the exact issue (and not familiar enough with Python) but I was able to get it to print the state while seeing the invalid input :
After get("current")
After get("value")
It seems to be related to defining a template variable that matches the following aspects
|
Dear Vincent, thanks a stack for providing corresponding debug information. From those details, I can imagine that the problem is related to the recent addition of the feature »Improve discovery of data sources defined by dashboard variables« (GH-60) with version 0.14.0. Can you try downgrading to version 0.13.4 using With kind regards, |
Dear Vincent, we just released With kind regards, |
Hi Andreas, Thank you for your excellent and timely support. I confirmed that the problem is solved for me. |
Env
both "explore datasources" and "explore dashboards" command fail:
As I see in #44 that 9.3.1 is not officially supported yet, I am assuming it has something to do with Grafana compatibility.
Please let me know if there is something I can do to help more.
The text was updated successfully, but these errors were encountered: