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

Hugo gets stuck acquiring a semaphore during page rendering when using getJSON #3211

Closed
budparr opened this issue Mar 21, 2017 · 1 comment · Fixed by #3251
Closed

Hugo gets stuck acquiring a semaphore during page rendering when using getJSON #3211

budparr opened this issue Mar 21, 2017 · 1 comment · Fixed by #3251
Assignees
Milestone

Comments

@budparr
Copy link

budparr commented Mar 21, 2017

v 0.19

Hugo was hanging on builds at Netlify (not locally), at "Started building sites ...". When I removed the partial with getJson the builds completed fine. This could very well be due to the fact that I was calling getJson on single entry pages (to pull bio), but I really don't know.

Matt's comment was "Hugo gets stuck acquiring a semaphore during page rendering"

Here is the partial: https://github.com/budparr/gohugo.io/blob/isolate-getjson/themes/gohugo/layouts/partials/components/author-github-data.html

That branch, isolate-getjson, is the one with the partial in the template, isolated for this issue.

Here is the stack trace: https://gist.github.com/budparr/0ac0b96446be9c2fc39080527639760b

@budparr budparr changed the title Hugo gets stuck acquiring a semaphore during page rendering Hugo gets stuck acquiring a semaphore during page rendering when using getJSON Mar 21, 2017
@bep bep added the Bug label Mar 21, 2017
@bep bep added this to the v0.20 milestone Mar 21, 2017
@bep bep self-assigned this Mar 21, 2017
bep added a commit to bep/hugo that referenced this issue Mar 31, 2017
@bep bep closed this as completed in #3251 Mar 31, 2017
bep added a commit that referenced this issue Mar 31, 2017
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants