Traceback (most recent call last):


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, in __call__

response = self.get_response(request)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 199, in get_response

response = self.handle_uncaught_exception(request, resolver, sys.exc_info())


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view

return self.dispatch(request, *args, **kwargs)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch

return handler(request, *args, **kwargs)


 "./touchstay/views/invitation.py", line 368, in get

return generate_pdf(request, destination, None)


 "./touchstay/views/invitation.py", line 414, in generate_pdf

pdf_doc_2 = pdf2.render()


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/__init__.py", line 143, in render

font_config)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/document.py", line 326, in _render

[Page(p, enable_hinting) for p in page_boxes],


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/__init__.py", line 55, in layout_document

context, root_box, html, cascaded_styles, computed_styles))


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/pages.py", line 601, in make_all_pages

context, root_box, page_type, resume_at, page_number)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/pages.py", line 520, in make_page

positioned_boxes, positioned_boxes, adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 83, in block_level_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 111, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 638, in block_container_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 83, in block_level_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 111, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 638, in block_container_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 83, in block_level_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 111, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 638, in block_container_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 83, in block_level_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 111, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 638, in block_container_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 83, in block_level_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 111, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 638, in block_container_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 83, in block_level_layout

adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 111, in block_box_layout

page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/blocks.py", line 510, in block_container_layout

for line, resume_at in lines_iterator:


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/inlines.py", line 51, in iter_line_boxes

device_size, absolute_boxes, fixed_boxes, first_letter_style)


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/inlines.py", line 108, in get_next_linebox

waiting_floats, line_children=[])


 "/home/virtualenvs/mts/local/lib/python2.7/site-packages/weasyprint/layout/inlines.py", line 839, in split_inline_box

child_resume_at[0] + current_skip,
TypeError: 'NoneType' object has no attribute '__getitem__'

Traceback (most recent call last):

 "/usr/share/datadog/agent/checks/__init__.py", line 423, in run
self.check(instance)

 "/usr/share/datadog/agent/checks.d/tomcat.py", line 49, in check
dump = jmx.dump()

 "/usr/share/datadog/agent/checks/jmx_connector.py", line 129, in dump
jsonvar = json.loads(content)

 "/usr/lib/python2.7/json/__init__.py", line 326, in loads
return _default_decoder.decode(s)

 "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())

 "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")ValueError: No JSON object could be decoded