kylon / Sharedown

Electron application to download Sharepoint videos (especially meant for students)
GNU General Public License v3.0
376 stars 41 forks source link

Nearly always fail downloads #19

Closed RaynorXYZ closed 2 years ago

RaynorXYZ commented 2 years ago

Like 95% of the times it fails to download videos on sharepoint, 2 things may happen:

This is the stacktrace of the second one:

...
[download]  99.9% of ~106.57MiB at  7.88KiB/s ETA 00:00 (frag 835/836)

ERROR: unable to download video data: [Errno 2] No such file or directory: 'C:\\Sharedown\\sharedownTmp\\Vid.fvcopy.mp4-Frag836'
...
File "C:\Users\Raynor\AppData\Local\Programs\Python\Python39\lib\site-packages\yt_dlp\utils.py", line 2094, in sanitize_open
    stream = open(encodeFilename(filename), open_mode)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Sharedown\\sharedownTmp\\Vid.fvcopy.mp4-Frag836'

This is the output of yt-dlp -v:

[debug] Command-line config: ['-v']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.01 [91f071af6]
[debug] Python version 3.9.7 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg 4.2.3
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
kylon commented 2 years ago

still valid? latest yt-dlp should fix this random fails