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_pdf/lib/pdf_helper.rb:53:in `make_pdf'' /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in `make_and_send_pdf'' /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'' /EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'' /EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'' Can any one help me what went wrong Cheers -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/G4s3rDCnY4QJ. For more options, visit https://groups.google.com/groups/opt_out.
do you have wkhtmltopdf installed? On Tue, Sep 11, 2012 at 9:52 PM, keerthi priya < emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/wicked_pdf.rb:26:in `initialize'' > /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' > /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf'' > /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in `make_and_send_pdf'' > /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'' > /EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'' > /EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'' > > Can any one help me what went wrong > > > Cheers > > > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/G4s3rDCnY4QJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.com -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 <jvnill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> do you have wkhtmltopdf installed? > > > On Tue, Sep 11, 2012 at 9:52 PM, keerthi priya < > emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/wicked_pdf.rb:26:in `initialize'' >> /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' >> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf'' >> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in `make_and_send_pdf'' >> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'' >> /EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'' >> /EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'' >> >> Can any one help me what went wrong >> >> >> Cheers >> >> >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/G4s3rDCnY4QJ. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > ------------------------------------------------------------- > visit my blog at http://jimlabs.heroku.com > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 < emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/wicked_pdf.rb:26:in `initialize'' > /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' > /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf'' > /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in `make_and_send_pdf'' > /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'' > /EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'' > /EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'' > > Can any one help me what went wrong > > > Cheers > > > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/G4s3rDCnY4QJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 <emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <jvnill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > >> do you have wkhtmltopdf installed? >> >> >> On Tue, Sep 11, 2012 at 9:52 PM, keerthi priya < >> emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/wicked_pdf.rb:26:in `initialize'' >>> /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' >>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in >>> `make_pdf'' >>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in >>> `make_and_send_pdf'' >>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'' >>> /EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'' >>> /EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'' >>> >>> Can any one help me what went wrong >>> >>> >>> Cheers >>> >>> >>> >>> -- >>> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To view this discussion on the web visit >>> https://groups.google.com/d/msg/rubyonrails-talk/-/G4s3rDCnY4QJ. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> >> >> -- >> ------------------------------------------------------------- >> visit my blog at http://jimlabs.heroku.com >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >>-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 < emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <jvnill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> do you have wkhtmltopdf installed? >> >> >> On Tue, Sep 11, 2012 at 9:52 PM, keerthi priya < >> emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/wicked_pdf.rb:26:in `initialize'' >>> /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' >>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf'' >>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in `make_and_send_pdf'' >>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'' >>> /EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'' >>> /EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'' >>> >>> Can any one help me what went wrong >>> >>> >>> Cheers >>> >>> >>> >>> -- >>> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To view this discussion on the web visit >>> https://groups.google.com/d/msg/rubyonrails-talk/-/G4s3rDCnY4QJ. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> >> >> -- >> ------------------------------------------------------------- >> visit my blog at http://jimlabs.heroku.com >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.com -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 => { :template=> ''layouts/pdf_header.html''}}, :footer => {:html => { :template=> ''layouts/pdf_footer.html''}} #:exe_path => ''/usr/bin/wkhtmltopdf'' } On Tue, Sep 11, 2012 at 5:29 PM, vijaya sekhar reddy mallidi < m.vijaysekhar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 < > emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/wicked_pdf.rb:26:in `initialize'' >> /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' >> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf'' >> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in `make_and_send_pdf'' >> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'' >> /EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'' >> /EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'' >> >> Can any one help me what went wrong >> >> >> Cheers >> >> >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/G4s3rDCnY4QJ. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 strictly recommend you to install through the project''s week and it will work fine. https://github.com/mileszs/wicked_pdf/wiki/Getting-Started-Installing-wkhtmltopdf 2012/9/11 keerthi priya <emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> 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 => { :template=> ''layouts/pdf_header.html''}}, > :footer => {:html => { :template=> ''layouts/pdf_footer.html''}} > #:exe_path => ''/usr/bin/wkhtmltopdf'' > > } > > > On Tue, Sep 11, 2012 at 5:29 PM, vijaya sekhar reddy mallidi < > m.vijaysekhar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> 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 < >> emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/wicked_pdf.rb:26:in `initialize'' >>> /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' >>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf'' >>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in `make_and_send_pdf'' >>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'' >>> /EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'' >>> /EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'' >>> >>> Can any one help me what went wrong >>> >>> >>> Cheers >>> >>> >>> >>> -- >>> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To view this discussion on the web visit >>> https://groups.google.com/d/msg/rubyonrails-talk/-/G4s3rDCnY4QJ. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- thiagocifani http://about.me/thiagocifani <http://del.icio.us/thiagocifani> <http://del.icio.us/thiagocifani> -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
sorry about my english mistakes, where you read week, should be read wiki! regards 2012/9/11 thiagocifani <cifani.thiago-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> 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 strictly recommend you to install > through the project''s week and it will work fine. > > > https://github.com/mileszs/wicked_pdf/wiki/Getting-Started-Installing-wkhtmltopdf > > > 2012/9/11 keerthi priya <emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> 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 => { :template=> ''layouts/pdf_header.html''}}, >> :footer => {:html => { :template=> ''layouts/pdf_footer.html''}} >> #:exe_path => ''/usr/bin/wkhtmltopdf'' >> >> } >> >> >> On Tue, Sep 11, 2012 at 5:29 PM, vijaya sekhar reddy mallidi < >> m.vijaysekhar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> 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 < >>> emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/wicked_pdf.rb:26:in `initialize'' >>>> /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' >>>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf'' >>>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in `make_and_send_pdf'' >>>> /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'' >>>> /EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'' >>>> /EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'' >>>> >>>> Can any one help me what went wrong >>>> >>>> >>>> Cheers >>>> >>>> >>>> >>>> -- >>>> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msg/rubyonrails-talk/-/G4s3rDCnY4QJ. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> -- >>> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > thiagocifani > http://about.me/thiagocifani <http://del.icio.us/thiagocifani> > <http://del.icio.us/thiagocifani> > > >-- thiagocifani http://about.me/thiagocifani <http://del.icio.us/thiagocifani> <http://del.icio.us/thiagocifani> -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 <praneetheee240-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.