Unable to run simple task with updown.py example file
まだ誰も着手していません。
評価
調査の方向性
まず、添付された updown.py、updown_v1.py、updown_v2.py を、報告されている stone ValidationError および requests ConnectionError と併せて確認します。新しくインストールしたライブラリと Python 3.12.10 を使用して単純な同期タスクを再現し、チームフォルダーの変更とアプリの権限を確認します。再現可能な原因を特定し、必要な設定または修正を文書化できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 983
- フォーク
- 331
- 平均マージ
- 3分
- マージ済み PR(30日)
- 10
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dropbox/dropbox-sdk-python のほかの issue
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
dropbox/dropbox-sdk-python#491 · コメント 1 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
dropbox/dropbox-sdk-python#482 · コメント 1 件 · リアクション 2 件 ·
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
dropbox/dropbox-sdk-python#476 · コメント 3 件 ·
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
dropbox/dropbox-sdk-python#475 · コメント 1 件 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
dropbox/dropbox-sdk-python#459 · コメント 4 件 · リアクション 1 件 ·
dropbox/dropbox-sdk-python の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
hcocena オープンpolicies-accepted pre-review precheck-passed
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Bioconductor/BiocContributions#214 · コメント 5 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
TencentCloud/Octop#1169 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
521xueweihan/HelloGitHub#3778 ·
-
The version checker's trailing attribute region has no control for a less-than inside a quoted value オープンarea: dashboard area: tests bug perceived difficulty: 2 python
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Nitjsefnie-Harness-Commons/daedalus#1105 · コメント 1 件 ·