Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Broken Theme Demos #669

Closed
onedrawingperday opened this issue Aug 6, 2019 · 14 comments · Fixed by #721
Closed

Broken Theme Demos #669

onedrawingperday opened this issue Aug 6, 2019 · 14 comments · Fixed by #721
Assignees
Labels

Comments

@onedrawingperday
Copy link
Contributor

onedrawingperday commented Aug 6, 2019

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: hadisinaee/avicenna#8
✅ FIXED in hadisinaee/avicenna@b140992

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: gundamew/hugo-bingo#3
✅ FIXED in gundamew/hugo-bingo@7ff4322

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: dgraph-io/hugo-dgraph-theme#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
Copy link
Contributor Author

onedrawingperday commented Aug 6, 2019

The following themes are broken due to gohugoio/hugo#6162

As stated in gohugoio/hugo#6168 (comment) 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
Copy link
Contributor Author

The Cocoa Enhanced theme author has already addressed the above in mtn/cocoa-eh-hugo-theme@3cc67bf

So @digitalcraftsman whenever you can please update the themes.

@onedrawingperday
Copy link
Contributor Author

The Beg theme is unmaintained. See #671

@onedrawingperday
Copy link
Contributor Author

onedrawingperday commented Aug 6, 2019

The Zen theme author issued a fix in frjo/hugo-theme-zen@97eac46

@onedrawingperday
Copy link
Contributor Author

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: gohugoio/hugo#6162 (comment)

@digitalcraftsman
Copy link
Member

So @digitalcraftsman whenever you can please update the themes.

Done

@onedrawingperday
Copy link
Contributor Author

The alaGeek theme's demo is fixed although now it has some other minor problems see: gkmngrgn/hugo-alageek-theme#13 (comment) for the details.

@onedrawingperday
Copy link
Contributor Author

onedrawingperday commented Aug 7, 2019

The Bingo theme demo is fixed now with commit gundamew/hugo-bingo@7ff4322#diff-991d2a2fe208cdee83955ad6e9a323a7R36

@digitalcraftsman
Copy link
Member

I've updated the themes again.

@onedrawingperday
Copy link
Contributor Author

The alaGeek theme is fixed see: gkmngrgn/hugo-alageek-theme#13

@digitalcraftsman
Copy link
Member

I've updated the themes again

@onedrawingperday
Copy link
Contributor Author

The Ananke theme is fixed see: theNewDynamic/gohugo-theme-ananke#193 (comment)

@digitalcraftsman
Copy link
Member

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

@onedrawingperday
Copy link
Contributor Author

onedrawingperday commented Aug 20, 2019

More Broken Theme Demos:

Potato Dark: see surajmandalcell/potato-dark#4

Natrium Theme: see mobybit/hugo-natrium-theme#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

@stale stale bot added the Stale label Sep 9, 2019
@gohugoio gohugoio deleted a comment from stale bot Sep 9, 2019
@stale stale bot removed the Stale label Sep 9, 2019
@stale stale bot added the Stale label Sep 29, 2019
@gohugoio gohugoio deleted a comment from stale bot Sep 29, 2019
@stale stale bot removed the Stale label Sep 29, 2019
@onedrawingperday onedrawingperday self-assigned this Oct 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants