Errors
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 22/100
Hướng nghiên cứu
The traceback shows the user's script is named email.py, which shadows Python's standard email package that http.client imports during the googleapiclient import. Check the report's file name and the import chain against that collision, not the sample code. The issue gives no requested change and has no replies after 2060 days, so a newcomer would first need a maintainer decision on whether to add a note or leave it closed.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Expected Behavior
Send email
Actual Behavior
Errors given by terminal:
python email.py
Traceback (most recent call last):
File "/home//email.py", line 18, in
from googleapiclient.discovery import build
File "/home//.local/lib/python3.9/site-packages/googleapiclient/discovery.py", line 32, in
from six.moves import http_client
File "/usr/lib/python3.9/site-packages/six.py", line 92, in get
result = self._resolve()
File "/usr/lib/python3.9/site-packages/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/usr/lib/python3.9/site-packages/six.py", line 82, in _import_module
import(name)
File "/usr/lib64/python3.9/http/client.py", line 71, in
import email.parser
File "/home/harshavardhana/email.py", line 18, in
from googleapiclient.discovery import build
ImportError: cannot import name 'build' from partially initialized module 'googleapiclient.discovery' (most likely due to a circular import) (/home//.local/lib/python3.9/site-packages/googleapiclient/discovery.py)
Specifications
- Python version (
python --version) - OS (Linux)
- 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
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
canonical/paas-charm#407 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
FAIRmat-NFDI/pynxtools-spm#136 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`read_nexus` entry point points to a function that no longer existsCó thể đã có người làm @RubelMozumder đã nhận hôm nay. Đang mởannotator bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
FAIRmat-NFDI/pynxtools#876 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[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