AttributeError: 'NoneType' object has no attribute 'encode'
(1 additional frame(s) were not displayed)
...
File "peachjam/tasks.py", line 153, in extract_citations
if doc.extract_citations():
File "peachjam/models/core_document_model.py", line 579, in extract_citations
self.delete_citations()
File "peachjam/models/journals_books.py", line 16, in delete_citations
self.convert_content_markdown()
File "peachjam/models/journals_books.py", line 19, in convert_content_markdown
self.content_html = markdownify(self.content_markdown)
File "peachjam/helpers.py", line 92, in markdownify
inf.write(text.encode("utf-8"))
Sentry Issue: LII-1MX