Google Drive API error: "Impossible to reach the site"

Offen
#142 3 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@sqrrrl arbeitet bereits daran.

Seit 24.2.2020.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

Actual Behavior

Hi all, I'm Elisa and I'm trying to configure and run a Google Drive app.
I've read the Python Quickstart (https://developers.google.com/drive/api/v3/quickstart/python)
and I've done all the steps, but when I type

$ python quickstart.py

I receive the following error:

Impossibile raggiungere il sito

La pagina web all'indirizzo http://localhost:0/?state=3s0NlvCqmX2N61DLZzoHFRCAHXU80o&code=4/wQGzmEi5ZGAaEi_NzMA_sWFtkyGhe80DyVXlIlNNUqC2T9W0a98mTt0hxM3HYKhA0nKzrOyzB1Ezr13wwCA2qoU&scope=https://www.googleapis.com/auth/drive.metadata.readonly potrebbe essere temporaneamente non disponibile oppure è stata permanentemente spostata a un nuovo indirizzo web.

ERR_ADDRESS_INVALID

Expected Behavior

I think the sample should proceed automatically.

Steps to Reproduce the Problem

I've just followed the steps up to Step 4: Run the sample after which I got the error.

Specifications

  • Python version (python --version):
    Python 2.7.16

  • Pip version:
    pip 9.0.3 from /usr/lib/python2.7/site-packages (python 2.7)

  • Google libraries version:
    google-api-python-client==1.7.11
    google-auth==1.11.0
    google-auth-httplib2==0.0.3
    google-auth-oauthlib==0.3.0

  • OS (Mac/Linux/Windows):
    NAME="Amazon Linux"
    VERSION="2"
    ID="amzn"
    ID_LIKE="centos rhel fedora"
    VERSION_ID="2"
    PRETTY_NAME="Amazon Linux 2"
    ANSI_COLOR="0;33"
    CPE_NAME="cpe:2.3⭕amazon:amazon_linux:2"
    HOME_URL="https://amazonlinux.com/"

Other

Let me know If I have to provide you other infos.
Thank you in advance!

Vorherrschende Sprache
Python
Sterne
1.4k
Forks
917
Ø Merge
3 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus googleworkspace/python-samples

Alle Issues in googleworkspace/python-samples

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.