Closed mbaechtold closed 3 years ago
Hi @mbaechtold, I've tested with conditions similar to yours and I don't experience this issue:
$ cat exoscale.conf
[[profiles]]
name = "test"
api_key = "EXOxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
api_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
$ cat test.py
from exoscale import Exoscale
exo = Exoscale(config_file="exoscale.conf")
bucket = exo.storage.get_bucket("marc-test")
for item in bucket.list_files(prefix="x/"):
print(item)
$ python test.py
BucketFile(path='x/y')
BucketFile(path='x/z')
Can you please share the (redacted) content of your .aws/exoscale
config file?
Closing this issue due to inactivity, please re-open it if necessary.
I'm using the latest release of this package (0.3.0) and when I try to list the file in my bucket, I get an exception.
My code
The exception
The observation
The url is strange.
It's a mixture of a Amazon URL but with the Exoscale zone: https://s3.ch-dk-2.amazonaws.com/prometheus-bl
What am I doing wrong here?