Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 Bug]: Execute hugo server found error building site. #1591

Closed
geekmister opened this issue Feb 26, 2024 · 2 comments
Closed

[🐛 Bug]: Execute hugo server found error building site. #1591

geekmister opened this issue Feb 26, 2024 · 2 comments
Labels
bug Something isn't working needs-triaging

Comments

@geekmister
Copy link
Contributor

What happened?

Execute hugo server found error building site.

  1. Fork seleniumhq.github.io
  2. git clone myself/seleniumhq.github.io to local
  3. cd website_and_docs
  4. hugo and go is installed, then execute hugo server
  5. Found error building site

The logs:

geekmisterdeMacBook-Pro:website_and_docs geekmister$ hugo server --ignoreCache
WARN  deprecated: config: languages.other.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.other.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  deprecated: config: languages.en.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  deprecated: config: languages.pt-br.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.pt-br.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  deprecated: config: languages.zh-cn.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.zh-cn.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  deprecated: config: languages.ja.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in a future release. Put the value below [languages.ja.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Watching for changes in /Users/geekmister/Desktop/Workspace/Repositories/Geekmister/seleniumhq.github.io/seleniumhq.github.io.git/website_and_docs/{assets,content,data,layouts,package.json,static}
Watching for config changes in /Users/geekmister/Desktop/Workspace/Repositories/Geekmister/seleniumhq.github.io/seleniumhq.github.io.git/website_and_docs/hugo.toml, /Users/geekmister/Desktop/Workspace/Repositories/Geekmister/seleniumhq.github.io/seleniumhq.github.io.git/website_and_docs/go.mod
Start building sites … 
hugo v0.123.3-a75a659f6fc0cb3a52b2b2ba666a81f79a459376+extended darwin/arm64 BuildDate=2024-02-23T17:09:20Z VendorInfo=brew

Built in 6584 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/Users/geekmister/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.8.0/layouts/docs/single.html:2:3": execute of template failed: template: docs/single.html:2:3: executing "main" at <.Render>: error calling Render: failed to execute template _default/content.html: "/Users/geekmister/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.8.0/layouts/_default/content.html:10:4": execute of template failed: template: _default/content.html:10:4: executing "_default/content.html" at <.Content>: error calling Content: "/Users/geekmister/Desktop/Workspace/Repositories/Geekmister/seleniumhq.github.io/seleniumhq.github.io.git/website_and_docs/content/documentation/selenium_manager.en.md:1:1": execute of template failed: template: _default/_markup/render-link.html:1:14: executing "_default/_markup/render-link.html" at <urls.Parse>: error calling Parse: parse "(https://github.com/SeleniumHQ/selenium/actions/workflows/ci-rust.yml)": first path segment in URL cannot contain colon

What browsers and operating systems are you seeing the problem on?

  • MacOS Sonoma 14.2.1
  • hugo version: hugo v0.123.3-a75a659f6fc0cb3a52b2b2ba666a81f79a459376+extended darwin/arm64 BuildDate=2024-02-23T17:09:20Z VendorInfo=brew
  • go version: go version go1.22.0 darwin/arm64
@geekmister geekmister added bug Something isn't working needs-triaging labels Feb 26, 2024
Copy link
Contributor

@geekmister, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol
Copy link
Member

diemol commented Feb 26, 2024

You need to use Hugo 110. You can send us a PR to bump the Hugo version if you wish.
https://github.com/SeleniumHQ/seleniumhq.github.io?tab=readme-ov-file#quick-start

@diemol diemol closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triaging
Projects
None yet
Development

No branches or pull requests

2 participants