sb10q What happens otherwise?
If I don't manually set an override string in experiments.py, I get the following traceback when trying to open an experiment from the explorer:
Traceback (most recent call last):
File "C:\Users\rabi\Anaconda3\envs\artiq_beta\Lib\site-packages\artiq\dashboard\explorer.py", line 288, in expname_action
action("repo:" + expname)
File "C:\Users\rabi\Anaconda3\envs\artiq_beta\Lib\site-packages\artiq\dashboard\experiments.py", line 722, in open_experiment
dock = _ExperimentDock(self, expurl)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rabi\Anaconda3\envs\artiq_beta\Lib\site-packages\artiq\dashboard\experiments.py", line 324, in __init__
devarg_override.setCurrentText(options["devarg_override"])
~~~~~~~^^^^^^^^^^^^^^^^^^^KeyError: 'devarg_override'
NOTE: line numbers are off 1 line due me having the hotfix in the code, but commented out.
If I manually set the string to something empty, either '' or None, there's an argparse error, that I think now actually comes from not having a colon to partition the string in line 44 of artiq/tools.py. That's the one that didn't appear to have a traceback.
If I take out the hotfix, which is just putting options["devarg_override"] = "core:analyze_at_run_end=False"
into the init of _ExperimentDock, experiments that I have already opened with the fix in place will build fine and run. Ones that have not been opened with the hotfix applied will not build and give the same error/traceback above.
> srenblad Have you tried deleting the dashboard state file? Might help us narrow down the issue.
Good suggestion. If this is done, then yes, things will build and run properly without changing anything in experiments.py. So, the problem seems to be if you upgrade without resetting your dashboard_db. That's mildly inconvenient because applet calls have to be redone in the dashboard, but manageable for now, especially since it's in beta.