-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
zimdump - Bypassing excessively long filenames. #318
Comments
It should already be the case, we truncate filename longer than 255 chars. |
Im going to replace the site details with an equal number of x's for privacy, hope that's okay. ZIMtools Version: 3.1.1-2 Command Filename {end of program output} |
This is 262 characters which is over the 255 limit for file names. |
What is failing is the writing of errored file. zim dump try to write the file in your out directory ( The question is why it fails to write the file in the first instance ? (Sadly, zimdump doesn't report the error information)
|
Hello sir, Firstly, thank you for your time. "What is the content of mnt/2T" "Is your directory full ? Or with some quota ?" My purposed solution: Provide a switch to bypass errors and just continue extracting. This would likely be simple and easy, in my limited knowledge. Thank you. |
I agree with you proposal. |
No way to build anyt
We should first 100% understand the root cause. |
Also having this issue, can provide a zim file for tests. Although it is around 3 GB in size, not sure where to upload it |
You can use any file share service, for exemple wetransfer.com or file.io |
I will try to limit crawl scope so the file would be less than 2 gb in size asap |
I made some simple modifications to ignore errors: #375 It now creates a more complete extraction. This could be incorporated into improved feedback to the user, options to ignore the errors, or hash the invalid names... #373 For example:
|
Sample file for tests: https://www.swisstransfer.com/d/306ae305-8b17-455f-862f-13c15ca93121 |
This is basically a duplicate of #213 |
Hello,
The filenames in a zim im trying to recover are too long, is it possible to add a flag or similar to bypass this or truncate it?
The error is "Exception: Error writing file to errors dir. " with an excessively long file name following.
Thanks
The text was updated successfully, but these errors were encountered: