-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Description
In grafana_backup/restore.py
:
(status, json_resp, dashboard_uid_support, datasource_uid_support,
paging_support, contact_point_support) = api_checks(settings)
I am running the restore command and getting a ValueError: not enough values to unpack (expected 6, got 5)
I did some digging and found that if the api_checks fails it returns (status, json_resp, None, None, None)
which is 5 values where the restore is expecting 6 values.
Potential solutions include:
- Increasing the number of
None
returned, may break other functions - include error checking in
restore.py
that catches unpacking errors and returns thestatus
andjson_resp
Metadata
Metadata
Assignees
Labels
No labels