ofBook error: Mistake in createPDFBook.py script (Image1.jpg in wrong location)

I’m having trouble building ofBook. I’m using Ubuntu, but I also tried using Windows and no luck (in Windows I get no error and nothing happens when I run the PDF script).

This is my terminal output with the error at the bottom:

usr@usr:~$ cd Downloads/ofBook-master/scripts/
usr@usr:~/Downloads/ofBook-master/scripts$ python createPDFBook.py
Generating …/output/ofBook.pdf from:
…/chapters/foreword/chapter_modified_for_print.md
…/chapters/of_philosophy/chapter_modified_for_print.md
…/chapters/cplusplus_basics/chapter_modified_for_print.md
…/chapters/setup_and_project_structure/chapter_modified_for_print.md
…/chapters/intro_to_graphics/chapter_modified_for_print.md
…/chapters/OOPs!/chapter_modified_for_print.md
…/chapters/animation/chapter_modified_for_print.md
…/chapters/data_vis/chapter_modified_for_print.md
…/chapters/game_design/chapter_modified_for_print.md
…/chapters/image_processing_computer_vision/chapter_modified_for_print.md
…/chapters/hardware/chapter_modified_for_print.md
…/chapters/sound/chapter_modified_for_print.md
…/chapters/network/chapter_modified_for_print.md
…/chapters/advanced_graphics/chapter_modified_for_print.md
…/chapters/math/chapter_modified_for_print.md
…/chapters/memory/chapter_modified_for_print.md
…/chapters/threads/chapter_modified_for_print.md
…/chapters/ios/chapter_modified_for_print.md
…/chapters/c++11/chapter_modified_for_print.md
…/chapters/version_control_with_git/chapter_modified_for_print.md
…/chapters/ofSketch/chapter_modified_for_print.md
…/chapters/installation_up_4evr_macosx/chapter_modified_for_print.md
…/chapters/installation_up_4evr_linux/chapter_modified_for_print.md
…/chapters/project_elliot/chapter_modified_for_print.md
…/chapters/project_eva/chapter_modified_for_print.md
…/chapters/project_joel/chapter_modified_for_print.md
Using the following flags:
-N
–smart
–no-tex-ligatures
–toc
–toc-depth=4
–standalone
–preserve-tabs
–template=ofBookTemplate.tex
–latex-engine=xelatex
–variable=papersize:a4
–variable=documentclass:scrbook
–listings
–variable=links-as-notes
Successful building of …/output/ofBook.tex
pandoc: Could not find image `…/chapters/data_vis/https://github.com/openframeworks/ofBook/tree/master/chapters/data_vis/Image1.jpg’, skipping…
pandoc: Error producing PDF from TeX source.
! Unable to load picture or PDF file ‘…/chapters/data_vis/https://github.com/o
penframeworks/ofBook/tree/master/chapters/data_vis/Image1.jpg’.

}
l.5874 …ree/master/chapters/data_vis/Image1.jpg}

Error in building of …/output/ofBook.pdf
usr@usr:~/Downloads/ofBook-master/scripts$

Sorry – we’ve been optimizing for the web-book recently so I don’t what the PDF book status is and we should probably flag that it’s not actively supported at the moment (our main focus has been on the web script). Do you mind posting this issue on the repo ?