inkslides icon indicating copy to clipboard operation
inkslides copied to clipboard

PDF should be up to date. Quitting ...

Open ftharyanto opened this issue 4 years ago • 2 comments

I installed it using python3, and when I tried to use it, this is what I got: image

I was thinking that I have to install PyPDF2, so I installed it right away using pip3 install PyPDF2 but the issue still occurred. I have lxml installed btw.

This is my system specification:

  • Ubuntu 20.04
  • I have lxml, ghostscript, PyPDF2, and pdfunite installed
  • Using pip3 to install PyPDF2
  • The svg file was created using Inkscape 1.0

ftharyanto avatar May 15 '20 03:05 ftharyanto

I had the same problem; after browsing the python code, I got the idea of using --flat, which solved the issue for me (also because I didn't need the section feature).

anuyts avatar Jul 31 '20 18:07 anuyts

Oh I get it, you normally get this message when you rerun inkslides but none of your slides has actually changed. If you happen to run the script on a file with 0 frames, then in no frame it notices a change (even if no prior version exists) and so your "old" pdf is assumed to be still up to date. I had a file with a flat structure (top-level layers were frames, no sublayers). By omitting --flat, the script interpreted top-level layers as sections and the non-existent sublayers as frames, i.e. I had 0 frames.

anuyts avatar Aug 01 '20 06:08 anuyts