Closed jrobinAV closed 1 year ago
To resolve the second point, I added 2 PRs to improve the error message. It will be something like
$ python3 main.py --production "2.0"
[2023-06-21 10:41:57][Taipy][INFO] No scenario comparators defined for ScenarioConfig `s`.
[2023-06-21 10:41:57][Taipy][INFO] There are non-conflicting changes between the version 1.0 Configuration and the current Configuration:
CORE "mode" was modified: experiment -> production
CORE "version_number" was modified: 1.0 -> 2.0
[2023-06-21 10:41:57][Taipy][ERROR] The version 1.0 Configuration is conflicted with the current Configuration:
DATA_NODE "b" has attribute "default_data" added: b
[2023-06-21 10:41:57][Taipy][ERROR] Please remove version 1.0 from production to avoid conflict.
The production version 1.0 is still blocked from running, since there is conflict.
What is wrong, according to me, is that I am running the app with --taipy-force
, and there is an error message saying I should run it with --taipy-force
. This is inconsistent.
Should we replace the error message with a Warning saying:
"Conflicting changes have been detected but option --force
is used. The application runs anyway."
So instead of blocking the application from running, we let the user run it right? Working on it.
If --taipy-force is True, yes.
So about the first point
Right now, when there is unconflicted change (in sections Job, GUI, CoreSection), the change is still shown in the terminal. My question is: Should we add another layer for the _CoreSection to hide it entirely, or should we hide all unconflicted sections?
I believe we can keep them. They are just INFO anyway.
The --taipy-force option does not work.