Giter Site home page Giter Site logo

Comments (11)

samuelcolvin avatar samuelcolvin commented on May 10, 2024

Looks like you need to install libjpeg.

You'll need to add something like

 RUN apt-get install -y --no-install-recommends libjpeg-dev

from pydf.

malikovss avatar malikovss commented on May 10, 2024

@samuelcolvin Thank you for your answer. but it did not work.

libjpeg-dev is already the newest version (1:1.5.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

from pydf.

samuelcolvin avatar samuelcolvin commented on May 10, 2024

yes, just found that, looking into it

from pydf.

samuelcolvin avatar samuelcolvin commented on May 10, 2024

Looks like it's caused by the old version of wkhtml we're using, see #22

from pydf.

frandemona avatar frandemona commented on May 10, 2024

Having this same issue too using docker python:3.9-slim-buster

from pydf.

malikovss avatar malikovss commented on May 10, 2024

Having this same issue too using docker python:3.9-slim-buster

write your own image.

FROM ubuntu:20.04
RUN apt-get update && \
    apt-get install -y curl && \
    apt-get install -y python3.8 && \
    apt-get install -y python3-pip && \
    apt-get install -y python3.8-dev && \
    apt-get install -y wget && \
    wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb && \
    apt-get install -y ./wkhtmltox_0.12.6-1.focal_amd64.deb

from pydf.

frandemona avatar frandemona commented on May 10, 2024

Having this same issue too using docker python:3.9-slim-buster

write your own image.

FROM ubuntu:20.04
RUN apt-get update && \
    apt-get install -y curl && \
    apt-get install -y python3.8 && \
    apt-get install -y python3-pip && \
    apt-get install -y python3.8-dev && \
    apt-get install -y wget && \
    wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb && \
    apt-get install -y ./wkhtmltox_0.12.6-1.focal_amd64.deb

Hey thanks for the idea but i simply added the commit to my requirements file as this:
git+https://github.com/tutorcruncher/pydf.git@287c2d6041a5adb8be3671212e9324df23785675

This just imported the merge request to my libraries and it works correctly.

from pydf.

malikovss avatar malikovss commented on May 10, 2024

Hi! @samuelcolvin
Have you read last comment?
Can you merge request if it is working correctly

from pydf.

samuelcolvin avatar samuelcolvin commented on May 10, 2024

Sorry, is there a PR you want me to merge?

from pydf.

malikovss avatar malikovss commented on May 10, 2024

#22
I thought if you merge it. This error will be fixed

from pydf.

samuelcolvin avatar samuelcolvin commented on May 10, 2024

See my comment on #22, I'm still getting the same libjpeg error when using that branch, and tests are failing with that error too.

from pydf.

Related Issues (19)

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.