Open moellep opened 7 months ago
This is a transient error which happens when the h5 is read when it has been partially written. The template.silas code is already handling a BlockingIOError when reading the file, but should probably verify that data was read as well before calling template_comon.h5_to_dict()
sirepo/template/template_common.py line 354, in write_dict_to_h5
f.create_dataset(p, data=d[i])
KeyError: 0
Running the silas example "100TW amplifier with 3 crystals" is failing on the Amplifier tab after the splitter element:
Object dtype dtype('O') has no native HDF5 equivalent 0