ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

FileWatcher: Should error elegantly/noticeably if an expected directory is missing #2417

Open KathrynBaker opened 7 years ago

KathrynBaker commented 7 years ago

If the configs and git checkouts are out of date, and folders are missing on upgrade/new installation with old setup, the file watcher errors in a very opaque manner, we should probably capture the error, or at least provide a useful message.

To reproduce - convince your installation not to have, for example, config/machine_name/Python. Your blockserver will not start, and at present the error displayed is as follows: MAJOR: Error executing write queue command initialise_configserver for state INITIALISING:

FreddieAkeroyd commented 7 years ago

Suggestion is to create this in config_env.bat if it doesn't exist - we already create a few other directories here.