Closed patricialorenzoc closed 2 years ago
Hi @patricialorenzoc !
I'm using pythons http.server to launch on ports 8080 or 8090 as a local server. Is using this the problem?
If everything is setup correctly you don't need it. LocalWebserverAuth
should be running it for you internally.
it gives me a listing of the contents of the folder and i don't know how to fix this.
can you give a bit more details, how does it look like?
Hello, i'm trying to use PyDrive2 to link Kaggle to my Google Drive
How and where do you run it?
My feeling is that you should not be using LocalWebserverAuth
at at all, or run it locally first and then move the credentials.json
to a remote machine. Or use CommandLineAuth
instead or service account (recommended).
Hi @patricialorenzoc !
I'm using pythons http.server to launch on ports 8080 or 8090 as a local server. Is using this the problem?
If everything is setup correctly you don't need it.
LocalWebserverAuth
should be running it for you internally.
I tried to do this without running de server but had other problems initially that i explained in this post.
it gives me a listing of the contents of the folder and i don't know how to fix this.
can you give a bit more details, how does it look like?
This is what it looks like.
Hello, i'm trying to use PyDrive2 to link Kaggle to my Google Drive
How and where do you run it?
I use individual cells in Kaggle that i can run in case i want to test something in particular.
My feeling is that you should not be using
LocalWebserverAuth
at at all, or run it locally first and then move thecredentials.json
to a remote machine. Or useCommandLineAuth
instead or service account (recommended).
If i try to use CommandLineAuth instead i get another error, this one:
Closing as stale
Hello, i'm trying to use PyDrive2 to link Kaggle to my Google Drive, i've followed the authenthication quickstart from the documentation but i'm stuck on authenthicating, i have a settings.yaml with the following code:
I have both
client_secrets.json
andcredentials.json
created and i was trying to use the following code to download the contents of a folder:So i run this code and it gives me a link to open and authenthicate like this:
So i follow with the authenthication but instead of giving me an error or succeeding it gives me a listing of the contents of the folder and i don't know how to fix this.
I'm using pythons
http.server
to launch on ports8080
or8090
as a local server. Is using this the problem?