-
Notifications
You must be signed in to change notification settings - Fork 133
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
Error opening file in zipfile #73
Comments
Error code -102 corresponds to UNZ_PARAMERROR, which the underlying library returns for a number of reasons, the most probable being:
May one of these be your case? |
@gianlucabertani thank you for your response. |
That's weird. Since When creating the zip at the first attempt, check that this line:
is present in the log and the error is nil. You may also want to try to delete the zip file before your second attempt, with something like:
Also check that after deletion the error is nil. Hope this helps. |
Sorry for late reply. I didn't see notification. |
Error Domain=ObjectiveZipErrorDomain Code=-102 "OZZipException" UserInfo={NSLocalizedDescription=OZZipException, NSLocalizedFailureReason=Error opening 'log.sqlite3' in zipfile}
I am trying to zip a sqlite file. The first time it works fine but if try continously try few times, it doesn't work and throw error at the line:
@throw [OZZipException zipExceptionWithError:err reason:@"Error opening '%@' in zipfile", fileNameInZip];
I understand that it's trying to open the file after creating the zip and failing. I made sure that the file.
i found a similar issue on stackoverflow but no answer:
https://stackoverflow.com/questions/51646894/getting-exception-while-creating-zip-file
any kind of help will be appreciated
The text was updated successfully, but these errors were encountered: