Re: [Rails] WickedPdf error in production

2013-01-31 Thread Khizer Mehdi
Hi Saravanan, Try below steps : 1. Download wicked pdf file if your machine is 64 bit http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2 if your machine is 32 bit http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-i386.tar.bz2 2. cd /usr/local/bin ex

[Rails] WickedPdf error in production

2013-01-30 Thread Saravanan P
Hello everyone, I am using rails -v 3.2.8. I am using wickedpdf to generate pdf. Its working well in my local machine. But its not working in production server. ompleted 500 Internal Server Error in 4443ms RuntimeError (Failed to execute: "/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtm

Re: [Rails] wickedpdf

2012-09-11 Thread keerthi priya
i fixed it . thanks for your responses i followed this link https://github.com/mileszs/wicked_pdf/wiki/Getting-Started-Installing-wkhtmltopdfand at 5th step in that link i changed the path and it got fixed. On Tue, Sep 11, 2012 at 7:39 PM, Thota praneeth wrote: > Why don't you use prawn gem for

Re: [Rails] wickedpdf

2012-09-11 Thread Thota praneeth
Why don't you use prawn gem for pdf files -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@

Re: [Rails] wickedpdf

2012-09-11 Thread thiagocifani
sorry about my english mistakes, where you read week, should be read wiki! regards 2012/9/11 thiagocifani > You need to be sure that your exe_path is that on file, if its not you > just need to point out to the right place, the past year I need to do > something like that, and I realized that m

Re: [Rails] wickedpdf

2012-09-11 Thread thiagocifani
You need to be sure that your exe_path is that on file, if its not you just need to point out to the right place, the past year I need to do something like that, and I realized that my path was wrong. Hope its help. #:exe_path => '/usr/bin/wkhtmltopdf the fact here is here is wkhtmltopdf, I stric

Re: [Rails] wickedpdf

2012-09-11 Thread keerthi priya
this is my wicked_pdf.rb in config/initilizers WickedPdf.config = { :wkhtmltopdf => '/opt/wkhtmltopdf', :layout => "pdf.html", :margin => {:top=> 40, :bottom => 20, :left=> 30, :right => 30}, :header => {:html => { :te

Re: [Rails] wickedpdf

2012-09-11 Thread vijaya sekhar reddy mallidi
Hi keerthi, I think this issue relates to proper installation & configuration of wicked_pdf. Cheers, Vijay On Tue, Sep 11, 2012 at 5:22 PM, keerthi priya < emailtokeerthipr...@gmail.com> wrote: > Hi all i'm trying to generate pdf and i got this error > > > > Location of wkhtmltopdf unknown a

Re: [Rails] wickedpdf

2012-09-11 Thread Jim Ruther Nill
i think you only installed the gem. Look at https://github.com/mileszs/wicked_pdf/wiki/Getting-Started-Installing-wkhtmltopdf on how to install the binary On Tue, Sep 11, 2012 at 9:59 PM, keerthi priya < emailtokeerthipr...@gmail.com> wrote: > yeah i have installed as a plugin . the code is in v

Re: [Rails] wickedpdf

2012-09-11 Thread Simon Macneall
Have you set the exe path in the initializer? You need to tell wickedpdf where the wkhtmltopdf binary is On Tue, 11 Sep 2012 19:59:51 +0800, keerthi priya wrote: yeah i have installed as a plugin . the code is in vendor folder On Tue, Sep 11, 2012 at 5:24 PM, Jim Ruther Nill wrote:

Re: [Rails] wickedpdf

2012-09-11 Thread keerthi priya
yeah i have installed as a plugin . the code is in vendor folder On Tue, Sep 11, 2012 at 5:24 PM, Jim Ruther Nill wrote: > do you have wkhtmltopdf installed? > > > On Tue, Sep 11, 2012 at 9:52 PM, keerthi priya < > emailtokeerthipr...@gmail.com> wrote: > >> Hi all i'm trying to generate pdf and

Re: [Rails] wickedpdf

2012-09-11 Thread Jim Ruther Nill
do you have wkhtmltopdf installed? On Tue, Sep 11, 2012 at 9:52 PM, keerthi priya < emailtokeerthipr...@gmail.com> wrote: > Hi all i'm trying to generate pdf and i got this error > > > Location of wkhtmltopdf unknown and i also get > Bad wkhtmltopdf's path > > gpa/vendor/plugins/wicked_pdf/lib/wi

[Rails] wickedpdf

2012-09-11 Thread keerthi priya
Hi all i'm trying to generate pdf and i got this error Location of wkhtmltopdf unknown and i also get Bad wkhtmltopdf's path gpa/vendor/plugins/wicked_pdf/lib/wicked_pdf.rb:26:in `initialize' /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new' /EDWARD/gpa/vendor/plugins/wicked

Re: [Rails] WickedPDF vs PDFKit vs. Prawn, etc.

2011-01-13 Thread Walter Lee Davis
On Jan 13, 2011, at 12:02 PM, Garrett Lancaster wrote: It's costly, but very very effective. Thanks for the recommendation, but don't have a spare 3800 lying around ;) Thankfully, my client qualified for the EDU discount, as they're a non- profit educational foundation. It is steep, bu

Re: [Rails] WickedPDF vs PDFKit vs. Prawn, etc.

2011-01-13 Thread Garrett Lancaster
On Jan 13, 2011, at 9:48 AM, Paul wrote: I've played around with all three and have found them all to work if you don't care about exact placement of items. They tend to limit your formatting choices. I don't think I need to do anything too complex with the formatting (probably a lot of tables f

Re: [Rails] WickedPDF vs PDFKit vs. Prawn, etc.

2011-01-13 Thread Walter Lee Davis
On Jan 13, 2011, at 9:48 AM, Paul wrote: I've played around with all three and have found them all to work if you don't care about exact placement of items. They tend to limit your formatting choices. The largest pain I had was getting wkhtmltopdf installed and acting the same way on my server

Re: [Rails] WickedPDF vs PDFKit vs. Prawn, etc.

2011-01-13 Thread Paul
I've played around with all three and have found them all to work if you don't care about exact placement of items. They tend to limit your formatting choices. The largest pain I had was getting wkhtmltopdf installed and acting the same way on my server as it did on my development machine. (The pro

[Rails] WickedPDF vs PDFKit vs. Prawn, etc.

2011-01-12 Thread Garrett Lancaster
Thoughts on using WickedPDF vs PDFKit vs. Prawn or others for developing forms with dynamic content? TIA, Garrett Lancaster -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegrou

Re: [Rails] WickedPDF - wrong number of arguments

2011-01-01 Thread Colin Law
On 31 December 2010 16:12, dev2 wrote: > I'm trying to get this plugin to work for me.   I'm having the > following issue when I try to render a pdf (/fancy_things/45.pdf ).. > > Any suggestions? > > Thanks! > > > > > ERROR: > > Started GET "/fancy_things/45.pdf" for 192.168.66.1 at Fri Dec 31 > 1

[Rails] WickedPDF - wrong number of arguments

2011-01-01 Thread dev2
I'm trying to get this plugin to work for me. I'm having the following issue when I try to render a pdf (/fancy_things/45.pdf ).. Any suggestions? Thanks! ERROR: Started GET "/fancy_things/45.pdf" for 192.168.66.1 at Fri Dec 31 10:59:07 -0500 2010 Processing by OrdersController#show as P

[Rails] Wickedpdf

2010-11-19 Thread johnnybutler7
Im using this plugin to convert a html page into a pdf https://github.com/mileszs/wicked_pdf It works great but if i have a file that renders lots of partials then i need to make copies of them with a view type of .pdf. So for show.html.erb i need to make a show.pdf.erb, that makes sense. But if