Seems like the problem is because the library doesn't handle 'L' block 
type, which means a long file name.

https://github.com/mhausherr/Light-Untar-for-iOS/issues/20

This, together with information I found 
here: 
http://stackoverflow.com/questions/2078778/what-exactly-is-the-gnu-tar-longlink-trick

I still doesn't know how to solve the issue..

On Saturday, 20 June 2015 11:22:27 UTC+8, iori wrote:
>
> I have no problem decompress them on the os level too, just that seems 
> like a few of the TAR libraries I found for iOS platform were all based on 
> Light-Untar-for-iOS and they couldn't untar it due to "invalid block type" 
> error.
>
> On Friday, 19 June 2015 14:14:52 UTC+8, zdenop wrote:
>>
>> There should be nothing special regarding tar structure - AFAIR language 
>> packages were compressed on linux and I have no problem to decompress them 
>> on linux or windows...
>>
>> Zdenko
>>
>> On Fri, Jun 19, 2015 at 3:19 AM, iori <[email protected]> wrote:
>>
>>> I'm trying to use tesseract library in iOS platform but having some 
>>> trouble. After downloading any of the language packs (.tar.gz), and 
>>> successfully ungzip it (become .tar), using the popular 
>>> Light-Untar-for-iOS <https://github.com/mhausherr/Light-Untar-for-iOS> 
>>> couldn't 
>>> manage to untar the file. 
>>>
>>> Does the .tar format in tesseract language packs have special structure? 
>>> One of the thing I notice is the first block is always a null block, which 
>>> is not the case for any of the other tar files I tried. I am able to untar 
>>> other tar files I found on my Mac without issues..
>>>
>>> The file is not corrupted because I can untar it on my Mac without 
>>> issues..
>>>
>>> I have posted the more detailed description of my problem at:
>>> https://github.com/mhausherr/Light-Untar-for-iOS/issues/25
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "tesseract-ocr" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/tesseract-ocr.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tesseract-ocr/2df9ca8f-cf7b-4373-a8e9-07c0ff3088fb%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tesseract-ocr/2df9ca8f-cf7b-4373-a8e9-07c0ff3088fb%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/14b7c821-0ad3-40e5-b1f1-9f6349d9eda9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to