I **think** changing the line: ```python with LHDFStore(filepath_or_buffer) as store: ``` to: ```python with LHDFStore(filepath_or_buffer, mode='r') as store: ``` should be enough to fix this.