Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Yannick_M
Contributor
Contributor

tFileUnArchive (error TarInputStream)

Hello ,

I have a problem with this component I created a project with only this component and a local file.

but on loading I get the error (in the code):

<< org.apache.tools.tar.TarInputStream cannot be resolved to a type >>

if (tmpFileURL_tFileUnarchive_1.endsWith(".tar.gz")

|| tmpFileURL_tFileUnarchive_1.endsWith(".tgz")) {

org.apache.tools.tar.TarInputStream zip_tFileUnarchive_1 = null;

java.io.InputStream inputStream_tFileUnarchive_1 = null;

try {

I must have a component problem but I don't see which one?

Thank you in advance for your help

Regards,

Yannick

Labels (3)
5 Replies
prg
Employee
Employee

Hello @Not defined Not defined​ 

 

Could you please confirm the format of your zip file?

 

Also, you can try to download the latest version of commons-compress 1.19 version of the library to talend using the tlibraryload component.

 

Thanks

Yannick_M
Contributor
Contributor
Author

Hello,

 

The file format is zip

 

No change after installing commons-compress 1.19 component.

For information: in "Module" the context is in the "Unknown" status

 

Thanks again

Arjun1
Contributor III
Contributor III

Hello @Not defined Not defined​ ,

 

I see the same problem in Talend DI 7.2.1, you must point MVN URI to commons-compress 1.19 in modules section for commons-compress module of tFileArchive & tFIleinputExcel respectively if you installed commons-compress 1.19 module through Studio, if not pls install through module then it should work.

 

Regards

Arjun

-----------------

Accept my solution if it works | Kudo the post if you like 😉

 

Anonymous
Not applicable

Hello,

Please try to upgrade your studio to V 7.3.1.

Here is a related article about: https://community.talend.com/s/article/Issue-when-tFileArchive-Unarchive-and-tFile-Excel-components-...

Let us know if it works.

Best regards

Sabrina

 

Yannick_M
Contributor
Contributor
Author

Hello,

 

modifying the tFileArchive component does not seem to be possible.

 

Here is the attached error message.

 

Thanks for your help