deanishe 1,367 Posted January 18, 2020 Share Posted January 18, 2020 1 hour ago, Xage said: After selecting the account I want, i get the "temporary disabled" screen. If the application isn't verified, Google drastically limits the number of people who can sign up, so it's likely the workflow is over its limit. Realistically, your best bet is to get your own client ID from Google and edit the workflow to use that instead of its own. Link to post
paulminors 1 Posted February 2, 2020 Share Posted February 2, 2020 It looks like this is exactly what I need. However, I see this thread is a few years old and a lot of users had issues getting it to work. Is the workflow up to date and are there some instructions I can follow to get this working? Link to post
deanishe 1,367 Posted February 2, 2020 Share Posted February 2, 2020 30 minutes ago, paulminors said: Is the workflow up to date and are there some instructions I can follow to get this working? Either do as I said above (get your own app credentials from Google and edit the workflow) or do as recommended in this issue on GitHub. Link to post
ClassicRob 1 Posted February 7, 2020 Share Posted February 7, 2020 On 2/2/2020 at 12:53 PM, deanishe said: Either do as I said above (get your own app credentials from Google and edit the workflow) or do as recommended in this issue on GitHub. For someone who's technical but not code technical, how would I go specifically get the app credentials and edit the workflow? Link to post
deanishe 1,367 Posted February 7, 2020 Share Posted February 7, 2020 3 hours ago, ClassicRob said: get the app credentials https://console.developers.google.com/apis/dashboard 3 hours ago, ClassicRob said: edit the workflow https://github.com/azai91/alfred-drive-workflow/blob/master/src/google-drive.rb#L35 Link to post
fuorviatos 0 Posted March 3, 2020 Share Posted March 3, 2020 Unfortunately this does not work as expected. I'm getting info from Google that the application has yet to be approved. Link to post
deanishe 1,367 Posted March 3, 2020 Share Posted March 3, 2020 1 hour ago, fuorviatos said: Unfortunately this does not work as expected. I'm getting info from Google that the application has yet to be approved. Read the thread. Link to post
fuorviatos 0 Posted March 3, 2020 Share Posted March 3, 2020 12 minutes ago, deanishe said: Read the thread. Yeah, done that before. if it's only about creating api client id and secret on google, and editing few lines in the code. It's worth a shot. Thanks for guiding me to read again Link to post
deanishe 1,367 Posted March 3, 2020 Share Posted March 3, 2020 1 minute ago, fuorviatos said: if it's only about creating api client id and secret on google, and editing few lines in the code. That's the only way you'll get it working anytime soon, by the looks of things. Link to post
Javier Ruiz 0 Posted April 6, 2020 Share Posted April 6, 2020 Hi, thank you for your contribution. I´m try to use it but when I give permission, Google say "this application can´t start session" Are any update (i´m on v2.1) Link to post
robbedoes 0 Posted January 13 Share Posted January 13 Hi, please help. I've been struggling for over an hour trying to login, but I get an error that Alfred is blocked by Google. I've read all the threads there are about this issue, but it's all blablabla for me. I'm not a coder, so I don't know anything about API's and stuff. How can I get this to work please? I just want to search my Google files 😞 Thank you. Link to post
deanishe 1,367 Posted January 13 Share Posted January 13 6 hours ago, robbedoes said: I get an error that Alfred is blocked by Google. Please post the exact error message and whatever’s in Alfred’s debugger. We need a concrete error to be able to provide a concrete solution. Link to post
robbedoes 0 Posted January 14 Share Posted January 14 Hello. Here is the error I get when I try to login within the workflow. It's blocked by Google. Thanks in advance! Link to post
deanishe 1,367 Posted January 14 Share Posted January 14 Right, so you're having the same problem as everyone above. Here are Google's instructions for setting up a Google application: https://developers.google.com/identity/protocols/oauth2/ I explained where to put the ID and secret when you've got them further up the page. Link to post
robbedoes 0 Posted Thursday at 06:46 PM Share Posted Thursday at 06:46 PM 8 hours ago, deanishe said: Right, so you're having the same problem as everyone above. Here are Google's instructions for setting up a Google application: https://developers.google.com/identity/protocols/oauth2/ I explained where to put the ID and secret when you've got them further up the page. Thanks, I've already tried this. I got the credentials, I changed the code. Still not working. Link to post
deanishe 1,367 Posted Thursday at 09:01 PM Share Posted Thursday at 09:01 PM (edited) 2 hours ago, robbedoes said: Still not working. We can't help you if you can't give us a better description of what's going wrong than that. Edited Thursday at 09:02 PM by deanishe Link to post
robbedoes 0 Posted Friday at 11:04 AM Share Posted Friday at 11:04 AM 13 hours ago, deanishe said: We can't help you if you can't give us a better description of what's going wrong than that. There is no better description than what I've already mentioned. You said to get the credentials and edit the workflow. I got the credentials en edited the workflow, but it still isn't working. You also didn't give more instructions than that. It's very difficult if you don't have experience in this type of thing. Steps I've made: 1. get the workflow 2. get the credentials 3. edit the workflow 4. zip the edited workflow and gave it the name 'archive.alfredworkflow' 5. double click > will not install 6. tried to drag the workflow in alfred > will not install Link to post
deanishe 1,367 Posted Friday at 01:27 PM Share Posted Friday at 01:27 PM 2 hours ago, robbedoes said: There is no better description than what I've already mentioned. This: 2 hours ago, robbedoes said: double click > will not install You've zipped it incorrectly. Don’t zip the folder the workflow is in, select the contents of the folder and zip them. Or better yet, download and install the original workflow and edit it after installation. Link to post
robbedoes 0 Posted Friday at 01:40 PM Share Posted Friday at 01:40 PM 13 minutes ago, deanishe said: This: You've zipped it incorrectly. Don’t zip the folder the workflow is in, select the contents of the folder and zip them. Or better yet, download and install the original workflow and edit it after installation. https://www.loom.com/share/133b7c8c684c442a8f21153d882d08ad Link to post
Mr Pennyworth 39 Posted Friday at 02:36 PM Share Posted Friday at 02:36 PM As @deanishe has pointed out, 51 minutes ago, robbedoes said: https://www.loom.com/share/133b7c8c684c442a8f21153d882d08ad This isn't how it should be done. Try the following: Download the workflow (the .alfredworkflow file): https://github.com/azai91/alfred-drive-workflow/releases/download/v2.1/Google-Drive.alfredworkflow Double click on the downloaded file to open it with alfred Right click on the workflow inside Alfred, and select "Open in Finder" In the finder window that's opened in (3), edit the google-drive.rb file with your own credentials. Save the file Run the workflow Link to post
robbedoes 0 Posted Friday at 02:48 PM Share Posted Friday at 02:48 PM 5 minutes ago, Mr Pennyworth said: As @deanishe has pointed out, This isn't how it should be done. Try the following: Download the workflow (the .alfredworkflow file): https://github.com/azai91/alfred-drive-workflow/releases/download/v2.1/Google-Drive.alfredworkflow Double click on the downloaded file to open it with alfred Right click on the workflow inside Alfred, and select "Open in Finder" In the finder window that's opened in (3), edit the google-drive.rb file with your own credentials. Save the file Run the workflow Thanks, I've followed your steps and tried to run the workflow. Does not work. Tried debugging inside Alfred: Link to post
robbedoes 0 Posted Friday at 02:52 PM Share Posted Friday at 02:52 PM 3 minutes ago, robbedoes said: Thanks, I've followed your steps and tried to run the workflow. Does not work. Tried debugging inside Alfred: I've tried to paste a screenshot of the code, but the image is too big or something. MIME_TYPE_ICONS = { 'application/vnd.google-apps.document' => { :path => 'icons/doc.png' }, 'application/vnd.google-apps.spreadsheet' => { :path => 'icons/sheet.png' }, 'application/vnd.google-apps.presentation' => { :path => 'icons/slide.png' }, 'application/vnd.google-apps.form' => { :path => 'icons/form.png' }, 'application/pdf' => { :path => 'icons/dummy.pdf', :type => 'fileicon' }, } This is line 27 - 33 Link to post
Mr Pennyworth 39 Posted Friday at 02:57 PM Share Posted Friday at 02:57 PM 8 minutes ago, robbedoes said: Tried debugging inside Alfred: Can you confirm that this is the first line of google-drive.rb file? #!/usr/bin/ruby Link to post
robbedoes 0 Posted Friday at 03:03 PM Share Posted Friday at 03:03 PM 3 minutes ago, Mr Pennyworth said: Can you confirm that this is the first line of google-drive.rb file? #!/usr/bin/ruby Yes, this is the first line. Link to post
deanishe 1,367 Posted Friday at 03:11 PM Share Posted Friday at 03:11 PM What is the output if you run the command /usr/bin/ruby --version in Terminal? Link to post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now