Draft
Conversation
Member
Author
|
Not working. $ oj download https://atcoder.jp/contests/arc065/tasks/arc065_b --system --dropbox-token=${DROPBOX_TOKEN}
[INFO] online-judge-tools 11.5.1 (+ online-judge-api-client 10.10.1)
[INFO] load cookie from: /Users/koba_mac/Library/Application Support/online-judge-tools/cookie.jar
[NETWORK] POST: https://api.dropboxapi.com/2/files/list_folder
[NETWORK] 200 OK
[INFO] contest folder found: {'.tag': 'folder', 'name': 'AGC058', 'id': 'id:hjsYZQdnqVAAAAAAAAKPNA'}
[NETWORK] POST: https://api.dropboxapi.com/2/files/list_folder
[NETWORK] 200 OK
[INFO] problem folder found: {'.tag': 'folder', 'name': 'F', 'id': 'id:hjsYZQdnqVAAAAAAAAAnNA'}
[NETWORK] POST: https://api.dropboxapi.com/2/files/list_folder
[NETWORK] 200 OK
[NETWORK] POST: https://content.dropboxapi.com/2/sharing/get_shared_link_file
[NETWORK] 400 Bad Request
[ERROR] 400 Client Error: Bad Request for url: https://content.dropboxapi.com/2/sharing/get_shared_link_file
[HINT] You may need to login to use `$ oj download ...` during contest. Please run: $ oj login https://atcoder.jp/
[INFO] save cookie to: /Users/koba_mac/Library/Application Support/online-judge-tools/cookie.jar |
Member
Author
|
Some failing with error code [NETWORK] POST: https://api.dropboxapi.com/2/files/list_folder
[NETWORK] 200 OK
[NETWORK] POST: https://content.dropboxapi.com/2/sharing/get_shared_link_file
[NETWORK] 409 Conflict
[ERROR] 409 Client Error: Conflict for url: https://content.dropboxapi.com/2/sharing/get_shared_link_file
[HINT] You may need to login to use `$ oj download ...` during contest. Please run: $ oj login https://atcoder.jp/ |
|
@koba-e964 I tried your link and got the same error. It seems like this 409 error was encountered in the initial implementation of this dropbox feature. It seems like someone else tried it again and it worked? Not sure. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Partial resolution of #912.
#862 credentials went stale due to the limit on the number of users. This PR replaces them with those by @koba-e964.