Error render of Page failed #59
Replies: 5 comments 4 replies
-
Hi, thanks for getting interested in our themes, from the logs you posted above, you're using a older Hugo version which unsupported by some modules, upgrade Hugo version should work, I'd recommend using latest version of Hugo, at least
|
Beta Was this translation helpful? Give feedback.
-
Both go and hugo updated to the latest issue is same on windows and linux. Only thing works is all three modules which are giving warning are set to earlier versions. |
Beta Was this translation helpful? Give feedback.
-
On Ubuntu it is working with latest update, both go and hugo must be updated. But on windows the error is following:
hugo: downloading modules … ERROR render of "page" failed: "C:\Users\books\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\hbstack\hb@v0.7.1\layouts_default\baseof.html:4:8": execute of template failed: template: _default/landing.html:4:8: executing "_default/landing.html" at <partial "hugopress/head-begin" .>: error calling partial: "C:\Users\books\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\hugomods\hugopress@v0.2.1\layouts\partials\hugopress\head-begin.html:1:4": execute of template failed: template: partials/hugopress/head-begin.html:1:4: executing "partials/hugopress/head-begin.html" at <partial "hugopress/functions/render-hooks" (dict "Name" "head-begin" "Page" .)>: error calling partial: "C:\Users\books\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\hugomods\hugopress@v0.2.1\layouts\partials\hugopress\functions\render-hooks.html:20:8": execute of template failed: template: partials/hugopress/functions/render-hooks.html:20:8: executing "partials/hugopress/functions/render-hooks.html" at <partial .partial $ctx>: error calling partial: "C:\Users\books\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\hugomods\seo\modules\open-graph@v0.1.0\layouts\partials\hugopress\modules\seo-open-graph\hooks\head-begin.html:1:4": execute of template failed: template: partials/hugopress/modules/seo-open-graph/hooks/head-begin.html:1:4: executing "partials/hugopress/modules/seo-open-graph/hooks/head-begin.html" at <partial "seo/modules/open-graph/index" .Page>: error calling partial: execute of template failed: template: _internal/opengraph.html:6:15: executing "_internal/opengraph.html" at <partial "_funcs/get-page-images" .>: error calling partial: execute of template failed: template: partials/_funcs/get-page-images.html:18:21: executing "partials/_funcs/get-page-images.html" at <first 1 .>: error calling first: can't iterate over maps.Params |
Beta Was this translation helpful? Give feedback.
-
Thanks, I installed 0.126.1 extended on Windows, and it is working. With older down loads the trick hugo mod get -u worked thanks |
Beta Was this translation helpful? Give feedback.
-
It is working on both Windows and Ubuntu |
Beta Was this translation helpful? Give feedback.
-
I followed the instructions, but the npm run dev or hugo server does not work. I am using Go version 1.22.2 and Hugo extended v0.119. I am getting following errors:
npm run dev bash 17:30:41
hugo: downloading modules …
go: downloading github.com/hugomods/ascii v0.1.0
go: added github.com/hugomods/ascii v0.1.0
hugo: collected modules in 56286 ms
WARN Module "github.com/hbstack/gallery" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN Module "github.com/hugomods/images" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN Module "github.com/hugomods/search" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Watching for changes in /home/sayyed/data-drive/hugo/learnx/{archetypes,assets,content,layouts,package.json}
Watching for config changes in /home/sayyed/data-drive/hugo/learnx/config/_default, /home/sayyed/data-drive/hugo/learnx/config/development, /home/sayyed/data-drive/hugo/learnx/go.mod
Start building sites …
hugo v0.119.0-b84644c008e0dc2c4b67bd69cccf87a41a03937e+extended linux/amd64 BuildDate=2023-09-24T15:20:17Z VendorInfo=brew
WARN [icons] simple-icons's twitter doesn't exist.
ERROR render of "page" failed: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hbstack/hb@v0.12.2/layouts/_default/baseof.html:20:8": execute of template failed: template: docs/single.html:20:8: executing "docs/single.html" at <partial "hugopress/body-end" .>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/hugopress@v0.2.3/layouts/partials/hugopress/body-end.html:1:4": execute of template failed: template: partials/hugopress/body-end.html:1:4: executing "partials/hugopress/body-end.html" at <partial "hugopress/functions/render-hooks" (dict "Name" "body-end" "Page" .)>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/hugopress@v0.2.3/layouts/partials/hugopress/functions/render-hooks.html:20:8": execute of template failed: template: partials/hugopress/functions/render-hooks.html:20:8: executing "partials/hugopress/functions/render-hooks.html" at <partial .partial $ctx>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hbstack/search@v0.2.1/layouts/partials/hugopress/modules/hb-search/hooks/body-end.html:2:5": execute of template failed: template: partials/hugopress/modules/hb-search/hooks/body-end.html:2:5: executing "partials/hugopress/modules/hb-search/hooks/body-end.html" at <partial "search/assets/js" .Page>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/search@v0.13.4/layouts/partials/search/assets/js.html:1:11": execute of template failed: template: partials/search/assets/js.html:1:11: executing "partials/search/assets/js.html" at <partialCached "search/assets/js-resource" .>: error calling partialCached: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/search@v0.13.4/layouts/partials/search/assets/js-resource.html:84:44": execute of template failed: template: partials/search/assets/js-resource.html:84:44: executing "partials/search/assets/js-resource.html" at : can't evaluate field IsMultihost in type interface {}
ERROR render of "page" failed: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hbstack/hb@v0.12.2/layouts/_default/baseof.html:20:8": execute of template failed: template: _default/landing.html:20:8: executing "_default/landing.html" at <partial "hugopress/body-end" .>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/hugopress@v0.2.3/layouts/partials/hugopress/body-end.html:1:4": execute of template failed: template: partials/hugopress/body-end.html:1:4: executing "partials/hugopress/body-end.html" at <partial "hugopress/functions/render-hooks" (dict "Name" "body-end" "Page" .)>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/hugopress@v0.2.3/layouts/partials/hugopress/functions/render-hooks.html:20:8": execute of template failed: template: partials/hugopress/functions/render-hooks.html:20:8: executing "partials/hugopress/functions/render-hooks.html" at <partial .partial $ctx>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hbstack/search@v0.2.1/layouts/partials/hugopress/modules/hb-search/hooks/body-end.html:2:5": execute of template failed: template: partials/hugopress/modules/hb-search/hooks/body-end.html:2:5: executing "partials/hugopress/modules/hb-search/hooks/body-end.html" at <partial "search/assets/js" .Page>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/search@v0.13.4/layouts/partials/search/assets/js.html:1:11": execute of template failed: template: partials/search/assets/js.html:1:11: executing "partials/search/assets/js.html" at <partialCached "search/assets/js-resource" .>: error calling partialCached: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/search@v0.13.4/layouts/partials/search/assets/js-resource.html:84:44": execute of template failed: template: partials/search/assets/js-resource.html:84:44: executing "partials/search/assets/js-resource.html" at : can't evaluate field IsMultihost in type interface {}
Built in 123729 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hbstack/hb@v0.12.2/layouts/_default/baseof.html:20:8": execute of template failed: template: docs/single.html:20:8: executing "docs/single.html" at <partial "hugopress/body-end" .>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/hugopress@v0.2.3/layouts/partials/hugopress/body-end.html:1:4": execute of template failed: template: partials/hugopress/body-end.html:1:4: executing "partials/hugopress/body-end.html" at <partial "hugopress/functions/render-hooks" (dict "Name" "body-end" "Page" .)>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/hugopress@v0.2.3/layouts/partials/hugopress/functions/render-hooks.html:20:8": execute of template failed: template: partials/hugopress/functions/render-hooks.html:20:8: executing "partials/hugopress/functions/render-hooks.html" at <partial .partial $ctx>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hbstack/search@v0.2.1/layouts/partials/hugopress/modules/hb-search/hooks/body-end.html:2:5": execute of template failed: template: partials/hugopress/modules/hb-search/hooks/body-end.html:2:5: executing "partials/hugopress/modules/hb-search/hooks/body-end.html" at <partial "search/assets/js" .Page>: error calling partial: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/search@v0.13.4/layouts/partials/search/assets/js.html:1:11": execute of template failed: template: partials/search/assets/js.html:1:11: executing "partials/search/assets/js.html" at <partialCached "search/assets/js-resource" .>: error calling partialCached: "/home/sayyed/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugomods/search@v0.13.4/layouts/partials/search/assets/js-resource.html:84:44": execute of template failed: template: partials/search/assets/js-resource.html:84:44: executing "partials/search/assets/js-resource.html" at : can't evaluate field IsMultihost in type interface {}
Beta Was this translation helpful? Give feedback.
All reactions