Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[SOLVED] Unarchiving .gz file containing multiple files - tFileUnarchive error "Not in GZIP format"

EDIT: Solved. The extracted .gz file was actually a .zip file just named .gz!

 

I have a job which takes gzip files (.gz), not in a tarball, which contain multiple .csv files and decompresses them to a directory.

I'm not able to decompress the gzip files provided using tFileUnarchive and get the error "Not in GZIP format".

 

Using 7-Zip, I am able to manually extract the files which I suppose indicates that the file is not corrupt?

I understand that multiple files should be tarballed pre-gzip, but this is unavoidable due to the third party's extraction framework.

 

Any help would be appreciated.

Thanks.

Labels (3)
7 Replies
Anonymous
Not applicable
Author

Hi,

Thanks for posting that you have resolved this issue by yourself.

Best regards

Sabrina

Anonymous
Not applicable
Author

hi,
how did you resolve this ? please tell me
Anonymous
Not applicable
Author

Hello,

Please have a look at this author's EDIT.

EDIT: Solved. The extracted .gz file was actually a .zip file just named .gz!

We have replied to your another topic:https://community.talend.com/t5/Design-and-Development/Unarchiving-gz-file-error-quot-Not-in-GZIP-fo...

Could you please check it and see if it is OK with you?

Best regards

Sabrina

Anonymous
Not applicable
Author

hi sabrina,

i wanted to extract it as .gz file and not zip, i am using talend 5.4 version there is no option to select the archive format like in 6.1 . So , i just named the file *.gz . Please let me know if i am doing it correct

Thanks,
hachi
Anonymous
Not applicable
Author

Hello,

The tFileArchive has supported for gzip file format since V 6.1. Could you please try to use a higher version(6.1+) to see if it works instead of naming the file  as*.gz? Are you using a subscription solution V 5.4?

Best regards

Sabrina

Anonymous
Not applicable
Author


Hi Sabrina,

we have license for 5.4.1 version, . please give details on calling it from command line.

Thanks,
Hachi
Anonymous
Not applicable
Author

Hello Hachi,

Could you please create a case on talend support portal with your subscription solution to see if a patch will be available for your V 5.4?

Best regards

Sabrina