Unable to run simple task with updown.py example file
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先,检查随附的 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
- 星标
- 985
- 派生
- 334
- 平均合并
- 7 小时 7 分钟
- 30 天内合并 PR
- 10
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dropbox/dropbox-sdk-python 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
dropbox/dropbox-sdk-python#491 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 35/100
dropbox/dropbox-sdk-python#482 · 1 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
question
难度 5/5 一周以上 新手友好度 25/100
dropbox/dropbox-sdk-python#476 · 3 条评论 ·
维护者通常 1 天内回复
-
bug
难度 5/5 一周以上 新手友好度 20/100
dropbox/dropbox-sdk-python#475 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 50/100
dropbox/dropbox-sdk-python#459 · 4 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
查看 dropbox/dropbox-sdk-python 的全部 Issue
相似的 Issue
-
defect from-review v0.9.2
难度 2/5 1-3 小时 新手友好度 86/100
khuisman/mcp-gee-sweet#926 ·
维护者通常 1 天内回复
-
难度 2/5 1 小时以内 新手友好度 84/100
EtanHey/brainlayer#1164 ·
维护者通常 1 天内回复
-
bug security
难度 1/5 1 小时以内 新手友好度 88/100
yunaremaia/vibeguard#141 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
PrismorSec/prismor#599 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复