Problem when updating from 0.31 to 0.32 and newer (panic: proc not found)

Hi,

I was not looking into my blog for some time and today I found that it’s not building any more with Hugo 0.32+. It was working fine with 0.31.
Blog source: https://github.com/matrixik/dobek.pro

I’m getting following panic: proc not found.
Tracked it to this line

But it’s not giving me much info what is wrong.

Full errors from Hugo 0.32 and 0.33:

5:07:07 PM: Installing Hugo 0.32
5:07:10 PM: hugo version
5:07:10 PM: Hugo Static Site Generator v0.32 linux/amd64 BuildDate: 2017-12-31T16:07:10Z
5:07:10 PM: hugo -v --config config-minimo.toml --i18n-warnings
5:07:10 PM: INFO 2017/12/31 16:07:10 Using config file: config-minimo.toml
Building sites …
5:07:10 PM: INFO 2017/12/31 16:07:10 syncing static files to /opt/build/repo/public/
5:07:10 PM: panic: proc not found

goroutine 19 [running]:
github.com/gohugoio/hugo/hugolib.(*contentCaptureResultHandler).handleSingles(0xc42000cd40, 0xc42000cd58, 0x1, 0x1)
	/go/src/github.com/gohugoio/hugo/hugolib/site.go:1203 +0xef
github.com/gohugoio/hugo/hugolib.(*capturer).copyOrHandleSingle(0xc4203d9c80, 0xc420691e30)
	/go/src/github.com/gohugoio/hugo/hugolib/page_bundler_capture.go:393 +0x93
github.com/gohugoio/hugo/hugolib.(*capturer).handleDir(0xc4203d9c80, 0xc4204c5280, 0x1c, 0xc4205e8418, 0xc0f569)
	/go/src/github.com/gohugoio/hugo/hugolib/page_bundler_capture.go:343 +0x61c
github.com/gohugoio/hugo/hugolib.(*capturer).handleNestedDir.func1(0x0, 0x0)
	/go/src/github.com/gohugoio/hugo/hugolib/page_bundler_capture.go:182 +0x91
github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc42068f180, 0xc420401b60)
	/go/src/github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup.(*Group).Go
	/go/src/github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
5:07:10 PM: make: *** [all] Error 2
5:07:11 PM: Build complete: exit code: 2
hugo version
Hugo Static Site Generator v0.33 linux/amd64 BuildDate: 
hugo -v --config config-minimo.toml
INFO 2018/01/19 07:08:43 Using config file: config-minimo.toml
Building sites … INFO 2018/01/19 07:08:43 syncing static files to /home/zybortd/tmp/dobek.pro/public/
panic: proc not found

goroutine 10 [running]:
github.com/gohugoio/hugo/hugolib.(*contentCaptureResultHandler).handleSingles(0xc4204eb208, 0xc4204eb218, 0x1, 0x1)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/hugolib/site.go:1224 +0xef
github.com/gohugoio/hugo/hugolib.(*capturer).handleNonBundle(0xc420472b00, 0xc420650870, 0x23, 0xc42050ef00, 0x4, 0x5, 0x1, 0x0, 0x411f97)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/hugolib/page_bundler_capture.go:381 +0x1a9
github.com/gohugoio/hugo/hugolib.(*capturer).handleDir(0xc420472b00, 0xc420650870, 0x23, 0xdb77a0, 0xc4205bbcb0)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/hugolib/page_bundler_capture.go:309 +0x7f4
github.com/gohugoio/hugo/hugolib.(*capturer).capture(0xc420472b00, 0xc42054d5e0, 0x1f258c0)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/hugolib/page_bundler_capture.go:165 +0x52
github.com/gohugoio/hugo/hugolib.(*Site).readAndProcessContent(0xc4204a8d80, 0x0, 0x0, 0x0, 0xc4204e5ce0, 0x7f4a0fd46928)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/hugolib/site.go:1286 +0x438
github.com/gohugoio/hugo/hugolib.(*Site).process(0xc4204a8d80, 0x0, 0xc4202dd7e8, 0x0, 0xc4204ea1c8, 0xc420065e48)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/hugolib/site.go:889 +0xdc
github.com/gohugoio/hugo/hugolib.(*HugoSites).process(0xc4204ef600, 0xc4204e5ce0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:146 +0x12f
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build(0xc4204ef600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:53 +0x108
github.com/gohugoio/hugo/commands.(*commandeer).buildSites(0xc4204cf810, 0x42af89, 0xc400000008)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/commands/hugo.go:969 +0x95
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3(0x8, 0xf1a1e8)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/commands/hugo.go:574 +0x2e
github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1(0xc4204ef480, 0xc4204a75c0)
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup/errgroup.go:58 +0x57
created by github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup.(*Group).Go
	/build/hugo/parts/hugo/go/src/github.com/gohugoio/hugo/vendor/golang.org/x/sync/errgroup/errgroup.go:55 +0x66
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2

Any help with finding what’s wrong appreciated (and maybe updating this panic message with more useful error string would be great).

Oh, great, thank you for so fast fix.