edx-downloader icon indicating copy to clipboard operation
edx-downloader copied to clipboard

Something unexpected occured

Open mr-time-traveller opened this issue 3 years ago • 11 comments

after typing username and password and the course url https://courses.edx.org/courses/course-v1:NYIF+DPC.1x+3T2020/course/ "Something unexpected occurred. Please provide details....."

mr-time-traveller avatar Aug 01 '21 16:08 mr-time-traveller

Check the logs in the edx-error.log file located in C:\Users\USER_NAME

asuragan avatar Aug 02 '21 11:08 asuragan

Check the logs in the edx-error.log file located in C:\Users\USER_NAME

I have the same issue. The content of my edx-error.log:

Expecting value: line 2 column 1 (char 1)Expecting value: line 2 column 1 (char 1)

Environment: Ubuntu 20.04LTS. I have my credentials storred in ~/.edxauth.

jerzybrzoska avatar Aug 15 '21 12:08 jerzybrzoska

The same thing

dodanecroman avatar Sep 16 '21 09:09 dodanecroman

Same error here

Expecting value: line 2 column 1 (char 1)Expecting value: line 2 column 1 (char 1)Expecting value: line 2 column 1 (char 1)

ndcharles avatar Sep 20 '21 11:09 ndcharles

if res.json().get('success') is True: at l. 144 in lib.py does not work properly when it is a 403 response. Also getting a 403 response when using correct credentials indicates that there is another problem with the login procedure.

Guillaume-Duc-95 avatar Oct 02 '21 19:10 Guillaume-Duc-95

No progress here? 😐

Slothoncrack avatar Dec 22 '21 16:12 Slothoncrack

bump

Lecharge avatar Feb 20 '22 09:02 Lecharge

bump again

Amit0617 avatar Aug 14 '22 15:08 Amit0617

same problem

Mohmmde1 avatar Sep 28 '22 17:09 Mohmmde1

I am not sure exactly what is the problem, I think it it has something to do with the JSON configuration and package handling like the build folder, however, I created a new file, also i have filled the .edxauth file with my email and password, and copied this code which was in the main.py to it and run it.

from edxdownloader.utils import * if __name__ == '__main__': main()

then from the command line: python3.8 file.py. run the command while you are at the folder after you manually download it using git Screenshot 2022-09-29 at 2 06 53 AM

Mohmmde1 avatar Sep 28 '22 18:09 Mohmmde1

it's dead. code is old and would not work anymore I personally downloaded courses through edxdlr https://github.com/neuronalism/edxdlr

Amit0617 avatar Sep 29 '22 13:09 Amit0617