Google Drive Sync from MacOS


#1

When syncing with Google Drive, a new browser tab pops up asking for the account to use and the permissions to grant. This continues to take place and Codebook doesn’t get synced. It seems like a new set of browser permission tabs pop up for every API request into Google Drive.

Running Codebook 3.7.0 from Nov 6, 2018, MacOs Mojave 10.14.1, and Chrome 70.0.3538.110.

Thanks


#2

Hi @emilio_apey

Thank you for using Codebook and posting to the discussion forum, although I’m sorry to hear about the trouble with Google Drive sync.

When you select “Allow” after authenticating with your Google account, are you redirected back to the open Codebook window, or does a new Codebook window open up? The reason I ask is because if it’s the latter you may have a second Codebook installation present on your machine which could be causing the issues.

Can you search your machine for another Codebook installation (perhaps in the Downloads folder) and if there is one, move it to the trash, empty the trash, restart Codebook and attempt to sync with Google Drive again.

Let me know the results. Thanks!


#3

I couldn’t find another copy of Codebook in my machine.

So, I removed/uninstalled Codebook hoping that this would clean up if there were more than one version.

However, that didn’t fix it. Still, when I try to sync with Google Drive it re-directs me to a new browser tab. After I select the account to use and grants it permissions, a new browser tab pops up where the same activity takes place, and so on, and on, and on, and on … with a series of new browser tabs asking to identify the Google account and the permissions. It just continues popping new browser tabs.

Something is taking place because a copy of the database file is being created, but the information is not being updated.

Welll, I got tire of spending so much time with this broken Google Drive syncing. I decided to sync directly to the file Google Drive stores in my laptop. So now Google Drive does the file syncing, and Codebook just syncs to the local version of the file.

This is kind of a work around, but it works, and I don’t have to waste more time looking into this bug.


#4

@emilio_apey

Thanks for the response and sorry for the continued trouble.

After I select the account to use and grants it permissions, a new browser tab pops up where the same activity takes place, and so on, and on, and on, and on …

When you grant codebook permission by clicking the “Allow” button at the end of authentication, does it prompt you to Allow this page to open "Codebook" ?

Open_Codebook

When you open Codebook > Preferences > Sync tab and select Google Drive, does your account show up there with an “Unlink” button next to it?

What browser are you using when authenticating with Google Drive after being directed from Codebook?

Could you try running this command in Terminal (founder under Applications > Utilities > Terminal) to ensure there are no other copies of Codebook present on your machine:

find / -name Codebook*.app 2>/dev/null

It should output the locations of any Codebook apps, if it find any other than the one in Applications, then move them to the trash, empty the trash and attempt to sync again.

Also, just to confirm, does your current Codebook installation reside in the /Applications ?

Let me know the results and the answers to the questions. Thanks!