Closed matdeofloggi closed 5 years ago
Hi @matdeof, thanks for the report.
I think that a week or two ago Google has started increasing the verification requirements for third-pary Google Drive integrations (such as this one). Unfortunately, I think that means that the default CLIENT_ID
used by this extension will no longer work. Ultimately, it is probably the correct decision from a security standpoint, since Google cannot verify that the default CLIENT_ID
is who it says it is (i.e., JupyterLab developers). But it does make distributing this extension more difficult.
We will have to respond to this development, but in the mean time you should still be able to create your own credentials using the instructions here. It is kind of an involved process, but should work.
If you run into any troubles, or have feedback on how to make the instructions clearer, feel free to ask them here!
Hi @ian-r-rose,
I'll follow the instructions and i reach you guys in case i have any troubles.
Thanks a lot, for the quick reply and for all the infomation as well!
So quick update, gladly i manage to follow your tutorial and now i'm able to sign in Google Drive, great tutorial! Thanks again! @ian-r-rose
Glad to hear it! I'll leave this open until I can update the documentation to communicate the changes to Google's verification process.
Hi @ian-r-rose,
I had the same issue with signing in, and following the tutorial solved it for me. I can now access my Google Drive though JupyterLab and it seems to sync in real-time with my account !
My issue: when I try to open a file, let say a notebook, from Google Drive (in JupyterLab), it loads to infinity and never opens. The same thing happens when trying to create a new notebook.
What should I do? Thanks.
Hi @alex-choquette are there any errors output to the Javascript console (usually opened with F12)?
Also, have you set realtime to false as described here?
Actually yes, I get this error
And I have set the realtime setting to false as such
It looks like your settings are mis-formatted. They need to be valid JSON (with optional comments), so something like
{
"clientId": "your_id",
"realtime": false
}
It worked! Once again my poor knowledge was the real issue :S Let say I want to do realtime editing of a notebook with a collaborator, do I simply need to turn the "realtime" setting to "true" and share the notebook with my partner ?
Glad to hear you got it working! Unfortunately, Google has deprecated their realtime API, and it is no longer allowing new sign-ups (hence the somewhat awkward install process that you discovered).
We are working on a replacement, but it is not ready yet. So for now, you can access your Google Drive account, but it won't have realtime updates.
I understand. Thank you for taking the time to answer :) Do you have an idea of approximately when it will be ready? And how can we be notified about it? Thanks.
I don't know exactly when it will be ready, but rest assured we'll be advertising it :)
The link to the guide is not working anymore.
@nabriis See here
Actually that is the guide I followed. Maybe I missed something?
What is the link that is broken?
It is this one: https://github.com/jupyterlab/jupyterlab-google-drive/blob/master/docs/advanced.md Which is mentioned a bunch of times earlier in the chat.
I'll give the guide you linked another try.
It's the same file, just renamed.
Closing as answered.
After selecting an account to sign in, i'm getting the following error message
I couldn't find any fix so far
Thanks