You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with rails 2.3 with wickedpdf and wkhtmltopdf. While generating pdf it works fine at first time. When i am generating the pdf at second time onwards it generates RunTime Error.
It shows the error like below.
RuntimeError in XXXXXController#xxxxxx_pdf
--PDF could not be generated!
--Error: Failed loading page file:///tmp/wicked_header_pdf_3705_0.html?page=1§ion=&
subsection=&frompage=1&subsubsection=&topage=1&webpage=foobar&time=10:55 AM&date=20/03/14
(sometimes it will work just to ignore this error with --ignore-load-errors)
--Error: Failed loading page file:///tmp/wicked_footer_pdf_3705_0.html?page=1§ion=&
subsection=&frompage=1&subsubsection=&topage=1&webpage=foobar&time=10:55 AM&date=20/03/14
(sometimes it will work just to ignore this error with --ignore-load-errors)
--QPaintDevice: Cannot destroy paint device that is being painted
--Segmentation fault (core dumped)
Please help me to solve the above issue
Thanks
Rajesh
The text was updated successfully, but these errors were encountered:
Thanks for your resonse. But it was working on some other pages which was
already developed application i am just enhancing the same application but
it was not working for me.
I am working with rails 2.3 with wickedpdf and wkhtmltopdf. While generating pdf it works fine at first time. When i am generating the pdf at second time onwards it generates RunTime Error.
It shows the error like below.
RuntimeError in XXXXXController#xxxxxx_pdf
--PDF could not be generated!
--Error: Failed loading page file:///tmp/wicked_header_pdf_3705_0.html?page=1§ion=&
subsection=&frompage=1&subsubsection=&topage=1&webpage=foobar&time=10:55 AM&date=20/03/14
(sometimes it will work just to ignore this error with --ignore-load-errors)
--Error: Failed loading page file:///tmp/wicked_footer_pdf_3705_0.html?page=1§ion=&
subsection=&frompage=1&subsubsection=&topage=1&webpage=foobar&time=10:55 AM&date=20/03/14
(sometimes it will work just to ignore this error with --ignore-load-errors)
--QPaintDevice: Cannot destroy paint device that is being painted
--Segmentation fault (core dumped)
Please help me to solve the above issue
Thanks
Rajesh
The text was updated successfully, but these errors were encountered: