Udemy-dl: Protocol error

Created on 11 Dec 2017  路  7Comments  路  Source: r0oth3x49/udemy-dl

Hello, Im having this problem can you help me?

Traceback (most recent call last):
  File "udemy-dl.py", line 898, in <module>
    main()
  File "udemy-dl.py", line 688, in main
    udemy.ExtractAndDownload()
  File "udemy-dl.py", line 396, in ExtractAndDownload
    out = self.Downloader(_url, lecture_name, chapter_path)
  File "udemy-dl.py", line 88, in Downloader
    out = course_dl.download(url, title, filepath=path, quiet=True, callback=self.Download)
  File "/$USER/udemy-dl/udemy/_downloader.py", line 90, in download
    outfh = open(temp_filepath, fmode)
IOError: [Errno 71] Protocol error: '/$USER/udemy-dl/vuejs-from-beginner-to-professional/02 Fundamentals of Vue.js/010 Exercises: String interpolation, methods and directives.mp4.part'

I'm using this:

python udemy-dl.py https://www.udemy.com/vuejs-from-beginner-to-professional/

All 7 comments

@abr4xas thanks for the report. will have a look & fix ASAP.
Update
@abr4xas are you using virtualenv to download courses? facing this error in this particular course or in any course?

@r0oth3x49 nop, i'm using Ubuntu 16.04.3 LTS. With any course.

@abr4xas thanks for explanation & using this script i will test this script on Ubuntu 16.04.3 LTS against some free courses will add a fix ASAP.

@abr4xas i have downloaded Ubuntu 16.04.3 LTS 64-bit and tested against a free course in my account it worked for me i cannot reproduce the error. have a look below.
picture

It is strange, I had tried with 3 different courses and always the same error...

@abr4xas it took two days to download the latest available ubuntu-16.04.3-desktop-amd64. did you installed all the requirements? try installing requests[security] or try to download using virtualenv.
or try with python3 may be it works for you. and one more solution try to give all permissions to all files and folders in udemy-dl

@abr4xas one of my friend face the same problem. but according to him that was a human error, & i have shown you the image above tested on latest ubuntu on VMware which works fine so i 'm closing this error and will w8 for more similar reports.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EnoqueEsteves picture EnoqueEsteves  路  7Comments

badjano picture badjano  路  6Comments

SwapnilSoni1999 picture SwapnilSoni1999  路  7Comments

mynameismaxz picture mynameismaxz  路  6Comments

sagarsamrat3956 picture sagarsamrat3956  路  7Comments