[Solved] Small problem with Hugo 0.17 under Windows

Hi

I’ve got a small problem with Hugo 0.17 under Windows.

First off, in the downloaded zip file (both the 32 bit and the 64 bit version), there is no file called “hugo.exe” (as the documentation suggests: http://gohugo.io/tutorials/installing-on-windows/). Instead, there is hugo_0.17_windows_amd64.exe and hugo_0.17_windows_386.exe.

I’m using the 64 bit version and renamed the exe file to hugo.exe.

Then, when I run hugo server (in exactly the same way that I ran Hugo 0.16), I get the following error message:

Started building sites ...
panic: Node with ID "taxlist--0" in use

goroutine 1 [running]:
panic(0xa19840, 0xc044288cc0)
        /usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:500 +0x1af
github.com/spf13/hugo/hugolib.(*Site).getOrAddNode(0xc04207e000, 0xc044288ca0, 0xa, 0x1, 0x2)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:2228 +0x79e
github.com/spf13/hugo/hugolib.(*Site).nodeLookup(0xc04207e000, 0xc044288ba8, 0x8, 0x0, 0x1, 0xc044288ba8)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:2264 +0x165
github.com/spf13/hugo/hugolib.(*Site).renderListsOfTaxonomyTerms(0xc04207e000, 0x1, 0x0, 0x0)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1882 +0x1ca
github.com/spf13/hugo/hugolib.(*HugoSites).preRender(0xc042304300, 0x101, 0x0, 0x101, 0x0, 0x1b)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/hugo_sites.go:419 +0xd1
github.com/spf13/hugo/hugolib.(*HugoSites).Build(0xc042304300, 0x101, 0x0, 0x1b, 0x0)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/hugo_sites.go:225 +0x205
github.com/spf13/hugo/commands.buildSites(0x1, 0x0, 0xa)
        /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:666 +0xf7
github.com/spf13/hugo/commands.build(0xc04202da9e, 0x1, 0x1, 0xc0422b8940, 0xc0422b8940)
        /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:467 +0xa0
github.com/spf13/hugo/commands.server(0xe48d20, 0xe6c898, 0x0, 0x0, 0x0, 0x0)
        /Users/spf13/gopath/src/github.com/spf13/hugo/commands/server.go:164 +0x4e6
github.com/spf13/hugo/vendor/github.com/spf13/cobra.(*Command).execute(0xe48d20, 0xe6c898, 0x0, 0x0, 0xe48d20, 0xe6c898)
        /Users/spf13/gopath/src/github.com/spf13/hugo/vendor/github.com/spf13/cobra/command.go:599 +0x23b
github.com/spf13/hugo/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xe475c0, 0xb63300, 0x40e514, 0xe503d0)
        /Users/spf13/gopath/src/github.com/spf13/hugo/vendor/github.com/spf13/cobra/command.go:689 +0x36e
github.com/spf13/hugo/commands.Execute()
        /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:174 +0x74
main.main()
        /Users/spf13/gopath/src/github.com/spf13/hugo/main.go:26 +0x39

With this message, the local server doesn’t run. Flip back to hugo.exe 0.16 and everything runs without a hitch.

Is this me? Is this Hugo? Anyone got any thoughts?

Many thanks

Simon

I’ve the same issue; I’ve reported it here: Hugo 0.17 requires taxonomy definition #2534.

In that Github issue, Bep provided the following solution:

What you can try is to just use some dummy, but unique names for the taxonomies:

[taxonomies]
  category = "n1" 
  tag = "n2"

With that solution, I didn’t have the same issue anymore so worth a try, I think.

1 Like

Thank you, Jura. That fixes my problems.

And thank you to everyone involved in 0.17 for all your work. It really is very much appreciated.