
Anonymous
Not applicable
2015-10-30
01:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tGoogleDriveGet can't download Google Spreadsheet?
Hello,
I have been using talend for some time and I am usually able to find an answer to any question I have in these forums. However I could not find a solution to my problem which has lead me to create my very first post.
I have successfully made a connection and I am able to download files using tGoogleDriveGet such as pdf files or image files.. however I cannot download the Google spreadsheet that is generated from a Google form.
tGoogleDriveConnection ---> tGoogleDriveGet
Name of File: "QA Form (Responses)"
Save To: "/Users/me/Desktop/QA Form (Responses)"
Prefer to download in CSV format. Any assistance appreciated.
Thanks so much.
Al
1,155 Views
- « Previous Replies
- Next Replies »
23 Replies

Anonymous
Not applicable
2015-11-03
03:12 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did you get any error when you download the Google spreadsheet by using tGoogleDriverGet?
We have a related new feature jira issue: https://jira.talendforge.org/browse/TDI-28114
In addition, here is a custom component tGSpreadsheetInput shared on Talend Exchange
TalendExchange:tGSpreadsheetInput
Best regards
Sabrina
Did you get any error when you download the Google spreadsheet by using tGoogleDriverGet?
We have a related new feature jira issue: https://jira.talendforge.org/browse/TDI-28114
In addition, here is a custom component tGSpreadsheetInput shared on Talend Exchange
TalendExchange:tGSpreadsheetInput
Best regards
Sabrina
651 Views

Anonymous
Not applicable
2015-11-03
12:50 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sabrina,
Apologies for not being specific.
I have tried tGSpreadsheetInput however I receive an error here regarding Authentication. I believe it may be due to oAuth2
Exception in component tGSpreadsheetInput_1
com.google.gdata.util.AuthenticationException: Error authenticating (check service name)
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:553)
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:430)
at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:301)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:324)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
at bd.testzone_0_1.testzone.tGSpreadsheetInput_1Process(testzone.java:805)
at bd.testzone_0_1.testzone.runJobInTOS(testzone.java:1292)
at bd.testzone_0_1.testzone.main(testzone.java:1141)
Here is the error tGoogleDriveGet I receive when I attempt to load the Name of File as: "QA Form (Responses)"
Exception in component tGoogleDriveGet_2
java.lang.IllegalArgumentException: java.net.MalformedURLException
at com.google.api.client.http.GenericUrl.parseURL(GenericUrl.java:638)
at com.google.api.client.http.GenericUrl.(GenericUrl.java:114)
at bd.testzone_0_1.testzone.tGoogleDriveGet_2Process(testzone.java:524)
at bd.testzone_0_1.testzone.tGoogleDriveConnection_1Process(testzone.java:429)
at bd.testzone_0_1.testzone.runJobInTOS(testzone.java:899)
at bd.testzone_0_1.testzone.main(testzone.java:748)
Caused by: java.net.MalformedURLException
at java.net.URL.(URL.java:619)
at java.net.URL.(URL.java:482)
at java.net.URL.(URL.java:431)
at com.google.api.client.http.GenericUrl.parseURL(GenericUrl.java:636)
... 5 more
Caused by: java.lang.NullPointerException
at java.net.URL.(URL.java:524)
... 8 more
Thanks so much for your assistance!
Al
edit:
when I print out to the console a tGoogleDriveList results, I can see all the pertaining documents in the google drive. Here I can see that talend is able to detect and list all the contents of the folder, including the QA form (google form) and the QA form responses (google worksheet) :
TGoogleDriveList global variables:
tGoogleDriveList_1_ERROR_MESSAGE: null
tGoogleDriveList_1_ID: 144HWZMpTVu5555555555naBR-npCUkhlXTJA
tGoogleDriveList_1_LAST_MODIFIED: 2015-10-29T20:35:57.263Z
tGoogleDriveList_1_MIME_TYPE: application/vnd.google-apps.spreadsheet
tGoogleDriveList_1_SELF_LINK: https://www.googleapis.com/drive/v2/files/144HWZMpTVuzU555555555BR-npCUkhlXTJA
tGoogleDriveList_1_TITLE: QA Form (Responses)
TGoogleDriveList global variables:
tGoogleDriveList_1_ERROR_MESSAGE: null
tGoogleDriveList_1_ID: 1nEhtGqhxF8Iyz55555555555EPWtEHC9A
tGoogleDriveList_1_LAST_MODIFIED: 2015-10-27T22:06:43.955Z
tGoogleDriveList_1_MIME_TYPE: application/vnd.google-apps.form
tGoogleDriveList_1_SELF_LINK: https://www.googleapis.com/drive/v2/files/1nEhtGqhxF8I5555555pLUEPWtEHC9A
tGoogleDriveList_1_TITLE: QA Form
TGoogleDriveList global variables:
tGoogleDriveList_1_ERROR_MESSAGE: null
tGoogleDriveList_1_ID: 0B5o655555555555lcl9maWxl
tGoogleDriveList_1_LAST_MODIFIED: 2014-08-13T22:32:12.144Z
tGoogleDriveList_1_MIME_TYPE: application/pdf
tGoogleDriveList_1_SELF_LINK: https://www.googleapis.com/drive/v2/files/0B5o6HAN555555555lcl9maWxl
tGoogleDriveList_1_TITLE: How to get started with Drive
Apologies for not being specific.
I have tried tGSpreadsheetInput however I receive an error here regarding Authentication. I believe it may be due to oAuth2
Exception in component tGSpreadsheetInput_1
com.google.gdata.util.AuthenticationException: Error authenticating (check service name)
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:553)
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:430)
at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:301)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:324)
at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
at bd.testzone_0_1.testzone.tGSpreadsheetInput_1Process(testzone.java:805)
at bd.testzone_0_1.testzone.runJobInTOS(testzone.java:1292)
at bd.testzone_0_1.testzone.main(testzone.java:1141)
Here is the error tGoogleDriveGet I receive when I attempt to load the Name of File as: "QA Form (Responses)"
Exception in component tGoogleDriveGet_2
java.lang.IllegalArgumentException: java.net.MalformedURLException
at com.google.api.client.http.GenericUrl.parseURL(GenericUrl.java:638)
at com.google.api.client.http.GenericUrl.(GenericUrl.java:114)
at bd.testzone_0_1.testzone.tGoogleDriveGet_2Process(testzone.java:524)
at bd.testzone_0_1.testzone.tGoogleDriveConnection_1Process(testzone.java:429)
at bd.testzone_0_1.testzone.runJobInTOS(testzone.java:899)
at bd.testzone_0_1.testzone.main(testzone.java:748)
Caused by: java.net.MalformedURLException
at java.net.URL.(URL.java:619)
at java.net.URL.(URL.java:482)
at java.net.URL.(URL.java:431)
at com.google.api.client.http.GenericUrl.parseURL(GenericUrl.java:636)
... 5 more
Caused by: java.lang.NullPointerException
at java.net.URL.(URL.java:524)
... 8 more
Thanks so much for your assistance!
Al
edit:
when I print out to the console a tGoogleDriveList results, I can see all the pertaining documents in the google drive. Here I can see that talend is able to detect and list all the contents of the folder, including the QA form (google form) and the QA form responses (google worksheet) :
TGoogleDriveList global variables:
tGoogleDriveList_1_ERROR_MESSAGE: null
tGoogleDriveList_1_ID: 144HWZMpTVu5555555555naBR-npCUkhlXTJA
tGoogleDriveList_1_LAST_MODIFIED: 2015-10-29T20:35:57.263Z
tGoogleDriveList_1_MIME_TYPE: application/vnd.google-apps.spreadsheet
tGoogleDriveList_1_SELF_LINK: https://www.googleapis.com/drive/v2/files/144HWZMpTVuzU555555555BR-npCUkhlXTJA
tGoogleDriveList_1_TITLE: QA Form (Responses)
TGoogleDriveList global variables:
tGoogleDriveList_1_ERROR_MESSAGE: null
tGoogleDriveList_1_ID: 1nEhtGqhxF8Iyz55555555555EPWtEHC9A
tGoogleDriveList_1_LAST_MODIFIED: 2015-10-27T22:06:43.955Z
tGoogleDriveList_1_MIME_TYPE: application/vnd.google-apps.form
tGoogleDriveList_1_SELF_LINK: https://www.googleapis.com/drive/v2/files/1nEhtGqhxF8I5555555pLUEPWtEHC9A
tGoogleDriveList_1_TITLE: QA Form
TGoogleDriveList global variables:
tGoogleDriveList_1_ERROR_MESSAGE: null
tGoogleDriveList_1_ID: 0B5o655555555555lcl9maWxl
tGoogleDriveList_1_LAST_MODIFIED: 2014-08-13T22:32:12.144Z
tGoogleDriveList_1_MIME_TYPE: application/pdf
tGoogleDriveList_1_SELF_LINK: https://www.googleapis.com/drive/v2/files/0B5o6HAN555555555lcl9maWxl
tGoogleDriveList_1_TITLE: How to get started with Drive
651 Views

Anonymous
Not applicable
2015-11-09
02:08 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Just curious if you had any follow up for me.
Thanks,
Al
Just curious if you had any follow up for me.
Thanks,
Al
651 Views

Anonymous
Not applicable
2015-11-10
04:26 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Al,
Sorry for delay.
On which official version did you get that?
Best regards
Sabrina
Sorry for delay.
On which official version did you get that?
Best regards
Sabrina
651 Views

Anonymous
Not applicable
2015-11-11
12:32 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No problem. The version is: Talend Open Studio for Big Data (6.0.1.20150908_1633)
Al
Al
651 Views

Anonymous
Not applicable
2015-11-16
04:01 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am still struggling with this issue.
I am sure there must be a way to download contents of a Google Sheet using Talend.
Thanks,
Al
I am still struggling with this issue.
I am sure there must be a way to download contents of a Google Sheet using Talend.
Thanks,
Al
651 Views

Anonymous
Not applicable
2015-11-16
09:52 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Would you mind creating a work item jira issue of DI project on Talend Bug Tracker?
https://jira.talendforge.org/secure/Dashboard.jspa
Best regards
Sabrina
Would you mind creating a work item jira issue of DI project on Talend Bug Tracker?
https://jira.talendforge.org/secure/Dashboard.jspa
Best regards
Sabrina
651 Views

Anonymous
Not applicable
2015-11-17
10:51 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alvin, Sabrina
I got exactly the same issue. I however can connect to google drive with the tgoogledrivelist component but the tgoogledriveget doesn't work - same log errors than you !
Note that I tried to do a save-as file with a prepared xls file and this is not working as well.
There aren't many configuration on this component and if the API is working I'm wondering if it has ever been working !
Regards,
Mehdi
I got exactly the same issue. I however can connect to google drive with the tgoogledrivelist component but the tgoogledriveget doesn't work - same log errors than you !
Note that I tried to do a save-as file with a prepared xls file and this is not working as well.
There aren't many configuration on this component and if the API is working I'm wondering if it has ever been working !
Regards,
Mehdi
651 Views

Specialist III
2015-11-19
07:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have the same problem, any updates? news?
Regards
I have the same problem, any updates? news?
Regards
651 Views

- « Previous Replies
- Next Replies »