Skip to content

fetchidir errors if the name of the file is too long #56

@zufanka

Description

@zufanka

If the filename is long, I get an OSError: [Errno 36] File name too long and fetchdir errors and stops.

What should happen is either alephclient should either skip files where filenames are too long, or truncate filenames that are longer than 200 characters.

example filename: 24.Report%20of%20the%208th%20meeting%20of%20the%20Subgroup%20on%20Platforms%20of%20the%20Customs%202020%20Project%20Group%20on%20the%20Import%20and%20Export%20Customs%20Formalities%20Related%20to%20Low%20Value%20Consignments%20CPG%20146..Report%20of%20the%208th%20meeting%20of%20the%20Subgroup%20on%20Platforms%20of%20the%20Customs%202020%20Project%20Group%20on%20the%20Import%20and%20Export%20Customs%20Formalities%20Related%20to%20Low%20Value%20Consignments%20CPG%20146..pdf?cookie_passthrough=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions