Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
TGras1650450078
Contributor
Contributor

Unable to download files using tGSGet - log.error("tGSGet_1 - Can't create directory in '"

Hi everyone,

I try to download files from a Google Cloud Storage Bucket and I have an issue with the tGSGet component.

The message I get from code screen is "log cannont be resolved" and "log.error("tGSGet_1 - Can't create directory in '" + parentDir_tGSGet_1 + "'")".

I created my tGSConnection and it works fine. I can see all the files in my bucket using the tGSList but when I try to get them using the tGSGet I got the above message, yet I am using the connection defined in the component

tGSConnection.

Does anyone know how to fix this ?

Thank you in advance.

Tristan

Labels (3)
3 Replies
gjeremy1617088143

Hi, it seems you have a missing library or class import, you could see if they are solutions proposed by java on import when you click on log.error in the code windows. if you just have to do an import set it in a tJava at the beginning of the job, else see if you have a missing jar and import it via a tLibraryLoad or in a custom routine and call it in your job.

Send me love and kudos

TGras1650450078
Contributor
Contributor
Author

Hi,

 

Thanks for you answer.

I don't think that I have a missing jar file as you can see in the attached image. They seem to be all dowloaded. How can I know if I have missing library or class import ?

 

When I click on log.error in the code window they proposed quick fixes, I tried couple of them without succes.

 

Do you know wich one I should use between fixes available on the image attached?

 

Thank you in advance.

0695b00000QECOCAA5.png 

 

Anonymous
Not applicable

Hello

From the error message, it seems the log4j lib isn't installed or missing, go to <talend studio installation folder>\configuration\.m2\repository\org\apache\logging\log4j\log4j and check it, have a try to re-install the log4j libs.

 

Regards

Shong