Closed pabloarosado closed 1 year ago
The config of chart 5635
is missing the id
field. I manually added it to the DB. Could you re-run the chart update and see if it works?
In case this happens again, I found this out using the error message itself and the terminal log, in particular the following line:
2023-06-02 11:19.02 [info ] chart_revision: creating comparison for chart 5635
This line mentions the last chart processed (i.e. likely the one producing the error).
Thanks for looking into this @lucasrodes. I was working on staging and the problem persists. What exactly is the modification you need to do to the problematic chart config?
Ah, I see, I checked the log and realised that it was chart 6356, which didn't have a "id" field in the config. I simply added "id": 6356
at the beginning of the chart config and now it works.
One-liner
Chart revision tool fails to submit revisions.
Environment
python -V
: 3.11.2Context & details
On staging, I'm trying to map variables from the Electricity Mix (2023) to the Electricity Mix (2023b). Everything goes well until I press the button to submit revisions, and then I get the error: