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 · 0 comments

Comments

Projects
None yet
2 participants
@budparr

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 from Hugo gets stuck acquiring a semaphore during page rendering to 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 in #3251 Mar 31, 2017

bep added a commit that referenced this issue Mar 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment