gohugoio / hugoThemes

A curated directory of Hugo themes
https://themes.gohugo.io/
MIT License
1.77k stars 244 forks source link

Broken Theme Demos #669

Closed onedrawingperday closed 5 years ago

onedrawingperday commented 5 years ago

Hopefully once #668 is addressed then whenever a theme demo breaks and remains broken for a while, then it will be removed from the Showcase without having to notify theme authors first, since it should be their obligation to maintain their theme and check whether it works with the latest Hugo.

But for now here is what is currently broken on the Themes Showcase (from the latest Netlify deploy log):

DocuApi @bep can you please look into the following log about your theme, whenever you can?

4:18:30 PM:  ==== PROCESSING  docuapi  ======
4:18:30 PM: docuapi is whitelisted
4:18:30 PM: Building site for theme docuapi using its own exampleSite to ../themeSite/static/theme/docuapi/
4:18:30 PM: Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: _default/list.html:8:7: executing "_default/list.html" at <partial "styles.html" .>: error calling partial: "/opt/build/repo/docuapi/layouts/partials/styles.html:3:26": execute of template failed: template: partials/styles.html:3:26: executing "partials/styles.html" at <resources.Get>: error calling Get: stat /opt/build/repo/docuapi/assets/scss/slate/screen.css.scss: no such file or directory
4:18:30 PM: FAILED to create exampleSite for docuapi

Avicenna Theme TODO: Notify the author Notified author at: https://github.com/hadisinaee/avicenna/issues/8 ✅ FIXED in https://github.com/hadisinaee/avicenna/commit/b14099207d1205cea1cf0de61ea52afe5e2dbd7a

4:17:21 PM:  ==== PROCESSING  avicenna  ======
4:17:21 PM: Building site for theme avicenna using default content to ../themeSite/static/theme/avicenna/
4:17:21 PM: Error: Error building site: failed to render pages: render of "home" failed: "/opt/build/repo/avicenna/layouts/index.html:5:42": execute of template failed: template: index.html:9:6: executing "index.html" at <partial "projects.html" .>: error calling partial: "/opt/build/repo/avicenna/layouts/partials/projects.html:5:42": execute of template failed: template: partials/projects.html:5:42: executing "partials/projects.html" at <.Site.Params.projects>: can't evaluate field Site in type []map[string]interface {}
4:17:21 PM: FAILED to create exampleSite for avicenna

Hugo Bingo TODO: Notify the author Author notified at: https://github.com/gundamew/hugo-bingo/issues/3 ✅ FIXED in https://github.com/gundamew/hugo-bingo/commit/7ff4322f40a24bbd690bb4cb2ee76a1708396303

4:18:09 PM:  ==== PROCESSING  hugo-bingo  ======
4:18:09 PM: Building site for theme hugo-bingo using default content to ../themeSite/static/theme/hugo-bingo/
4:18:10 PM: Error: Error building site: failed to render pages: render of "home" failed: "/opt/build/repo/hugo-bingo/layouts/index.html:13:27": execute of template failed: template: index.html:13:27: executing "main" at <partial $path (dict "class" "social-media-icon")>: error calling partial: partial "social-icons/%!s(<nil>).svg" not found
4:18:10 PM: FAILED to create exampleSite for hugo-bingo

Slick Theme TODO: Notify the author No need to notify author at this stage. See #673 ✅ FIXED

4:19:09 PM:  ==== PROCESSING  slick  ======
4:19:09 PM: ln: failed to create symbolic link '/opt/build/repo/_script/hugoThemeSite/exampleSite2/themes/repo': File exists
4:19:09 PM: Building site for theme slick using default content to ../themeSite/static/theme/slick/
4:19:10 PM: ERROR 2019/08/04 13:19:10 render of "taxonomyTerm" failed: "/opt/build/repo/slick/layouts/_default/terms.html:7:16": execute of template failed: template: _default/terms.html:7:16: executing "main" at <$.GetPage>: error calling GetPage: failed to resolve ref: page reference "/tags/markdown" is ambiguous
4:19:10 PM: ERROR 2019/08/04 13:19:10 render of "taxonomyTerm" failed: "/opt/build/repo/slick/layouts/_default/terms.html:7:16": execute of template failed: template: _default/terms.html:7:16: executing "main" at <$.GetPage>: error calling GetPage: failed to resolve ref: page reference "/categories/syntax" is ambiguous
4:19:10 PM: ERROR 2019/08/04 13:19:10 render of "taxonomyTerm" failed: "/opt/build/repo/slick/layouts/_default/terms.html:7:16": execute of template failed: template: _default/terms.html:7:16: executing "main" at <$.GetPage>: error calling GetPage: failed to resolve ref: page reference "/tags/markdown" is ambiguous
4:19:10 PM: Error: Error building site: failed to render pages: render of "taxonomyTerm" failed: "/opt/build/repo/slick/layouts/_default/terms.html:7:16": execute of template failed: template: _default/terms.html:7:16: executing "main" at <$.GetPage>: error calling GetPage: failed to resolve ref: page reference "/categories/syntax" is ambiguous
4:19:10 PM: FAILED to create exampleSite for slick
4:19:10 PM: rm: cannot remove '/opt/build/repo/_script/hugoThemeSite/exampleSite2/themes': Is a directory

Minimage TODO: Notify author No need to notify the author see: #670 ✅ FIXED

4:19:23 PM:  ==== PROCESSING  minimage  ======
4:19:23 PM: Building site for theme minimage using default content to ../themeSite/static/theme/minimage/
4:19:23 PM: ERROR 2019/08/04 13:19:23 MINIMAGE theme does not support Hugo version 0.55.6. Minimum version required is 0.56
4:19:23 PM: Error: Error building site: logged 1 error(s)
4:19:23 PM: FAILED to create exampleSite for minimage

DGraph Theme Notified authors at: https://github.com/dgraph-io/hugo-dgraph-theme/issues/10

4:19:33 PM:  ==== PROCESSING  hugo-dgraph-theme  ======
4:19:33 PM: Building site for theme hugo-dgraph-theme using default content to ../themeSite/static/theme/hugo-dgraph-theme/
4:19:33 PM: WARN 2019/08/04 13:19:33 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
4:19:33 PM: WARN 2019/08/04 13:19:33 Page's .URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url.
4:19:33 PM: ERROR 2019/08/04 13:19:33 render of "taxonomy" failed: execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header.html" .>: error calling partial: "/opt/build/repo/hugo-dgraph-theme/layouts/partials/header.html:86:54": execute of template failed: template: partials/header.html:86:54: executing "partials/header.html" at <readFile "static/css/custom.css">: error calling readFile: stat /opt/build/repo/_script/hugoThemeSite/exampleSite/content/static/css/custom.css: no such file or directory
4:19:33 PM: ERROR 2019/08/04 13:19:33 render of "taxonomyTerm" failed: execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header.html" .>: error calling partial: "/opt/build/repo/hugo-dgraph-theme/layouts/partials/header.html:86:54": execute of template failed: template: partials/header.html:86:54: executing "partials/header.html" at <readFile "static/css/custom.css">: error calling readFile: stat /opt/build/repo/_script/hugoThemeSite/exampleSite/content/static/css/custom.css: no such file or directory
4:19:33 PM: ERROR 2019/08/04 13:19:33 render of "section" failed: execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header.html" .>: error calling partial: "/opt/build/repo/hugo-dgraph-theme/layouts/partials/header.html:86:54": execute of template failed: template: partials/header.html:86:54: executing "partials/header.html" at <readFile "static/css/custom.css">: error calling readFile: stat /opt/build/repo/_script/hugoThemeSite/exampleSite/content/static/css/custom.css: no such file or directory
4:19:33 PM: ERROR 2019/08/04 13:19:33 render of "home" failed: execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header.html" .>: error calling partial: "/opt/build/repo/hugo-dgraph-theme/layouts/partials/header.html:86:54": execute of template failed: template: partials/header.html:86:54: executing "partials/header.html" at <readFile "static/css/custom.css">: error calling readFile: stat /opt/build/repo/_script/hugoThemeSite/exampleSite/content/static/css/custom.css: no such file or directory
4:19:33 PM: ERROR 2019/08/04 13:19:33 render of "taxonomy" failed: execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header.html" .>: error calling partial: "/opt/build/repo/hugo-dgraph-theme/layouts/partials/header.html:86:54": execute of template failed: template: partials/header.html:86:54: executing "partials/header.html" at <readFile "static/css/custom.css">: error calling readFile: stat /opt/build/repo/_script/hugoThemeSite/exampleSite/content/static/css/custom.css: no such file or directory
4:19:33 PM: Error: Error building site: failed to render pages: render of "page" failed: "/opt/build/repo/hugo-dgraph-theme/layouts/_default/single.html:86:54": execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: "/opt/build/repo/hugo-dgraph-theme/layouts/partials/header.html:86:54": execute of template failed: template: partials/header.html:86:54: executing "partials/header.html" at <readFile "static/css/custom.css">: error calling readFile: stat /opt/build/repo/_script/hugoThemeSite/exampleSite/content/static/css/custom.css: no such file or directory
4:19:33 PM: FAILED to create exampleSite for hugo-dgraph-theme
onedrawingperday commented 5 years ago

The following themes are broken due to https://github.com/gohugoio/hugo/issues/6162

As stated in https://github.com/gohugoio/hugo/issues/6168#issuecomment-518611102 theme authors need to be notified because this needs to be fixed in their themes.

1:26:59 AM:  ==== PROCESSING  osprey  ======
11:26:59 AM: Building site for theme osprey using default content to ../themeSite/static/theme/osprey/
11:26:59 AM: Error: failed to read module config for "osprey" in "/opt/build/repo/osprey/theme.toml": unmarshal failed: Near line 8 (last key parsed 'min_version'): Invalid float value: "0.24.1"
11:26:59 AM: FAILED to create exampleSite for osprey

11:27:21 AM:  ==== PROCESSING  hugo-alageek-theme  ======
11:27:21 AM: Building site for theme hugo-alageek-theme using default content to ../themeSite/static/theme/hugo-alageek-theme/
11:27:21 AM: Error: failed to read module config for "hugo-alageek-theme" in "/opt/build/repo/hugo-alageek-theme/theme.toml": unmarshal failed: Near line 8 (last key parsed 'min_version'): Invalid float value: "0.40.3"
11:27:21 AM: FAILED to create exampleSite for hugo-alageek-theme

11:27:21 AM:  ==== PROCESSING  cocoa-eh-hugo-theme  ======
11:27:21 AM: Building site for theme cocoa-eh-hugo-theme using default content to ../themeSite/static/theme/cocoa-eh-hugo-theme/
11:27:21 AM: Error: failed to read module config for "cocoa-eh-hugo-theme" in "/opt/build/repo/cocoa-eh-hugo-theme/theme.toml": unmarshal failed: Near line 8 (last key parsed 'min_version'): Invalid float value: "0.20.2"
11:27:21 AM: FAILED to create exampleSite for cocoa-eh-hugo-theme

11:27:29 AM:  ==== PROCESSING  hugo-theme-zen  ======
11:27:29 AM: Building site for theme hugo-theme-zen using default content to ../themeSite/static/theme/hugo-theme-zen/
11:27:29 AM: Error: failed to read module config for "hugo-theme-zen" in "/opt/build/repo/hugo-theme-zen/theme.toml": unmarshal failed: Near line 8 (last key parsed 'min_version'): Invalid float value: "0.55.0"
11:27:29 AM: FAILED to create exampleSite for hugo-theme-zen

11:28:00 AM:  ==== PROCESSING  beg  ======
11:28:00 AM: Building site for theme beg using config "/opt/build/repo/_script/hugoThemeSite/config-beg.toml" to ../themeSite/static/theme/beg/
11:28:00 AM: Error: failed to read module config for "beg" in "/opt/build/repo/beg/theme.toml": unmarshal failed: Near line 8 (last key parsed 'min_version'): Invalid float value: "0.42.2"
11:28:00 AM: FAILED to create demo site for beg

11:28:21 AM:  ==== PROCESSING  gohugo-theme-ananke  ======
11:28:21 AM: gohugo-theme-ananke is whitelisted
11:28:21 AM: Building site for theme gohugo-theme-ananke using its own exampleSite to ../themeSite/static/theme/gohugo-theme-ananke/
11:28:21 AM: Error: failed to read module config for "gohugo-theme-ananke" in "/opt/build/repo/gohugo-theme-ananke/theme.toml": unmarshal failed: Near line 11 (last key parsed 'min_version'): Invalid float value: "0.30.2"
11:28:21 AM: FAILED to create exampleSite for gohugo-theme-ananke
onedrawingperday commented 5 years ago

The Cocoa Enhanced theme author has already addressed the above in https://github.com/mtn/cocoa-eh-hugo-theme/commit/3cc67bfd7f8ae9ba290cc604aa9f31aab6ccffe2

So @digitalcraftsman whenever you can please update the themes.

onedrawingperday commented 5 years ago

The Beg theme is unmaintained. See #671

onedrawingperday commented 5 years ago

The Zen theme author issued a fix in https://github.com/frjo/hugo-theme-zen/commit/97eac4600682f2bc06b7986084665503e0f6c3c7

onedrawingperday commented 5 years ago

The above ERROR will turn into a WARN in Hugo 0.57. So that theme demos that are affected by this will be restored in the next version of Hugo. ref: https://github.com/gohugoio/hugo/issues/6162#issuecomment-518751094

digitalcraftsman commented 5 years ago

So @digitalcraftsman whenever you can please update the themes.

Done

onedrawingperday commented 5 years ago

The alaGeek theme's demo is fixed although now it has some other minor problems see: https://github.com/gkmngrgn/hugo-alageek-theme/issues/13#issuecomment-518929212 for the details.

onedrawingperday commented 5 years ago

The Bingo theme demo is fixed now with commit https://github.com/gundamew/hugo-bingo/commit/7ff4322f40a24bbd690bb4cb2ee76a1708396303#diff-991d2a2fe208cdee83955ad6e9a323a7R36

digitalcraftsman commented 5 years ago

I've updated the themes again.

onedrawingperday commented 5 years ago

The alaGeek theme is fixed see: https://github.com/gkmngrgn/hugo-alageek-theme/issues/13

digitalcraftsman commented 5 years ago

I've updated the themes again

onedrawingperday commented 5 years ago

The Ananke theme is fixed see: https://github.com/budparr/gohugo-theme-ananke/issues/193#issuecomment-520147762

digitalcraftsman commented 5 years ago

The Ananke theme (and a few others) has been updated

onedrawingperday commented 5 years ago

More Broken Theme Demos:

Potato Dark: see https://github.com/surajmandalcell/potato-dark/issues/4

Natrium Theme: see https://github.com/mobybit/hugo-natrium-theme/issues/16 (theme removed due to #682 )

The Hugo Base theme's demo was also broken. This theme was removed in #692 since it is unmaintained