Closed aayushgupta899 closed 11 months ago
I tried it on one of my buckets and its working fine, is there a way to expose it to my private aws account: 848120881190 ?
I don't think I will be able to expose it to your account to it as the code is running on a company AWS account. Anything else I can try to help you reproduce the issue?
ya if you could describe how to setup my account to repro this, IAM, bucket config, etc.
btw could you fix your log messages? it's spewing a bunch of errors because the socket it's trying to send is already closed
another thing would help if you could repro with moto
This started working after I upgraded to aiobotocore==2.5.0
. Not sure what changed though. Here are my pip freeze
results:
aiobotocore==2.5.0
aiohttp==3.8.5
aioitertools==0.5.1
aiosignal==1.2.0
amzn-pyodin==1.2
async-timeout==4.0.2
attrs==23.1.0
boto3==1.28.65
botocore==1.31.65
charset-normalizer==3.0.0
docutils==0.15.2
frozenlist==1.3.3
fsspec==2022.2.0
gitdb==0.6.4
GitPython==2.1.8
hnswlib==0.3.4
idna==3.2
importlib-metadata==4.6.1
jmespath==0.9.5
joblib==1.2.0
multidict==6.0.4
numpy==1.18.4
pandas==1.1.3
patsy==0.5.1
pip==21.0.1
pybind11==2.3.0
PyGreSQL==5.0.7
python-dateutil==2.8.2
pytz==2023.3
s3fs==2022.2.0
s3transfer==0.7.0
scikit-learn==0.22
scipy==1.3.1
setuptools==57.4.0
six==1.16.0
sklearn==0.0
smmap==0.9.0
statsmodels==0.11.1
toml==0.10.2
tqdm==4.64.0
typing-extensions==4.1.1
urllib3==1.26.13
wrapt==1.15.0
yarl==1.8.2
zipp==3.15.0
Closing this as this is no longer an issue. Please let me know if there are any more details which are required to be added for this.
Describe the bug I am running the
list_objects_v2
usingaiobotocore
, in a docker container on Amazon EMR. The following code snippet returns an empty response:Output:
Stack trace: stacktrace_aiobotocore.txt
Same command using
botocore
:Output:
Stack trace: stacktrace_botocore.txt
I tried this with an older version of
aiobotocore
(==2.1.0), and I get the same issue. However, when I try with older versions ofbotocore
(==1.27.96) andboto3
(1.24.96), it works:Output:
Checklist
pip check
passes without errorspip freeze
resultspip freeze results
Environment:
Additional context This issue was initially encountered while using
s3fs.S3FileSystem().ls()
(issue) and was isolated to be anaiobotocore
issue.