Open royarjun0440 opened 4 years ago
I get the same error. I'm on Linux Mint OS. The rest is the same.
ps. Some 3-4 months ago eds-dl was working normally.
upgrade to the latest version of edx-dl 0.1.13 . it might be a first move to test out
upgrade to the latest version of edx-dl 0.1.13 . it might be a first move to test out
But still getting error on edx, " urllib.error.HTTPError: HTTP Error 405: Method Not Allowed "
Please help.
Any update on this?
I'm running it on docker, and with precompiled image its still resulting in the same error.
Same issue here with the pre-built docker image (edx-dl version 0.1.10 with python 3.4).
Building a new image from source with a newer python, e.g 3.9 (edx-dl version 0.1.13) gives urllib.error.HTTPError: HTTP Error 403: Forbidden
same here guys and please if someone find anything please let us know
Same here
🚨Please review the Troubleshooting section before reporting any issue. Don't forget also to check the current issues to avoid duplicates.
HTTP Error 405: Method Not Allowed When running through Docker
Your environment
Steps to reproduce
https://courses.edx.org/courses/course-v1:GTx+HCIxI+2T2019/course/
Expected behaviour
Download of course should start.
Actual behaviour
I'm on a Macbook that was having issues when I tried to do the recommended method using pip. I installed Docker and used the code snippet given:
docker run --rm -it \
Which gives the following:
edx_dl version 0.1.10 Building initial headers for future requests. Getting initial CSRF token. Traceback (most recent call last): File "/usr/local/bin/edx-dl", line 11, in
load_entry_point('edx-dl==0.1.10', 'console_scripts', 'edx-dl')()
File "/usr/local/lib/python3.4/site-packages/edx_dl-0.1.10-py3.4.egg/edx_dl/edx_dl.py", line 1000, in main
File "/usr/local/lib/python3.4/site-packages/edx_dl-0.1.10-py3.4.egg/edx_dl/edx_dl.py", line 425, in edx_get_headers
File "/usr/local/lib/python3.4/site-packages/edx_dl-0.1.10-py3.4.egg/edx_dl/edx_dl.py", line 167, in _get_initial_token
File "/usr/local/lib/python3.4/urllib/request.py", line 470, in open
response = meth(req, response)
File "/usr/local/lib/python3.4/urllib/request.py", line 580, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python3.4/urllib/request.py", line 508, in error
return self._call_chain(args)
File "/usr/local/lib/python3.4/urllib/request.py", line 442, in _call_chain
result = func(args)
File "/usr/local/lib/python3.4/urllib/request.py", line 588, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 405: Method Not Allowed