Error opening thomas