Alex,
There is a file menu option for saving/loading configs. But I would call that an option of last resort. The config should be saved automatically, though it only prompts if it has actually changed. Closing lyse multiple times without the prompt means it has a config file somewhere that it is using. There are a couple of places you should check to ensure paths are consistent. The overall goal is to check every possible path definition explicitly to figure out why the file isn't being found correctly.
- Check your experiment config file for where it says the lyse config file should be.
- Make sure you are running lyse from where you think you are. This is a common issue if there are multiple installations of labscript on the same computer. You can check by opening a python interpreter in your environment, importing lyse, then printing lyse.__file__ to see what directory the installation you have imported from.
- Make sure you are using the correct labscript profile location. Similar issues occur if you have multiple installations with distinct profiles. You may also need to recreate the profile from scratch if things have become very messed up. In that case, save the old folder somewhere else and selectively move over your files after creating the profile from scratch.
- You should also add a print statement in the source code near where the error is raising from that prints the directory it is loading the file from. You can also add prints to inspect the contents of whatever file is loaded.
- As a fail safe, you can always search your drive for the file name (lyse.ini, I believe). There should only be one.