Hi Jon, yes if a file is not successfully written then I think that is very likely the cause of this error. It's a cryptic error I agree, but we haven't put in facilities for writing tensors to disk in a "transactional" way yet, meaning that either a whole tensor gets written or not at all. The reason is mainly that we are trying to keep the number of dependencies ITensor has very low, since other libraries are often surprisingly quite hard to install. I think in the future I will start providing optional dependencies, where people can turn on fancier features if they have certain libraries on their system (such as HDF5 for writing structured data files).