-
-
Notifications
You must be signed in to change notification settings - Fork 35
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 stops if cannot create redirect because of invalid filename #190
Comments
I met the same problem. |
Similar to #213 |
I looked into this problem but I'm not sure what a good solution would be. Because a file and directory can't share the same name on linux, some redirects in wikipedia tend to break with the symlink approach. Example:
If |
@adamlamar There is a file with all exceptions. Not sire about the details, but it should be listed in the exception file IMO. |
I'm able to see and understand the printed exception. The problem is the The easy fix would be to simply print out the error and move on without throwing an exception. However this leaves the content and/or redirects in a partial extracted state on the filesystem. |
@nickhuang99 yes, but please create a PR. |
@kelson42 hi, I have another PR to solve one case of this issue when the failure of creating symlink due to it has been created before. The reason of symlink being created before can be due to repeatedly run dump or merge two zim together etc. |
zim-tools(5ed81f8)
zimdump stops if cannot create redirect symlink because of an invalid filename. When dump files it catches the exception and continues.
When without
--redirect
option zimdump handles the exceptions:The text was updated successfully, but these errors were encountered: