Closed onedrawingperday closed 5 years ago
Hello @achary
Your 3 commits from the 24th of October have broken your theme and the demo no longer generates on the Hugo Themes showcase.
Below is the ERROR log.
9:43:32 PM: ==== PROCESSING engimo ====== 9:43:32 PM: Building site for theme engimo using default content to ../themeSite/static/theme/engimo/ 9:43:32 PM: ERROR 2019/11/16 19:43:32 failed to load data: failed to load data: "/opt/build/repo/_script/hugoThemeSite/exampleSite2/data/config/widgets.toml:13:1": unmarshal failed: Near line 13 (last key parsed ''): Key 'breadcrumbs' has already been defined. 9:43:32 PM: ERROR 2019/11/16 19:43:32 failed to load data: failed to load data: "/opt/build/repo/_script/hugoThemeSite/exampleSite2/data/config/widgets.toml:13:1": unmarshal failed: Near line 13 (last key parsed ''): Key 'breadcrumbs' has already been defined. 9:43:32 PM: ERROR 2019/11/16 19:43:32 failed to load data: failed to load data: "/opt/build/repo/_script/hugoThemeSite/exampleSite2/data/config/widgets.toml:13:1": unmarshal failed: Near line 13 (last key parsed ''): Key 'breadcrumbs' has already been defined. 9:43:32 PM: ERROR 2019/11/16 19:43:32 failed to load data: failed to load data: "/opt/build/repo/_script/hugoThemeSite/exampleSite2/data/config/widgets.toml:13:1": unmarshal failed: Near line 13 (last key parsed ''): Key 'breadcrumbs' has already been defined. 9:43:32 PM: ERROR 2019/11/16 19:43:32 render of "taxonomyTerm" failed: "/opt/build/repo/engimo/layouts/_default/terms.html:4:19": execute of template failed: template: _default/terms.html:1:3: executing "_default/terms.html" at <partial "header" .>: error calling partial: "/opt/build/repo/engimo/layouts/partials/header.html:4:19": execute of template failed: template: partials/header.html:10:8: executing "partials/header.html" at <partial "sidebar/sidebar" .>: error calling partial: "/opt/build/repo/engimo/layouts/partials/sidebar/sidebar.html:4:19": execute of template failed: template: partials/sidebar/sidebar.html:10:6: executing "partials/sidebar/sidebar.html" at <partial "extras/widget_area" (dict "Widgets" $sidebarWidgets "Scope" .)>: error calling partial: "/opt/build/repo/engimo/layouts/partials/extras/widget_area.html:4:19": execute of template failed: template: partials/extras/widget_area.html:7:8: executing "partials/extras/widget_area.html" at <partial (print "widgets/" .) $.Scope>: error calling partial: "/opt/build/repo/engimo/layouts/partials/widgets/about.html:4:19": execute of template failed: template: partials/widgets/about.html:4:19: executing "partials/widgets/about.html" at <index $configData $lang>: error calling index: index of untyped nil 9:43:32 PM: ERROR 2019/11/16 19:43:32 render of "taxonomy" failed: "/opt/build/repo/engimo/layouts/_default/list.html:4:19": execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header" .>: error calling partial: "/opt/build/repo/engimo/layouts/partials/header.html:4:19": execute of template failed: template: partials/header.html:10:8: executing "partials/header.html" at <partial "sidebar/sidebar" .>: error calling partial: "/opt/build/repo/engimo/layouts/partials/sidebar/sidebar.html:4:19": execute of template failed: template: partials/sidebar/sidebar.html:10:6: executing "partials/sidebar/sidebar.html" at <partial "extras/widget_area" (dict "Widgets" $sidebarWidgets "Scope" .)>: error calling partial: "/opt/build/repo/engimo/layouts/partials/extras/widget_area.html:4:19": execute of template failed: template: partials/extras/widget_area.html:7:8: executing "partials/extras/widget_area.html" at <partial (print "widgets/" .) $.Scope>: error calling partial: "/opt/build/repo/engimo/layouts/partials/widgets/about.html:4:19": execute of template failed: template: partials/widgets/about.html:4:19: executing "partials/widgets/about.html" at <index $configData $lang>: error calling index: index of untyped nil 9:43:32 PM: ERROR 2019/11/16 19:43:32 render of "taxonomyTerm" failed: "/opt/build/repo/engimo/layouts/_default/terms.html:4:19": execute of template failed: template: _default/terms.html:1:3: executing "_default/terms.html" at <partial "header" .>: error calling partial: "/opt/build/repo/engimo/layouts/partials/header.html:4:19": execute of template failed: template: partials/header.html:10:8: executing "partials/header.html" at <partial "sidebar/sidebar" .>: error calling partial: "/opt/build/repo/engimo/layouts/partials/sidebar/sidebar.html:4:19": execute of template failed: template: partials/sidebar/sidebar.html:10:6: executing "partials/sidebar/sidebar.html" at <partial "extras/widget_area" (dict "Widgets" $sidebarWidgets "Scope" .)>: error calling partial: "/opt/build/repo/engimo/layouts/partials/extras/widget_area.html:4:19": execute of template failed: template: partials/extras/widget_area.html:7:8: executing "partials/extras/widget_area.html" at <partial (print "widgets/" .) $.Scope>: error calling partial: "/opt/build/repo/engimo/layouts/partials/widgets/about.html:4:19": execute of template failed: template: partials/widgets/about.html:4:19: executing "partials/widgets/about.html" at <index $configData $lang>: error calling index: index of untyped nil 9:43:32 PM: ERROR 2019/11/16 19:43:32 render of "section" failed: "/opt/build/repo/engimo/layouts/_default/list.html:4:19": execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header" .>: error calling partial: "/opt/build/repo/engimo/layouts/partials/header.html:4:19": execute of template failed: template: partials/header.html:10:8: executing "partials/header.html" at <partial "sidebar/sidebar" .>: error calling partial: "/opt/build/repo/engimo/layouts/partials/sidebar/sidebar.html:4:19": execute of template failed: template: partials/sidebar/sidebar.html:10:6: executing "partials/sidebar/sidebar.html" at <partial "extras/widget_area" (dict "Widgets" $sidebarWidgets "Scope" .)>: error calling partial: "/opt/build/repo/engimo/layouts/partials/extras/widget_area.html:4:19": execute of template failed: template: partials/extras/widget_area.html:7:8: executing "partials/extras/widget_area.html" at <partial (print "widgets/" .) $.Scope>: error calling partial: "/opt/build/repo/engimo/layouts/partials/widgets/about.html:4:19": execute of template failed: template: partials/widgets/about.html:4:19: executing "partials/widgets/about.html" at <index $configData $lang>: error calling index: index of untyped nil 9:43:32 PM: Error: Error building site: failed to load data: failed to load data: "/opt/build/repo/_script/hugoThemeSite/exampleSite2/data/config/widgets.toml:13:1": unmarshal failed: Near line 13 (last key parsed ''): Key 'breadcrumbs' has already been defined. 9:43:32 PM: FAILED to create exampleSite for engimo
You need to look into it.
Also note that if I execute git reset --hard HEAD~3 to undo the last 3 commits so that the HEAD is now at 16fdd55 Fixing support for mathjax
git reset --hard HEAD~3
HEAD is now at 16fdd55 Fixing support for mathjax
Then your theme's demo generates again.
Many thanks for flagging this up and doing investigation for it. I've found the issue and will fix it straight away.
Hello @achary
Your 3 commits from the 24th of October have broken your theme and the demo no longer generates on the Hugo Themes showcase.
Below is the ERROR log.
You need to look into it.
Also note that if I execute
git reset --hard HEAD~3
to undo the last 3 commits so that theHEAD is now at 16fdd55 Fixing support for mathjax
Then your theme's demo generates again.