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

Object arrays cannot be loaded when allow_pickle=False #10

Closed
awst-baum opened this issue Apr 24, 2019 · 0 comments · Fixed by #11
Closed

Object arrays cannot be loaded when allow_pickle=False #10

awst-baum opened this issue Apr 24, 2019 · 0 comments · Fixed by #11

Comments

@awst-baum
Copy link
Contributor

When using ismn in my environment, I get this error:

in test
    ismn_reader = ISMN_Interface(ismn_data_folder)
.../lib/python3.6/site-packages/ismn/interface.py:550: in __init__
    os.path.join(path_to_data, 'python_metadata', 'metadata.npy'))
.../lib/python3.6/site-packages/numpy/lib/npyio.py:447: in load
    pickle_kwargs=pickle_kwargs)
.../lib/python3.6/site-packages/numpy/lib/format.py:692: in read_array
    raise ValueError("Object arrays cannot be loaded when "
E   ValueError: Object arrays cannot be loaded when allow_pickle=False

numpy version: 1.16.3

This is probably because the default value for allow_pickle seems to have changed to "False": release notes, security issue description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant