-
Notifications
You must be signed in to change notification settings - Fork 45
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
"Invalid block type found" #8
Comments
I defaulted back to the Light-Untar-for-iOS, and it worked. So not sure why this one wouldn't do it. |
I tried to run unTarGzipFileAtPath on the file downloaded below and it gives "Invalid block type found" error too. Nothing was being output in the output path. I am not sure why. https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.deu.tar.gz Running the same code using another .tar.gz file that I found randomly works though and I can see the output.. |
Same for me, generated a tar.gz on my mac added to bundle and get an error when extracted: 2015-10-28 09:21:35.834 monexio[9061:3116037] Error untarring Error Domain=io.nvh.targzip.tar.error Code=1 "Invalid block type found" UserInfo={NSLocalizedDescription=Invalid block type found} |
This error manifested for me with tar/gzip files generated on the Mac with embedded .DS_Store files in the folder structure.
Hope this helps. |
I created a tar file using the tar -cf command like it says on the Light-Untar-for-iOS documentation. When I run:
NVHTarGzip.shared().unTarFileAtPath(path, toPath: destinationPath, completion: { (error:NSError!) -> Void in
println("Finished (error)")
})
I get an error back with Code = 1 "Invalid block type found". I can't figure out what I'm doing wrong, any suggestions?
The text was updated successfully, but these errors were encountered: