I tried "koch pdf", and after about 15 minutes there were still no PDFs created so I aborted it.
nimweb.nim(357, 10) Hint: 'dir' is declared but not used [XDeclaredButNotUsed]
nimweb.nim(377, 6) Hint: 'nimweb.genNewsLink(title: string)' is declared but not used [XDeclaredButNotUsed]
nimweb.nim(294, 6) Hint: 'nimweb.pathPart(d: string)' is declared but not used [XDeclaredButNotUsed]
Hint: [Link]
Hint: operation successful (29816 lines compiled; 0.904 sec total; 35.035MiB peekmem; Debug Build) [SuccessX]
Hint: C:\Users\CSL-NB-064\Downloads\Software\Nim\nim-git\tools\nimweb.exe --pdf web/website.ini --putenv:nimversion=0.16.1 [Exec]
pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX)
kpathsea version 6.2.0
Copyright 2014 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.10; using libpng 1.6.10
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.03
bin\nim.exe rst2tex --hint[Conf]:off --hint[Path]:off --hint[Processing]:off --putenv:nimversion=0.16.1 doc\manual.rst
pdflatex doc\manual.tex
As you can see, I have TexLive 2014 installed. Anyone on Windows experiencing the same issue? I already have AV & Windows Defender disabled, BTW.
Latest update: koch pdf still doesn't work
nimweb.nim(361, 10) Hint: 'dir' is declared but not used [XDeclaredButNotUsed]
nimweb.nim(381, 6) Hint: 'nimweb.genNewsLink(title: string)' is declared but not used [XDeclaredButNotUsed]
nimweb.nim(297, 6) Hint: 'nimweb.pathPart(d: string)' is declared but not used [XDeclaredButNotUsed]
CC: compiler_nimweb
CC: stdlib_algorithm
Hint: [Link]
Hint: operation successful (29847 lines compiled; 3.827 sec total; 33.004MiB; Debug Build) [SuccessX]
Hint: c:\users\csl-nb-064\downloads\software\nim\nim-git\tools\nimweb.exe --pdf web/website.ini --putenv:nimversion=0.16.1 [Exec]
pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX)
kpathsea version 6.2.0
Copyright 2014 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.10; using libpng 1.6.10
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.03
bin\nim.exe rst2tex --hint[Conf]:off --hint[Path]:off --hint[Processing]:off --putenv:nimversion=0.16.1 doc\manual.rst
pdflatex -interaction=nonstopmode doc\manual.tex
external program failed
Error: execution of an external program failed: 'c:\users\csl-nb-064\downloads\software\nim\nim-git\tools\nimweb.exe --pdf web/website.ini --putenv:nimversion=0.16.1'
FAILURE
pdflatex doc\manual.tex works fine, though.
It is unfortunate that the command, called directly, does not reproduce the error. I made another PR which will show the failed command's output when doing ./koch pdf so we can see what's happening.
pdflatex can use quite some memory, and I've seen it fail due to memory restrictions. I cannot think of a reason why it should have restricted memory in this context, but I don't really know about Windows internals.