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

Error globbing on S3FS #55

Open
davidparks21 opened this issue Jul 26, 2019 · 0 comments · May be fixed by #60
Open

Error globbing on S3FS #55

davidparks21 opened this issue Jul 26, 2019 · 0 comments · May be fixed by #60

Comments

@davidparks21
Copy link

davidparks21 commented Jul 26, 2019

I'm getting an error when globbing on S3:

This looks ok:

>>> list(s3fs.glob('/dfparks/'))
[GlobMatch(path='/dfparks/', info=<dir 'dfparks'>)]

But when I add a glob to the path:

>>> list(s3fs.glob('/dfparks/*'))
# I get the following error message (tracebacks removed):
botocore.exceptions.ClientError: An error occurred (404) when calling the HeadObject operation: Not Found
During handling of the above exception, another exception occurred:
fs.errors.ResourceNotFound: resource '/archive' not found

/archive happens to be the first folder in the bucket I'm targeting here.

Listing that directory does work:

>>> s3fs.listdir('/archive')
[<file_list_omitted_but_correctly_displayed>]
@mrk-its mrk-its linked a pull request Nov 12, 2019 that will close this issue
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