Unable to run simple task with updown.py example file
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia esaminando i file allegati updown.py, updown_v1.py e updown_v2.py insieme allo stone ValidationError e al requests ConnectionError segnalati. Riproduci la semplice attività di sincronizzazione con Python 3.12.10 e le librerie appena installate, verificando la modifica della cartella del team e le autorizzazioni dell’app. L’attività è completata quando è stata identificata una causa riproducibile e sono state documentate la configurazione o la correzione necessarie.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 983
- Fork
- 331
- Merge medio
- 3m
- PR unite (30g)
- 10
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dropbox/dropbox-sdk-python
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
dropbox/dropbox-sdk-python#491 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
dropbox/dropbox-sdk-python#482 · 1 commento · 2 reazioni ·
-
question
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
dropbox/dropbox-sdk-python#476 · 3 commenti ·
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
dropbox/dropbox-sdk-python#475 · 1 commento ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
dropbox/dropbox-sdk-python#459 · 4 commenti · 1 reazione ·
Tutte le issue di dropbox/dropbox-sdk-python
Issue simili
-
essnmx good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
-
[Feature] 奇物选择添加优先级 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Giskard-AI/giskard-oss#2840 · 1 commento ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Apertaarea: repo bug perceived difficulty: 2
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
yeti-platform/yeti#1380 ·