Skip to content

Error uploading empty file: "seek() takes 2 positional arguments but 3 were given" #2403

@ajdavis

Description

@ajdavis

awscli version "1.11.13-1ubuntu1~16.04.0" was installed with the Ubuntu package manager and run like:

aws s3 cp doc/html s3://BUCKET/PATH/HERE --recursive --acl public-read --region us-east-1

It successfully uploads all the files in the source directory except for one zero-byte file. It fails there with:

seek() takes 2 positional arguments but 3 were given

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions