Unicode error in quickstart
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- Une demi-journée
- Accessibilité débutants
- 15/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- python
- Domaine
- authentication
Piste de recherche
The failing call is flow.run_local_server(port=0) in the quickstart's OAuth sample, which reads the downloaded credentials.json. Start by checking whether the byte 0xcf in the report means the file was read as binary-corrupted text, and reproduce with a freshly downloaded file on Python 3.7 on Windows. Done means either the sample handles the file correctly or it fails with a clear message that points to the cause.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Copied and pasted the code. Downloaded credentials.json. Replaced all spaces to tabs and after all got Unicode error in this line :
creds = flow.run_local_server(port=0)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 6: invalid continuation byte
I really don't know what the problem. Httplib2 was upgraded (ver. 0.15.0) like others libs which would be needed.
httplib2 0.15.0
python 3.7.4
Windows OS
- Langage dominant
- Python
- Étoiles
- 1.4k
- Forks
- 917
- Merge moyen
- 3 min
- PR mergées (30 j)
- 1
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de googleworkspace/python-samples
-
ايقاف البحث الأمنPeut-être à nouveau libre @sqrrrl l’a pris il y a 400 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#2434 · 1 personne assignée ·
-
Slow Uploads using Google Drive API with PythonPeut-être à nouveau libre @sqrrrl l’a pris il y a 740 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#1852 · 1 commentaire · 1 personne assignée ·
-
403 error from google after a few successful runs of my codePeut-être à nouveau libre @vinay-google l’a pris il y a 912 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#1424 · 1 personne assignée ·
-
How to see the progress of files which is getting uploadedPeut-être à nouveau libre @vinay-google l’a pris il y a 928 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#1404 · 1 personne assignée ·
-
Phyton SamplesPeut-être à nouveau libre @PierrickVoulet l’a pris il y a 975 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#1279 · 1 personne assignée ·
Toutes les issues de googleworkspace/python-samples
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
canonical/paas-charm#407 · 1 commentaire ·
Les mainteneurs répondent en général sous 5 jours
-
bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
FAIRmat-NFDI/pynxtools-spm#136 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement tooling
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
Les mainteneurs répondent en général sous 1 jour
-
`read_nexus` entry point points to a function that no longer existsPeut-être pris @RubelMozumder l’a pris aujourd’hui. Ouverteannotator bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
FAIRmat-NFDI/pynxtools#876 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: HTTP 499 (Client Closed Request) is classified as a non-retryable format_error, so a mid-flight abort fails the turn over instead of retryingPeut-être pris @yipinghuang1991 l’a pris aujourd’hui. Ouvertecomp/agent P2 type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
NousResearch/hermes-agent#156837 ·
Les mainteneurs répondent en général sous 1 jour