• Resolved donshapiro

    (@donshapiro)


    Page 4 of this 20 page PDF does not load. It’s blank. The PDF is compressed and optimized for the web at a total of 2mb. The page looks fine in Acrobat and it displays correctly uncompressed in Canva where it was created. But I can’t get page 4 to show.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author DearHive

    (@dearhive)

    Hi,

    That pdf itself is not working in mobile pdf reader, acrobat, either.

    Please check that exported pdf in browsers, or simply tru re-uploading the pdf , it the pdf is correct.

    We recommend testing your pdf file directly at, https://mozilla.github.io/pdf.js/web/viewer.html
    Mozilla browser, chrome browser.

    Best Regards,
    DearHive

    Thread Starter donshapiro

    (@donshapiro)

    DearHive,

    Thank you for responding.

    PDF works perfectly in Acrobat. I have Acrobat running right now and I can see page 4 and every other page. I have sent this PDF to others and they can see the entire PDF. It also works perfectly in Canva where it was created. It works everywhere except when it is loaded in the PDF Flipbook plugin.

    The testing page you linked to is not a testing page. It is an academic article.

    I just loaded the PDF to Yumpu publishing and they were able to publish the entire PDF and all pages show.

    Let’s focus on the issue which is only the plugin and not any other way of showing this PDF. If you want me to email the PDF directly to you so you can test this yourself as opposed to trying to lift it off the plugin page, I would be happy to do so.

    Plugin Author DearHive

    (@dearhive)

    Hi @donshapiro ,

    Let’s me explain in detail.

    The PDF(uploaded to the site, link below) is, probably, not complete or corrupted.
    https://donshapiro.com/wp-content/uploads/2022/12/Voluntary-Influence-Information-Booklet-Digital-uncompressed.pdf
    We checked it’s state with PDF ghostscript and had the following output.

    GPL Ghostscript 9.27 (2019-04-04)
    Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
    This software is supplied unde
    r the GNU AGPLv3 and comes with NO WARRANTY:
    see the file COPYING for details.
    
    Processing pages 1 through 20.
    
    Page 1
    
    Page 2
    
    Page 3
    
    Page 4
    
       **** Error reading a content stream. The page may be incomplete.
    
                   Output may be incorrect.
    
       **** Error reading a content stream. The page may be incomplete.
    
                   Output may be incorrect.
    
       **** Error reading a content stream. The page may be incomplete.
    
                   Output may be incorrect.
    
       **** Error reading a content stream. The page may be incomplete.
    
                   Output may be incorrect.
    
       **** Error reading a content stream. The page may be incomplete.
    
                   Output may be incorrect.
    
       **** Error: Recursive XObject detected, ignoring "X83", object number 42
                   Output may be incorrect.
    
       **** Error: Recursive XObject detected, ignoring "X82", object number 58
                   Output may be incorrect.
    
       **** Error: Recursive XObject detected, ignoring "X89", object number 42
                   Output may be incorrect.
    
       **** Error: Recursive XObject detected, ignoring "X88", object number 59
                   Output may be incorrect.
    
       **** Error: Recursive XObject detected, ignoring "X94", object number 60
                   Output may be incorrect.
    
       **** Error: Recursive XObject detected, ignoring "X100", object number 61
                   Output may be incorrect.
    
       **** Error: Recursive XObject detected, ignoring "X106", object number 62
                   Output may be incorrect.
    
       **** Error: Recursive XObject detected, ignoring "X112", object number 63
                   Output may be incorrect.
    
       **** Error reading a content stream. The page may be incomplete.
    
                   Output may be incorrect.
    
       **** Error: Form stream has unbalanced q/Q operators (too many q's)
    
                   Output may be incorrect.
    
       **** Error reading a content stream. The page may be incomplete.
    
                   Output may be incorrect.
    
       **** Error: File did not complete the page properly and may be damaged.
    
                   Output may be incorrect.
    
    Error: /rangecheck
     in --repeat--
    
    Operand stack:
       --dict:14/22(L)--   --nostringval--   9   67   false   --dict:3/3(L)--   6   Fm0   101   0.0   -1   --nostrin
    gval--
    Execution stack:
       %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   
    --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1992   1   3   %oparray_pop   1991   1   3   %
    oparray_pop   1979   1   3   %oparray_pop   1980   1   3   %oparray_pop   --nostringval--   --nostringval--   5   1   20   --nos
    tringval--   %for_pos_int_continue   1983   1   7   %oparray_pop   --nostringval--   --nostringval--   false   1   %stopped_push
       --nostringval--
    Dictionary stack:
       --dict:744/1123(ro)(G)--   --dict:1/20(G)--   --dict:81/200(L)--   --dict:81/200(L)--   
    --dict:133/256(ro)(G)--   --dict:317/325(ro)(G)--   --dict:31/32(L)--   --dict:6/9(L)--   --dict:7/20(L)--   --dict:1/1(ro)(G)--
       --dict:1/1(ro)(G)--
    Current allocation mode is local
    Last OS error: No such file or directory
    
    GPL Ghostscript 
    9.27
    : 
    Unrecoverable error, exit code 1

    We tried loading the PDF in mobile PDF viewer, Samsung Android device – Adobe PDF reader, page 4 was missing there too.

    We load it in Desktop Acrobat Reader, Page 4 is comparatively really slow to render, we are using a 8 core CPU.
    We loaded it in Nitro PDF Desktop Editor, Page 4 is slow there too.

    This gave us a impression that the PDF could be having corrupt data.

    This can happen either due to pdf itself being faulty, or the file getting faulty after upload.
    We tried to confirm which one is it, by asking you to test the PDF in those various links. Because you have access to both states of PDF.
    https://mozilla.github.io/pdf.js/web/viewer.html is Mozilla’s PDF viewer using the same library that is used in our flipbook. There you see an academic article as default PDF. and after that page loads you can open you local PDF there using toolbar button(top right corner)

    If it didn’t work there too, we could conclude that PDF.js is not supporting the export capabilities of Canva platform and we could look for further solutions/troubleshooting.
    Like asking you to share the Canva Document share URL – from which we could export and test the compatibilities between Canva export and pdf.js library(which we use to display) or share the PDF file on your desktop – like you suggested.

    For us the PDF file in your desktop/device is different than the PDF file state uploaded to the URL
    https://donshapiro.com/wp-content/uploads/2022/12/Voluntary-Influence-Information-Booklet-Digital-uncompressed.pdf
    That PDF file is 2.2MB – is that the size of PDF file in your device/desktop.

    How can that happen? It can happen due to fault gzip compression on the PDF file from the website server. PDFs should not be gzipped. Or due to server upload and download transaction error/transaction loss.

    So please trust our diagnosis, and requests so that we can conclude the source of problem and suggest if it’s possible to get the PDF working with our plugin or not.
    If it’s possible, we will tell you how it’s possible. If it’s not possible we will tell you why it’s not possible.

    Best Regards,
    DearHive

    • This reply was modified 1 year, 11 months ago by DearHive.
    Thread Starter donshapiro

    (@donshapiro)

    Thanks DearHive,

    While it was beyond me to understand all the technical issues your multiple testing discovered, this caused me to focus on that one page. I have noticed that while I can fully render page 4 in Acrobat (on a gaming computer!), it is slow. And it is only this page which doesn’t show when all the pages have graphics and images.

    The PDF itself couldn’t be corrupt or the rest of it wouldn’t render or it would have multiple rendering issues instead of just this one page and no other. I could see the page in Canva where it was created. I have used downloaded pdf’s from Canva of this document with page 4 to successfully print a copy and send it to others.

    Based on this, I started testing the construction of this page. First, I deleted the page and recreated it with the same elements. Page 4 still didn’t show. Then I started focusing on each element. There was a photo image and a vector graphic that is supplied by Canva. I tested the page without the photo image. Still no Page 4. I tested the page with no photo image and no graphic. Page 4 showed. I tested with the photo and no graphic. Page 4 showed. I replaced the graphic with another from Canva and page 4 showed.

    It was the specific vector graphic that was corrupt and creating the problem for the entire page. I use this artist graphics throughout the PDF but this particular one appears to have been corrupt.

    Problem solved.
    Don

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘One page of a 20 page PDF doesn’t load’ is closed to new replies.