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

Getting 'tzlocal' object has no attribute 'tz' when trying to upload to s3. #8905

Closed
mklauber opened this issue Sep 9, 2024 · 1 comment
Closed
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@mklauber
Copy link

mklauber commented Sep 9, 2024

Describe the bug

Attempting to upload a file to s3 with aws s3 cp {local file} {s3:uri} fails with the following error: upload failed: {local file} to {s3://destination} 'tzlocal' object has no attribute 'tz'

Expected Behavior

File to upload successfully.

Current Behavior

upload failed: {local file} to {s3://destination} 'tzlocal' object has no attribute 'tz'`

Reproduction Steps

Uncertain, but try installing aws-cli on python:3.12.5-alpine3.20 docker image

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.15.57

Environment details (OS name and version, etc.)

Python/3.12.5 Linux/5.10.223-211.872.amzn2.x86_64 source/x86_64.alpine.3

@mklauber mklauber added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 9, 2024
@mklauber mklauber closed this as completed Sep 9, 2024
Copy link

github-actions bot commented Sep 9, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant