openzim / youtube

Create a ZIM file from a Youtube channel/username/playlist
GNU General Public License v3.0
52 stars 29 forks source link

script empties the "build directory" even if zimwriterfs fails #21

Closed kelson42 closed 7 years ago

kelson42 commented 7 years ago

Something went wrong with zimwriterfs... but I can not discover what and I need to restart everything from the start.

Video directory build/CrashCourse/Galaxies-part-1-Crash-Course-Astronomy-38/ already exists. Skipping.
Video directory build/CrashCourse/Galaxies-part-2-Crash-Course-Astronomy-39/ already exists. Skipping.
Video directory build/CrashCourse/Gamma-Ray-Bursts-Crash-Course-Astronomy-40/ already exists. Skipping.
Video directory build/CrashCourse/Dark-Matter-Crash-Course-Astronomy-41/ already exists. Skipping.
Video directory build/CrashCourse/The-Big-Bang-Cosmology-part-1-Crash-Course-Astronomy-42/ already exists. Skipping.
Video directory build/CrashCourse/Dark-Energy-Cosmology-part-2-Crash-Course-Astronomy-43/ already exists. Skipping.
Video directory build/CrashCourse/A-Brief-History-of-the-Universe-Crash-Course-Astronomy-44/ already exists. Skipping.
Video directory build/CrashCourse/Deep-Time-Crash-Course-Astronomy-45/ already exists. Skipping.
Video directory build/CrashCourse/Everything-The-Universe-And-Life-Crash-Course-Astronomy-46/ already exists. Skipping.
Video directory build/CrashCourse/Explore-The-Solar-System-360-Degree-Interactive-Tour/ already exists. Skipping.
Creating ZIM files
    Writting ZIM for CrashCourse
zimwriterfs --welcome="index.html" --favicon="favicon.png" --language="eng" --title="CrashCourse" --description="CrashCourse videos" --creator="CrashCourse" --publisher="Kiwix" "build/CrashCourse/" "build/crashcourse_en_all_2017-05.zim"
Unable to create ZIM file :(
(venv) kelson@camber:/media/kelson/SOTOKI$ zimwriterfs --welcome="index.html" --favicon="favicon.png" --language="eng" --title="CrashCourse" --description="CrashCourse videos" --creator="CrashCourse" --publisher="Kiwix" "build/CrashCourse/" "build/crashcourse_en_all_2017-05.zim"
zimwriterfs: unable to find welcome page at 'build/CrashCourse/index.html'. --welcome path/value must be relative to HTML_DIRECTORY.
(venv) kelson@camber:/media/kelson/SOTOKI$ ls
build  venv  work
(venv) kelson@camber:/media/kelson/SOTOKI$ ls build/
(venv) kelson@camber:/media/kelson/SOTOKI$
dattaz commented 7 years ago

Done and release in pip