question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing keys after upgrade to 0.3.0

See original GitHub issue

The new version of s3fs is not retrieving all bucket keys. E.g.:

In [16]: s3 = s3fs.S3FileSystem(anon=True, client_kwargs=dict(region_name='eu-west-2'))

In [17]: store = s3fs.S3Map(root='zarr-demo/store', s3=s3, check=False) 

In [18]: list(store.keys())                                                           
Out[18]: 
['.zattrs',
 '.zgroup',
 'foo/.zattrs',
 'foo/.zgroup',
 'foo/bar/.zattrs',
 'foo/bar/.zgroup',
 'spam/.zgroup',
 'spam/eggs',
 'spam/eggs/.zarray',
 'spam/eggs/0.0',
 'spam/eggs/0.1',
 'spam/eggs/1.0',
 'spam/eggs/1.1']

In [19]: 'foo/bar/baz/.zarray' in store                                               
Out[19]: True

In [20]: 'foo/bar/baz/.zarray' in list(store.keys())                                  
Out[20]: False

xref https://github.com/zarr-developers/zarr-python/pull/456

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
martindurantcommented, Jul 18, 2019

Released.

0reactions
jrbourbeaucommented, Jul 18, 2019

Closing as the new fsspec release has fixed the originally posted issue:

In [1]: import s3fs                                                                                                   

In [2]: s3 = s3fs.S3FileSystem(anon=True, client_kwargs=dict(region_name='eu-west-2'))                                

In [3]: store = s3fs.S3Map(root='zarr-demo/store', s3=s3, check=False)                                                

In [4]: 'foo/bar/baz/.zarray' in store                                                                                
Out[4]: True

In [5]: 'foo/bar/baz/.zarray' in list(store.keys())                                                                   
Out[5]: True

Thanks all!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade of Converted Releases Fails · Issue #147 · helm ...
Hello everyone,. I was facing exact same issue after updating the helm version from 2 to 3. I was able to resolve this...
Read more >
1365451 – ovirt-imageio-proxy service failed to start after ...
Cause: PKI (key/cert) was not generated for ovirt-imageio-proxy by engine-setup during upgrade from earlier version.
Read more >
After installing some npm module globally shows a long list ...
How to fix it? Packages I have installed : eslint; gatsby-cli; gulp; heroku; node-gyp; npm-install-peers; yarn.
Read more >
Release Notes
gpg: By default new keys expire after 2 years. gpg: New command –quick-set-expire to conveniently change the expiration date of keys.
Read more >
Upgrade Guides | Nomad
ClientStatus has reached a terminal state ( complete , failed , or lost ). ... Downgrading to a previous version of the client...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found