Skip to content

Instantly share code, notes, and snippets.

@andru1989
Created November 15, 2017 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andru1989/358da9f3aa723bb29d01362b31737d9e to your computer and use it in GitHub Desktop.
Save andru1989/358da9f3aa723bb29d01362b31737d9e to your computer and use it in GitHub Desktop.
[2017-11-15T04:25:16.756537 #29429] INFO -- : [977ff0f7-51e4-47d6-9f38-148c6a7b9967] ***************WICKED***************
I, [2017-11-15T04:25:16.757151 #29429] INFO -- : [977ff0f7-51e4-47d6-9f38-148c6a7b9967] Rendering estimates/show.pdf.haml within layouts/layout_pdf.pdf.haml
I, [2017-11-15T04:25:16.759594 #29429] INFO -- : [977ff0f7-51e4-47d6-9f38-148c6a7b9967] Rendered estimates/show.pdf.haml within layouts/layout_pdf.pdf.haml (2.3ms)
I, [2017-11-15T04:25:17.917982 #29429] INFO -- : [977ff0f7-51e4-47d6-9f38-148c6a7b9967] Completed 500 Internal Server Error in 1186ms (ActiveRecord: 2.8ms)
F, [2017-11-15T04:25:17.920044 #29429] FATAL -- : [977ff0f7-51e4-47d6-9f38-148c6a7b9967]
F, [2017-11-15T04:25:17.920160 #29429] FATAL -- : [977ff0f7-51e4-47d6-9f38-148c6a7b9967] RuntimeError (Failed to execute:
["/usr/bin/wkhtmltopdf", "-q", "--orientation", "Portrait", "--page-size", "A4", "--margin-top", "0", "--margin-bottom", "0", "--margin-left", "0", "--margin-right", "0", "--footer-center", "Wed, 15 Nov 2017 04:25:16 +0000", "--footer-left", "BR Latina®", "--footer-right", "Page [page] of [topage]", "--footer-font-size", "5", "file:////tmp/wicked_pdf20171115-29429-r511os.html", "/tmp/wicked_pdf_generated_file20171115-29429-1xnm4t.pdf"]
Error: PDF could not be generated!
Command Error: QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::translate: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::setFont: Painter not active
QPainter::setOpacity: Painter not active
QPainter::combinedTransform: Painter not active
QPainter::setBrush: Painter not active
QPainter::brush: Painter not active
QPainter::fillPath: Painter not active
QPainter::end: Painter not active, aborted
):
F, [2017-11-15T04:25:17.920357 #29429] FATAL -- : [977ff0f7-51e4-47d6-9f38-148c6a7b9967]
F, [2017-11-15T04:25:17.920533 #29429] FATAL -- : [977ff0f7-51e4-47d6-9f38-148c6a7b9967] app/controllers/estimates_controller.rb:19:in `block (2 levels) in show'
[977ff0f7-51e4-47d6-9f38-148c6a7b9967] app/controllers/estimates_controller.rb:15:in `show'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment