Menu

#300 gscan2pdf produces

v1.0_(example)
closed-fixed
nobody
unpaper (1)
4
2018-12-07
2018-06-22
No

Similar to:
https://sourceforge.net/p/gscan2pdf/bugs/205/

I get
Error running unpaper: [image2 @ %x] Encoder did not produce proper pts, making some up.

For every page of every doument every time.

Worse, they come up in random order, but I have to close them in reverse order they opened! The close box works on only one at a time! Ubuntu 16.04 LTS version 1.3.9

1 Attachments

Related

Bugs: #300

Discussion

  • Jeffrey Ratcliffe

    You don't say which version of gscan2pdf you are using, but recent
    versions included a tick box in the warning window "Don't show this
    message again", which should suppress similar messages in subsequent
    runs of the tool.

    Please start gscan2pdf from the command line with the --log=log option,
    reproduce the problem, quit and post the log file.

     
  • Bryce Nesbitt

    Bryce Nesbitt - 2018-06-25

    Per above: Ubuntu 16.04 LTS platform, Gscan2pdf Version 1.3.9

    The full log has the names of personal documents (trusts and wills). Here's the last section:

    DEBUG - Free space in /tmp/gscan2pdf-7C3m (Mb): 4212.7109375 (warning at 10)
    INFO - Importing scan with resolution=200
    INFO - gscan2pdf: sane_start: Document feeder out of documents
    INFO - Header suggests 3689317
    INFO - Expecting 3689317, found 3689317
    INFO - New page filename /tmp/gscan2pdf-7C3m/ooeSqihpsO.pnm, format Portable anymap
    INFO - Added /tmp/gscan2pdf-7C3m/lfRmx7ZF4D.pnm at page 5 with resolution 200
    DEBUG - Started setting page_number_start from 5 to 6
    DEBUG - Finished setting page_number_start from 5 to 6
    INFO - Scanning 0 pages from 1 with step 1
    DEBUG - signal 'started-process' emitted with message: Scanning page 6
    DEBUG - signal 'finished-process' emitted with data: scan_pages
    INFO - Processing sheet #1: /tmp/gscan2pdf-7C3m/f7F61PCV1w.pnm -> /tmp/gscan2pdf-7C3m/KhFiagxiA7.pnm

    ERROR - [image2 @ 0xa72fe0] Encoder did not produce proper pts, making some up.

    INFO - New page filename /tmp/gscan2pdf-7C3m/KhFiagxiA7.pnm, format Portable anymap
    INFO - unpaper --black-threshold 0.33 --border-margin 0,0 --deskew-scan-direction left,right --layout single --output-pages 1 --white-threshold 0.9 --overwrite /tmp/gscan2pdf-7C3m/lfRmx7ZF4D.pnm /tmp/gscan2pdf-7C3m/byUzQuaGuZ.pnm ;
    ERROR - Error running unpaper: [image2 @ 0xa72fe0] Encoder did not produce proper pts, making some up.

    INFO - Replaced /tmp/gscan2pdf-7C3m/YxxRw0tD8y.pnm at page 4 with /tmp/gscan2pdf-7C3m/YxxRw0tD8y.pnm, resolution 200
    INFO - Processing sheet #1: /tmp/gscan2pdf-7C3m/lfRmx7ZF4D.pnm -> /tmp/gscan2pdf-7C3m/byUzQuaGuZ.pnm

    ERROR - [image2 @ 0x2229fe0] Encoder did not produce proper pts, making some up.

    INFO - New page filename /tmp/gscan2pdf-7C3m/byUzQuaGuZ.pnm, format Portable anymap
    ERROR - Error running unpaper: [image2 @ 0x2229fe0] Encoder did not produce proper pts, making some up.

    INFO - Replaced /tmp/gscan2pdf-7C3m/pqnss_srWt.pnm at page 5 with /tmp/gscan2pdf-7C3m/pqnss_srWt.pnm, resolution 200

    When I saw the error message, I was unclear if it was ignorable, or serious.

     
  • Jeffrey Ratcliffe

    The errors are from unpaper - gscan2pdf is just passing them on. They don't seem to be serious.

    That version of gscan2pdf is over 2 years old. I suggest you upgrade to the latest via the PPA.

     
  • Jeffrey Ratcliffe

    That is rather my point. The latest version does a much better job at ignoring warnings/errors like that.

    The PPA isn't really outside the Ubuntu platform. If you look at the gscan2pdf on Ubuntu, I am listed as maintainer, not because I am an Ubuntu developer, but because Ubuntu takes gscan2pdf directly from Debian, and I am a Debian Developer and create the gscan2pdf Debian packages:

    https://launchpad.net/ubuntu/+source/gscan2pdf

    https://launchpad.net/~jeffreyratcliffe/+archive/ubuntu/ppa

    The packages in the PPA are built by Ubuntu against the appropriate Ubuntu release, using the source I provide.

     
  • Jeffrey Ratcliffe

    The latest release also collect the error messages into one window, meaning there is only one window to close.

     
  • Jeffrey Ratcliffe

    • status: open --> closed-fixed
     

Log in to post a comment.