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

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

Open
zufanka opened this issue Nov 19, 2024 · 0 comments
Open

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

zufanka opened this issue Nov 19, 2024 · 0 comments

Comments

@zufanka
Copy link

zufanka commented Nov 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant