Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read_hdf() requires write permission #4504

Closed
mamikonyan opened this issue Aug 7, 2013 · 5 comments · Fixed by #4513
Closed

read_hdf() requires write permission #4504

mamikonyan opened this issue Aug 7, 2013 · 5 comments · Fixed by #4513
Labels
Bug IO HDF5 read_hdf, HDFStore
Milestone

Comments

@mamikonyan
Copy link

read_hdf() called get_store() with default open mode, which is 'a', and so requires write permissions to read a file. Please change to 'r'.

@jreback
Copy link
Contributor

jreback commented Aug 7, 2013

you can pass mode='r' to read_hdf (and get_store and open and the HDFStore()) if you would like, the default has been like this for quite a long time and would break back compat.

@mamikonyan
Copy link
Author

to get_store(), etc., but unfortunately not to read_hdf() (as of 0.11.0, anyway)

@jreback
Copy link
Contributor

jreback commented Aug 7, 2013

yes you are right! wll mark as a bug for 0.13, you can monkey patch if you want to fix your copy...

@mamikonyan
Copy link
Author

Yep. Thanks.

@jreback
Copy link
Contributor

jreback commented Aug 8, 2013

@mamikony can you give a try with #4513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO HDF5 read_hdf, HDFStore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants