deep-rl-class icon indicating copy to clipboard operation
deep-rl-class copied to clipboard

[HANDS-ON BUG]page Leaderboard:runtime error Exit code: 1. Reason: for_status

Open charming888 opened this issue 9 months ago • 0 comments

Describe the bug

https://huggingface.co/spaces/huggingface-projects/Deep-Reinforcement-Learning-Leaderboard

runtime error Exit code: 1. Reason: for_status response.raise_for_status() File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/api/datasets/huggingface-projects/drlc-leaderboard-data/commit/main

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/user/app/app.py", line 335, in run_update_dataset() File "/home/user/app/app.py", line 315, in run_update_dataset api.upload_folder( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1518, in _inner return fn(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4711, in upload_folder commit_info = self.create_commit( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1518, in _inner return fn(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4087, in create_commit hf_raise_for_status(commit_resp, endpoint_name="commit") File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 468, in hf_raise_for_status raise _format(HfHubHTTPError, message, response) from e huggingface_hub.errors.HfHubHTTPError: (Request ID: Root=1-6797abeb-00e76afd55aae49376750581;3e4c25ba-5bca-40a4-a707-52b10a7f08c0)

403 Forbidden: Forbidden: pass create_pr=1 as a query parameter to create a Pull Request. Cannot access content at: https://huggingface.co/api/datasets/huggingface-projects/drlc-leaderboard-data/commit/main. Make sure your token has the correct permissions.

charming888 avatar Feb 05 '25 01:02 charming888