Hello,
I am frequently seeing the following fatal error when building my site. I’m unfortunately not even sure how to parse through the error in order to debug. Can anyone offer direction?
hugo_error.txt
Start building sites …
hugo v0.84.4+extended darwin/amd64 BuildDate=unknown
.File.ContentBaseName on zero object. Wrap it in if or with: {{ with .File }}{{ .ContentBaseName }}{{ end }}
WARN 2021/08/18 18:51:44 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2021/08/18 18:51:44 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
fatal error: concurrent map writes
goroutine 491 [running]:
runtime.throw(0x5b4dd5e, 0x15)
runtime/panic.go:1117 +0x72 fp=0xc007a56578 sp=0xc007a56548 pc=0x403d072
This file has been truncated. show original
Thank you!
Can you reproduce the problem with the current version, v0.87.0 ?
While I haven’t tested v0.87.0 yet, this has been a consistent issue for me on this specific site since v0.75.1.
Hello,
I upgraded to 0.75.1/extended from 0.72.x/extended several weeks ago, and have observed an uptick in errors. Unfortunately, they are errors that I’m not really able to decipher. Mysteriously, they will often simply disappear after restarting multiple times. Here’s an example https://gist.github.com/AlanBreck/c1cb0cdf593fd439bc59b47c9d2c1350
Typically, this only happens when running a dev server and watching for changes:
$ hugo -e localDev server -D -v -w -p 1313
Has anyone else encoun…
In the topic that you referenced , @bep mentioned that this golang issue might be the cause. That issue was addressed with go 1.17 which was released on 16 Aug 2021.
Please keep an eye on future Hugo releases, and re-test once go 1.17 has been included.
@jmooring , I updated to v0.87.0
, and build failures have dropped drastically .
bep
August 26, 2021, 2:52pm
7
We have had that patch in Hugo 0.81.0.