Giter Site home page Giter Site logo

Can't use footers about wicked_pdf HOT 6 CLOSED

mileszs avatar mileszs commented on July 4, 2024
Can't use footers

from wicked_pdf.

Comments (6)

activestylus avatar activestylus commented on July 4, 2024

I am having the exact same problem with both headers and footers. Nothing is rendered even though wicked seems to be doing just that in the console. Same specs as above except I'm on ruby-1.9.3-p0

***************WICKED***************
Rendered offers/show.pdf.haml (0.5ms)
Rendered shared/header.pdf.haml (1.1ms)
Rendered shared/footer.pdf.haml (1.3ms)
Rendered text template (0.0ms)
Sent data 2984.pdf (4.6ms)
Completed 200 OK in 759ms (Views: 4.2ms)

from wicked_pdf.

dgdosen avatar dgdosen commented on July 4, 2024

Can anyone else confirm if this is a consistent issue on Mac OS?

This looks like it's setting information for wkhtmltopdf, are there issues with 0.9.9 on macos?

from wicked_pdf.

activestylus avatar activestylus commented on July 4, 2024

I was able to resolve this by uninstalling the wkhtmltopdf which I installed with homebrew. Manually installed from source and now it's working. This is on Mac OS 10.6.7. I have had no such issues with the apt-get installation on Ubuntu

from wicked_pdf.

dgdosen avatar dgdosen commented on July 4, 2024

I didn't install from source - but I did find a static version of later version (the google download and brew use 0.9.9) that resolves the issue.

Thanks for pointing me in the right direction

from wicked_pdf.

activestylus avatar activestylus commented on July 4, 2024

Awesome! Glad I could help

from wicked_pdf.

santuxus avatar santuxus commented on July 4, 2024

Thanks for the tip. After 2 years it helped me too.

from wicked_pdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.