-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Deadlock when there are errors in Page metadata #4526
Comments
Can you provide a minimal example of metadata that triggers this behavior? |
I just uploaded an archive of posts to DropBox https://www.dropbox.com/s/f7d4j98lyx6xcan/Archive.zip?dl=0 |
Many of your page titles have unescaped double-quotes inside them which is causing all of the TOML parse errors you're seeing. For example: title = "PDF EPUB: Anne Bradstreet: Poems "The Prologue Summary And Analysis EBook Full Text " Should be one of: title = 'PDF EPUB: Anne Bradstreet: Poems "The Prologue Summary And Analysis EBook Full Text '
title = "PDF EPUB: Anne Bradstreet: Poems \"The Prologue Summary And Analysis EBook Full Text "
title = """PDF EPUB: Anne Bradstreet: Poems "The Prologue Summary And Analysis EBook Full Text """ However, parsing errors shouldn't cause Hugo to deadlock. We'll need more details about your setup to validate your claims. |
I can reproduce this. Surprised no-one has stumbled on to this... I will fix. Thanks for reporting. |
@moorereason Yes, those illegible characters are for a purpose. We host a lot of Hugo blogs on our server for customers. Having bad content from a customer should not etc... brings a whole server down due to deadlocks. |
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. |
Hugo got stuck here in page_bundler.go:
In my opinion, Hugo should exit with an error code
The text was updated successfully, but these errors were encountered: