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

Can't get attribute 'LazilyIndexedArray' error #132

Closed
zonca opened this issue May 7, 2018 · 1 comment
Closed

Can't get attribute 'LazilyIndexedArray' error #132

zonca opened this issue May 7, 2018 · 1 comment

Comments

@zonca
Copy link

zonca commented May 7, 2018

Sorry I am not sure exactly what package is the cause of this error.

I am trying to read a Zarr data set from a S3 compatible object storage service with s3fs, dask and xarray.

/envs/dask/lib/python3.6/site-packages/distributed/protocol/serialize.py", line 158, in deserialize                                                                                               return f(header, frames)                                                                              File "/opt/conda/envs/dask/lib/python3.6/site-packages/distributed/protocol/serialize.py", line 20, in <lambda>                                                                                                   deserializers = {None: lambda header, frames: pickle.loads(b''.join(frames))}                         File "/opt/conda/envs/dask/lib/python3.6/site-packages/distributed/protocol/pickle.py", line 59, in loads                                                                                                         return pickle.loads(x)                                                                              AttributeError: Can't get attribute 'LazilyIndexedArray' on <module 'xarray.core.indexing' from '/opt/conda/envs/dask/lib/python3.6/site-packages/xarray/core/indexing.py'>                    

Also I noticed that Right before this error There is this other suspicious log:

distributed.protocol.pickle - INFO - Failed to deserialize

would you have any hints to point me in the right direction?

@zonca
Copy link
Author

zonca commented May 7, 2018

I solved this downgrading xarray to 0.10.1 as suggested here: Unidata/siphon#192

@zonca zonca closed this as completed May 7, 2018
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

No branches or pull requests

1 participant