Closed TFWol closed 6 years ago
Thanks for reporting this issue @thefinalwolf. Fortunately, I haven't faced this issue yet. If this issue persists next time could you please supply me with some more information i.e course URL, OS, python version you're using etc.
Cheers.
No prob.
Python version: 2.7.10
OS: Win 7
Here are some effected courses (will keep adding to the list as I come across them): URLs:
Note: This one errored at folder
02.
Errors look similar to below (fortunately the files do exist in the directory):
Moving files inside: 00. Introduction
Moving files inside: 01. 3D Printer Settings
Moving files inside: 02. Slicer and Host Programs
File not found: 05 - Slicers and hosts
New.mp4
File not found: 06 - Slic3r
New.mp4
Update: It looks like below is the issue: https://github.com/ankitsejwal/Lyndor/blob/b0f1524aadef06e6d0f0d13d09c485a1cca4b890/move.py#L54
Sometimes the text
value ends up getting something weird like
'05 - Slicers and hosts\n New.mp4'
This causes the video to not be found since it doesn't match what it's looking for.
I'm not sure where the New
is coming from...
Figured out a solution, will do a pull request.
Occasionally, seemingly random files fail to get moved into the folders that start with a number Not sure why, but haven't looked into it yet; lack of time.