Unicode error in quickstart
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 15/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- python
- Bereich
- authentication
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Python
- Sterne
- 1.4k
- Forks
- 917
- Ø Merge
- 3 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus googleworkspace/python-samples
-
ايقاف البحث الأمنEvtl. wieder frei @sqrrrl hat das vor 400 Tagen übernommen, und es ist kein Pull Request offen. Offen
googleworkspace/python-samples#2434 · 1 zugewiesene Person ·
-
Slow Uploads using Google Drive API with PythonEvtl. wieder frei @sqrrrl hat das vor 740 Tagen übernommen, und es ist kein Pull Request offen. Offen
googleworkspace/python-samples#1852 · 1 Kommentar · 1 zugewiesene Person ·
-
403 error from google after a few successful runs of my codeEvtl. wieder frei @vinay-google hat das vor 912 Tagen übernommen, und es ist kein Pull Request offen. Offen
googleworkspace/python-samples#1424 · 1 zugewiesene Person ·
-
How to see the progress of files which is getting uploadedEvtl. wieder frei @vinay-google hat das vor 928 Tagen übernommen, und es ist kein Pull Request offen. Offen
googleworkspace/python-samples#1404 · 1 zugewiesene Person ·
-
Phyton SamplesEvtl. wieder frei @PierrickVoulet hat das vor 975 Tagen übernommen, und es ist kein Pull Request offen. Offen
googleworkspace/python-samples#1279 · 1 zugewiesene Person ·
Alle Issues in googleworkspace/python-samples
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
canonical/paas-charm#407 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 5 Tagen
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
FAIRmat-NFDI/pynxtools-spm#136 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement tooling
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
`read_nexus` entry point points to a function that no longer existsEvtl. vergeben @RubelMozumder hat das heute übernommen. Offenannotator bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
FAIRmat-NFDI/pynxtools#876 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[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 retryingEvtl. vergeben @yipinghuang1991 hat das heute übernommen. Offencomp/agent P2 type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
NousResearch/hermes-agent#156837 ·
Maintainer antworten meist innerhalb von 1 Tag