Unicode error in quickstart
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- authentication
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 1.4k
- Fork
- 917
- Merge trung bình
- 3 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của googleworkspace/python-samples
-
ايقاف البحث الأمنCó thể làm lại được @sqrrrl đã nhận 400 ngày trước và không có pull request nào đang mở. Đang mở
googleworkspace/python-samples#2434 · 1 người được giao ·
-
Slow Uploads using Google Drive API with PythonCó thể làm lại được @sqrrrl đã nhận 740 ngày trước và không có pull request nào đang mở. Đang mở
googleworkspace/python-samples#1852 · 1 bình luận · 1 người được giao ·
-
403 error from google after a few successful runs of my codeCó thể làm lại được @vinay-google đã nhận 912 ngày trước và không có pull request nào đang mở. Đang mở
googleworkspace/python-samples#1424 · 1 người được giao ·
-
How to see the progress of files which is getting uploadedCó thể làm lại được @vinay-google đã nhận 928 ngày trước và không có pull request nào đang mở. Đang mở
googleworkspace/python-samples#1404 · 1 người được giao ·
-
Phyton SamplesCó thể làm lại được @PierrickVoulet đã nhận 975 ngày trước và không có pull request nào đang mở. Đang mở
googleworkspace/python-samples#1279 · 1 người được giao ·
Tất cả issue của googleworkspace/python-samples
Issue tương tự
-
[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 retryingCó thể đã có người làm @yipinghuang1991 đã nhận hôm nay. Đang mởcomp/agent P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NousResearch/hermes-agent#156837 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug: Missing continue on ValueError in CpanBackend.check_feed causes UnboundLocalError or duplicate yieldsCó thể đã có người làm @muskan-creates352 đã nhận hôm nay. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
fedora-infra/anitya#2188 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs documentation need-triage SaaS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
integration:hermes
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
vectorize-io/hindsight#6601 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage:product type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
dbt-labs/dbt-adapters#2333 ·
Maintainer thường phản hồi trong vòng 1 ngày