kobayashi / s3monkey

A Python library that allows you to interact with Amazon S3 Buckets as if they are your local filesystem.
402 stars 13 forks source link

The bucket doesn't exist #1

Closed ranaroussi closed 5 years ago

ranaroussi commented 6 years ago

I keep getting an error, saying

~/anaconda/lib/python3.6/site-packages/bucketstore.py in __init__(self, name, create)
     36             else:
     37                 raise ValueError(
---> 38                     'The bucket {0!r} doesn\'t exist!'.format(self.name))
     39 
     40     def __getitem__(self, key):

ValueError: The bucket 'mybucket.s3.amazonaws.com' doesn't exist!

I've tried multiple formats:

S3FS(bucket='mybucket.s3.amazonaws.com', mount_point='/s3/test')
S3FS(bucket='mybucket.s3.eu-west-2.amazonaws.com', mount_point='/s3/test')
S3FS(bucket='s3.amazonaws.com/mybucket', mount_point='/s3/test')
S3FS(bucket='s3.eu-west-2.amazonaws.com/mybucket', mount_point='/s3/test')

All failed with the same message...

Any ideas how to overcome this?

Thanks!

xorilog commented 6 years ago

maybe just use the bucket name, not the "s3.amazonaws.com" or "s3.eu-west-2.amazonaws.com" part ...

thomaszdxsn commented 6 years ago

I get this exception too, But i used with external bucket(mean other people shared with me)

ParthS007 commented 5 years ago

Closing due to inactivity :+1: