Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Unable to run simple task with updown.py example file

Đang mở
#585 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Bắt đầu bằng cách xem xét các tệp đính kèm updown.py, updown_v1.py và updown_v2.py cùng với stone ValidationError và requests ConnectionError đã được báo cáo. Tái hiện tác vụ đồng bộ hóa đơn giản bằng Python 3.12.10 và các thư viện mới cài đặt, đồng thời kiểm tra thay đổi của thư mục nhóm và quyền của ứng dụng. Được xem là hoàn thành khi đã xác định được nguyên nhân có thể tái hiện và ghi lại cấu hình hoặc cách sửa cần thiết.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

question

I'm trying to learn the Python Dropbox SDK and as part of this effort, I downloaded updown.py and tried a simple sample sync task.

I kept getting the following error:
....dropbox\Lib\site-packages\stone\backends\python_rsrc\stone_serializers.py", line 674, in decode_union_dict
raise bv.ValidationError(
stone.backends.python_rsrc.stone_validators.ValidationError: unexpected use of the catch-all tag 'other'

I also persistently got the following error when I didn't get the "catch-all tag" error:
....dropbox\Lib\site-packages\requests\adapters.py", line 711, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host'))

I've scoured the web for solutions. I've tried uploading in batches with no success. I've tried multiple versions of the upload function and now I am at a loss.

The only minor change I made to the file was to reorient the Dropbox client to allow it to see my team folder. I am also not entirely sure I got the app permissions correct. I checked files.metadata.read and "Allow" for public clients.

I am attaching t

updown_v1.py
updown.py
updown_v2.py

hree versions of the file which have not worked for me. Could you please help me figure this out? I am really struggling and I can't find answers online.

My libraries are all brand new, installed in a virtual environment two days ago. My Python version is 3.12.10

Ngôn ngữ chính
Python
Star
983
Fork
331
Merge trung bình
3 phút
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dropbox/dropbox-sdk-python

Tất cả issue của dropbox/dropbox-sdk-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.