Traceback (most recent call last):


 "calibre_plugins.dedrm.ineptepub", line 418, in decryptBook
TypeError: object of type 'int' has no len()

Traceback (most recent call last):


 "/home/snorri/Work/MP/Code/MailpileDev/mailpile/ui.py", line 407, in display_result

template=template)


 "/home/snorri/Work/MP/Code/MailpileDev/mailpile/commands.py", line 208, in as_template

[tpath], data)


 "/home/snorri/Work/MP/Code/MailpileDev/mailpile/ui.py", line 510, in render_web

return template.render(alldata)


 "/home/snorri/.local/lib/python2.7/site-packages/jinja2/environment.py", line 1008, in render

return self.environment.handle_exception(exc_info, True)


 "/home/snorri/.local/lib/python2.7/site-packages/jinja2/environment.py", line 780, in handle_exception

reraise(exc_type, exc_value, tb)


 "/home/snorri/Work/MP/Code/MailpileDev/shared-data/default-theme/html/message/draft/index.html", line 1, in top-level template code

{% extends "layouts/" + render_mode + "-tall.html" %}


 "/home/snorri/Work/MP/Code/MailpileDev/shared-data/default-theme/html/layouts/full-tall.html", line 1, in top-level template code

{%- extends "layouts/full.html" %}


 "/home/snorri/Work/MP/Code/MailpileDev/shared-data/default-theme/html/layouts/full.html", line 1, in top-level template code

{% extends "layouts/content.html" %}


 "/home/snorri/Work/MP/Code/MailpileDev/shared-data/default-theme/html/layouts/content.html", line 38, in top-level template code

{%- block content %}<h1>No Content</h1>{% endblock -%}


 "/home/snorri/Work/MP/Code/MailpileDev/shared-data/default-theme/html/message/draft/index.html", line 38, in block "content"

{% include("partials/error_message_missing.html") %}


 "/home/snorri/Work/MP/Code/MailpileDev/shared-data/default-theme/html/partials/error_message_missing.html", line 3, in top-level template code

{%- do result.__setitem__('errors', {'*': {'error': _("Message Not Found")}}) %}
TypeError: list indices must be integers, not str
