Why is my statepoint.50.h5 file shown to be empty?

I have geome.xml, material.xml, tallies.xml, setting.xml, and then I use the python execution file to get the statistical cross-section of the tallies card, But when I use the sp = openmc.StatePoint(‘statepoint.50.h5’) statement, I get an error. The error is: IndexError: pop from empty list, then I open the statepoint.50.h5 file, which is not blank, and it is the same as the statepoint.h5 file under other normal examples. My statepoint.50.h5 file is blank even if I change it to another statement. Why is that? I hope someone can answer my questions, thank you very much.