HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.36k stars 2.9k forks source link

Academic build Error #3002

Closed merrydance closed 1 year ago

merrydance commented 1 year ago

Preliminary Checks

Description

WARN Module "github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5" is n ot compatible with this Hugo version; run "hugo mod graph" for more information. Start building sites … hugo v0.120.1-16fb2cae88eb6add7d12e9fbfcf01d8670e60a35 linux/amd64 BuildDate=202 3-10-30T16:44:31Z VendorInfo=gohugoio

ERROR render of "page" failed: "/home/sam/.cache/hugo_cache/modules/filecache/mo dules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8. 2-0.20231019172801-b70eaa9c6bae/layouts/_default/single.html:5:5": execute of te mplate failed: template: _default/single.html:5:5: executing "main" at <partial "page_header" .>: error calling partial: "/home/sam/.cache/hugo_cache/modules/fi lecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchem y/v5@v5.8.2-0.20231019172801-b70eaa9c6bae/layouts/partials/page_header.html:61:6 0": execute of template failed: template: partials/page_header.html:61:60: execu ting "partials/page_header.html" at <$image.Process>: error calling Process: ima ge "/home/sam/wowchemy-hugo-themes/starters/academic/content/post/getting-starte d/featured.jpg": this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information ERROR render of "page" failed: "/home/sam/.cache/hugo_cache/modules/filecache/mo dules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8. 2-0.20231019172801-b70eaa9c6bae/layouts/_default/single.html:5:5": execute of te mplate failed: template: _default/single.html:5:5: executing "main" at <partial "page_header" .>: error calling partial: "/home/sam/.cache/hugo_cache/modules/fi lecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchem y/v5@v5.8.2-0.20231019172801-b70eaa9c6bae/layouts/partials/page_header.html:61:6 0": execute of template failed: template: partials/page_header.html:61:60: execu ting "partials/page_header.html" at <$image.Process>: error calling Process: ima ge "/home/sam/wowchemy-hugo-themes/starters/academic/content/post/jupyter/featur ed.png": this feature is not available in your current Hugo version, see https:/ /goo.gl/YMrWcn for more information ERROR render of "page" failed: "/home/sam/.cache/hugo_cache/modules/filecache/mo dules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8. 2-0.20231019172801-b70eaa9c6bae/layouts/_default/single.html:5:5": execute of te mplate failed: template: _default/single.html:5:5: executing "main" at <partial "page_header" .>: error calling partial: "/home/sam/.cache/hugo_cache/modules/fi lecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchem y/v5@v5.8.2-0.20231019172801-b70eaa9c6bae/layouts/partials/page_header.html:61:6 0": execute of template failed: template: partials/page_header.html:61:60: execu ting "partials/page_header.html" at <$image.Process>: error calling Process: ima ge "/home/sam/wowchemy-hugo-themes/starters/academic/content/post/writing-techni cal-content/featured.jpg": this feature is not available in your current Hugo ve rsion, see https://goo.gl/YMrWcn for more information ERROR render of "page" failed: "/home/sam/.cache/hugo_cache/modules/filecache/mo dules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8. 2-0.20231019172801-b70eaa9c6bae/layouts/project/single.html:33:13": execute of t emplate failed: template: project/single.html:33:13: executing "main" at <partia l "functions/render_view" (dict "page" $ "item" . "view" (site.Params.projects.p ublication_view | default "compact") "index" $index)>: error calling partial: "/ home/sam/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy /wowchemy-hugo-themes/modules/wowchemy/v5@v5.8.2-0.20231019172801-b70eaa9c6bae/l ayouts/partials/functions/render_view.html:33:11": execute of template failed: t emplate: partials/functions/render_view.html:33:11: executing "partials/function s/render_view.html" at <partial (printf "views/%!s(MISSING)" $view_file) (dict " page" $page "item" $item "index" $index)>: error calling partial: "/home/sam/.ca che/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hu go-themes/modules/wowchemy/v5@v5.8.2-0.20231019172801-b70eaa9c6bae/layouts/parti als/views/compact.html:80:66": execute of template failed: template: partials/vi ews/compact.html:80:66: executing "partials/views/compact.html" at <$image.Proce ss>: error calling Process: image "/home/sam/wowchemy-hugo-themes/starters/acade mic/content/publication/conference-paper/featured.jpg": this feature is not avai lable in your current Hugo version, see https://goo.gl/YMrWcn for more informati on Total in 612 ms Error: error building site: render: failed to render pages: render of "page" fai led: "/home/sam/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/w owchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8.2-0.20231019172801-b70eaa9 c6bae/layouts/event/single.html:5:5": execute of template failed: template: even t/single.html:5:5: executing "main" at <partial "page_header.html" .>: error cal ling partial: "/home/sam/.cache/hugo_cache/modules/filecache/modules/pkg/mod/git hub.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8.2-0.2023101917280 1-b70eaa9c6bae/layouts/partials/page_header.html:61:60": execute of template fai led: template: partials/page_header.html:61:60: executing "partials/page_header. html" at <$image.Process>: error calling Process: image "/home/sam/wowchemy-hugo -themes/starters/academic/content/event/example/featured.jpg": this feature is n ot available in your current Hugo version, see https://goo.gl/YMrWcn for more in formation

Reproduction Link

https://github.com/wowchemy/wowchemy-hugo-themes.git

Steps to Reproduce

  1. git clone https://github.com/wowchemy/wowchemy-hugo-themes.git
  2. cd wowchemy-hugo-themes/starters/academic
  3. hugo

Expected Result

I hope it can be worked.

Actual Result

I don't understand what happend

What Hugo Module versions does your site use?

module github.com/wowchemy/starter-hugo-academic

go 1.15

require ( github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.1-0.20231016002024-b343bdd4a0a3 github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal v0.0.0-20231016002024-b343bdd4a0a3 github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.8.2-0.20231019172801-b70eaa9c6bae )

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

Which Wowchemy template are you using?

Academic

What version of Hugo are you using?

Hugo Extended 0.120.1

gcushen commented 1 year ago

Try following the official tutorial rather than installing on your machine: https://university.wowchemy.com/tutorial/resume/

If you must install on your machine, then the actual error message is at the end of the text you posted:

error calling Process: image "/home/sam/wowchemy-hugo -themes/starters/academic/content/event/example/featured.jpg": this feature is n ot available in your current Hugo version, see https://goo.gl/YMrWcn for more in formation

So Hugo is asking you to update to a recent version of Hugo which has Hugo's Process function implemented in it. If you still experience issues with Hugo setup, the Hugo team will be happy to help here: https://discourse.gohugo.io/