Page 1 of 1

Google Drive shared folder

Posted: 19 Feb 2017 09:16
by fagci
Using GD Actions with shared folder, I cant get file list in that directory, "Not showing documents" notification shown.

Folder owned by another user, subfolder too, but file is mine.

/Family/Automagic/testfile

Re: Google Drive shared folder

Posted: 19 Feb 2017 14:12
by Martin
Hi,

Maybe the documents are not regular files but Google Docs documents which are not supported by Automagic. Google Docs documents would need to be converted/exported when downloaded which is something Automagic does not support at the moment.

Regards,
Martin

Re: Google Drive shared folder

Posted: 19 Feb 2017 14:34
by fagci
Thank you, Martin!

Works very well with uploaded files through Automagic!

Re: Google Drive shared folder

Posted: 24 Feb 2017 14:03
by fagci
When I trying to delete shared file, I got:

Code: Select all

24.02.2017 20:59:02.732 [Flow1] End executing action 'Google Drive Delete Files: /Family/Black.attheme' and exception Access to Google Drive failed: 403/Insufficient permissions for this file
24.02.2017 20:59:02.759 [Flow1] Flow ends execution due to errors
24.02.2017 20:59:02.760 [Flow1] Error:
ch.gridvision.ppam.androidautomagiclib.util.n: Access to Google Drive failed: 403/Insufficient permissions for this file
	at ch.gridvision.ppam.androidautomagic.c.a.be$1.b(SourceFile:272)
	at ch.gridvision.ppam.androidautomagiclib.util.ck$1$1.run(SourceFile:51)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5461)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
Caused by: ch.gridvision.ppam.androidautomagiclib.util.n: Access to Google Drive failed: 403/Insufficient permissions for this file
	at ch.gridvision.ppam.androidautomagic.util.a.a.a(SourceFile:200)
	at ch.gridvision.ppam.androidautomagic.util.a.a.a(SourceFile:98)
	at ch.gridvision.ppam.androidautomagic.util.a.a.b(SourceFile:320)
	at ch.gridvision.ppam.androidautomagic.c.a.be$1.a(SourceFile:227)
	at ch.gridvision.ppam.androidautomagic.c.a.be$1.c(SourceFile:168)
	at ch.gridvision.ppam.androidautomagiclib.util.ck$1.run(SourceFile:39)
	at java.lang.Thread.run(Thread.java:818)
But I can do it from this account with Google Drive app.
File uploaded with AM action from another account.

Probably, this is because GD removes files by marking them as deleted by their style, so your delete implementation maybe so strong for GD politics =)
So, Google Drive Init file list action will check this "flags"...