tGoogleDriveList - googledrive cannot be resolved to a variable

Six Stars

tGoogleDriveList - googledrive cannot be resolved to a variable

Hi,

 

I recently upgraded my Talend Open Studio for Data Integration to version 7.0.1, however the next error occured. This time it is really strange since (almost) the same settings for the component tGoogleDriveList in Talend Open Studio 6.5.1 were working as expected. I attached a screenshot of the error message.

 

Component in Talend 6.5.1:

 

tGoogleDriveList Talend 6.5.1.PNG

 

Same Component in Talend 7.0.1 (new is the Access Method but that shouldn't have any impact):

 

tGoogleDriveList Talend 7.0.1.PNG

 

 

 

Moderator

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hello,

Could you please check your "Code" tab in your job to see if there will be your compile error highlighted in red line? All required modules are installed for tGoogleDriveList component in V 7.0.1?

 

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi Sabrina,

 

I had a look into the Code tab, the reason was the DataStore Path set in "Advanced Settings", I just removed the path there since I don't know what should it used for and your documentation (https://help.talend.com/reader/Ovc10QFckCdvYbzxTECexA/9Fm1L74dgBX56x2I9OZTFg) isn't updated yet for all GoogleDrive components.

 

Unfortunately the next error occurs and the component gives a warning that it couldn't find the specified folder name, this happens only if you choose the Access Method "by Name" ("by ID" is working properly), however we need to use this and not "by ID". In Talend 6.5 the same specified folder name still return results.

 

Best,

Kai

Moderator

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hello Kai,

We see that you are using a global variable in folder name field of tGoogleDriveList component.

Where is your global variable from? We will appreciate it a lot if you could post your whole job design screenshots on forum which will be helpful for us to address your issue in a quick way.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi Sabrina,

 

I tried it already without any global variable (screenshot from Talend 7.0.1):

 

tGoogleDriveList without globalvar.PNG

Thats the warning I got in the execution log:

tGoogleDriveList Warning.PNG

 

 

In Talend 6.5.1 it is working properly:

 

tGoogleDriveList without globalvar Talend 6.PNG

 

I also tried the Access Method "by ID" combined with the ID of the folder (string from the google link) set in the field "Folder Name" in Talend 7.0.1 and it worked well:

 

tGoogleDriveList with ID Talend 7.PNG

 

 

 

 

The rest of my job design doesn't matter for this case since it is working as expected and the only thing I change is the Access Method and the field "Folder Name".

 

Best,
Kai

Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

@xdshi

Do you have any update for me on this issue?

 

Thanks in advance.

Best,

Kai

Six Stars Ed
Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Does this file belong to you, or is it shared from another user? Also, is it within your own drive, or a 'team drive'?

Employee

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi,

 

     Are you getting the error in tGoogleDriveList component for only those jobs which were migrated from 6.5 or are you getting the same error even if you are creating a brand new job within version 7 of Talend?

 

Warm Regards,

 

Nikhil Thampi

Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi Nikhil,

 

this error occurs for brand new jobs in Talend 7.0.1 as well. So tGoogleDriveList works well if you are using the Access Method "by Id" and enter the ID of the folder in the field "Folder Name". But the Access Method "Folder Name" doesn't work for the same folder if you enter the exact folder name in the field "Folder Name".

This is obviously a bug in Talend.

Best,

Kai

Employee

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi Kai,

 

       Could you please report this issue in Talend JIRA so that they can help you?

 

https://jira.talendforge.org/secure/Dashboard.jspa

 

Warm Regards,

 

Nikhil Thampi

 

    

Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi @nikhilthampi,

 

thanks, I reported it some hours ago and just got the confirmation that this behaviour needs to be fixed.

 

For everyone who wants to track this issue: https://jira.talendforge.org/browse/TDI-41291

 

Best,
Kai

Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi @nikhilthampi,

 

thanks. I reported this issue some hours ago and just got the confirmation that this behaviour needs to be fixed.

 

For everyone who wants to track this issue: https://jira.talendforge.org/browse/TDI-41291

 

Best,

Kai

 

Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi @nikhilthampi,

 

thanks. I reported this issue some hours ago and just got the confirmation that this behaviour needs to be fixed.

 

For everyone who wants to track the issue: https://jira.talendforge.org/browse/TDI-41291

 

Best,
Kai

Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi @nikhilthampi,


thanks. I reported this issue some hours ago and just got the confirmation that this behaviour needs to be fixed.



For everyone who wants to track the issue: https://jira.talendforge.org/browse/TDI-41291



Best,
Kai
Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi @nikhilthampi,


thanks. I reported this issue some hours ago and just got the confirmation that this behaviour needs to be fixed.

 

For everyone who wants to track the issue: https://jira.talendforge.org/browse/TDI-41291

 

Best,
Kai

Six Stars

Re: tGoogleDriveList - googledrive cannot be resolved to a variable

Hi @nikhilthampi,


thanks. I reported this issue some hours ago and just got the confirmation that this behaviour needs to be fixed.

 

For everyone who wants to track the issue: https://jira.talendforge.org/browse/TDI-41291

 

Best,
Kai

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now