Trying to render some shouts makes the site go boom #65

Open
opened 2023-07-03 09:26:52 +00:00 by knoflook · 1 comment
Owner

...and we don't know why! Here's some logs
@r

beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi    | Start building sites … 
beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi    | hugo v0.107.0-2221b5b30a285d01220a26a82305906ad3291880+extended linux/amd64 BuildDate=2022-11-24T13:59:45Z VendorInfo=hugoguru
beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi    | Error: Error building site: failed to render pages: render of "section" failed: "/src/themes/lumbung-theme/layouts/_default/list.html:22:22": execute of template failed: template: _default/list.html:22:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0
beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi    | ERROR 2023/07/03 09:18:57 render of "section" failed: "/src/themes/lumbung-theme/layouts/_default/list.html:22:22": execute of template failed: template: _default/list.html:22:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0
beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi    | ERROR 2023/07/03 09:18:57 render of "term" failed: "/src/themes/lumbung-theme/layouts/_default/list.html:22:22": execute of template failed: template: _default/list.html:22:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0
beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi    | ERROR 2023/07/03 09:18:57 render of "home" failed: "/src/themes/lumbung-theme/layouts/index.html:23:22": execute of template failed: template: index.html:23:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0
beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi    | ERROR 2023/07/03 09:18:57 render of "home" failed: "/src/themes/lumbung-theme/layouts/index.html:23:22": execute of template failed: template: index.html:23:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0
beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi    | Built in 24421 ms
beta_lumbung_space_app.1.ciphv4wz1l0h@ruangrupa-dedi    | Start building sites … 
beta_lumbung_space_app.1.ciphv4wz1l0h@ruangrupa-dedi    | hugo v0.107.0-2221b5b30a285d01220a26a82305906ad3291880+extended linux/amd64 BuildDate=2022-11-24T13:59:45Z VendorInfo=hugoguru
...and we don't know why! Here's some logs @r ``` beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi | Start building sites … beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi | hugo v0.107.0-2221b5b30a285d01220a26a82305906ad3291880+extended linux/amd64 BuildDate=2022-11-24T13:59:45Z VendorInfo=hugoguru beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi | Error: Error building site: failed to render pages: render of "section" failed: "/src/themes/lumbung-theme/layouts/_default/list.html:22:22": execute of template failed: template: _default/list.html:22:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0 beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi | ERROR 2023/07/03 09:18:57 render of "section" failed: "/src/themes/lumbung-theme/layouts/_default/list.html:22:22": execute of template failed: template: _default/list.html:22:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0 beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi | ERROR 2023/07/03 09:18:57 render of "term" failed: "/src/themes/lumbung-theme/layouts/_default/list.html:22:22": execute of template failed: template: _default/list.html:22:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0 beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi | ERROR 2023/07/03 09:18:57 render of "home" failed: "/src/themes/lumbung-theme/layouts/index.html:23:22": execute of template failed: template: index.html:23:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0 beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi | ERROR 2023/07/03 09:18:57 render of "home" failed: "/src/themes/lumbung-theme/layouts/index.html:23:22": execute of template failed: template: index.html:23:22: executing "main" at <partial "partials/shout_card.html" .>: error calling partial: "/src/themes/lumbung-theme/layouts/partials/shout_card.html:25:21": execute of template failed: template: partials/shout_card.html:25:21: executing "partials/shout_card.html" at <div $height .Width>: error calling div: can't divide the value by 0 beta_lumbung_space_app.1.cqozifg5ulo5@ruangrupa-dedi | Built in 24421 ms beta_lumbung_space_app.1.ciphv4wz1l0h@ruangrupa-dedi | Start building sites … beta_lumbung_space_app.1.ciphv4wz1l0h@ruangrupa-dedi | hugo v0.107.0-2221b5b30a285d01220a26a82305906ad3291880+extended linux/amd64 BuildDate=2022-11-24T13:59:45Z VendorInfo=hugoguru ```
Owner

Currently, we fix this issue by wiping the content folder, and regenerating it again. We do not know why the site does not run into this error after regenerating all the content. In theory, the offending shout card should cause the same error after being regenerated.

Currently, we fix this issue by wiping the content folder, and regenerating it again. We do not know why the site does not run into this error after regenerating all the content. In theory, the offending shout card should cause the same error after being regenerated.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ruangrupa/lumbung.space#65
No description provided.