Works for me. Maybe some issue with your version of pdfkit? I have version 0.6.1
On Thu, 9 Jul 2020 at 17:08, Mohsin Ali <[email protected]> wrote: > Hi, > > The following command is generating a blank PDF file. The expected outcome > is printing the Google chart in the generated PDF file. I used > pdfkit==0.6.1 and set the pie.html file path properly. Everything was > working as expected until December 2019 (as far as I can remember). > > $ python3 > Python 3.7.7 (default, Mar 10 2020, 15:43:33) > [Clang 11.0.0 (clang-1100.0.33.17)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import pdfkit > >>> pdfkit.from_file('pie.html', 'out.pdf') > Loading pages (1/6) > Counting pages (2/6) > Resolving links > (4/6) > Loading headers and footers > (5/6) > Printing pages (6/6) > Done > True > >>> > > This is only happening to me or not I am not sure. > > Regards, > Mohsin > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-visualization-api/11839e08-9f9c-41db-be98-5fa06224994bo%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/11839e08-9f9c-41db-be98-5fa06224994bo%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAE%2BAec2kr5TvSJXUh-M6dt69wn9Yq29%3D0RXbTe-2EkMnaBv_5w%40mail.gmail.com.
