On Tue, 27 Sep 2016, Jeffrey Ratcliffe wrote:

> I don't understand why this still happens. This bug is basically a
> duplicate of #833521, which I fixed and closed in v1.5.2.
> 
> Please start gscan2pdf from the command line:
> 
> gscan2pdf --log=log
> 
> Reproduce the problem, quit gscan2pdf and post the log file.

I have attached the log file.


-- 
Francois Gouget <[email protected]>              http://fgouget.free.fr/
           Vote Electronique: Les gens qui votent ne décident rien.
                 Ceux qui comptent les votes décident de tout.
INFO - Starting gscan2pdf 1.5.2
INFO - Log level DEBUG
INFO - Using fr_FR.UTF-8 locale
INFO - Startup LC_NUMERIC C
INFO - Reading config from /home/fgouget/.gscan2pdf
INFO - Config file version 1.5.2
DEBUG - $VAR1 = {
          'cwd' => '/home/fgouget/Documents/private/AppartLognes/Achat',
          'Paper' => {
                       'A4' => {
                                 'y' => 297,
                                 'x' => 210,
                                 't' => 0,
                                 'l' => 0
                               },
                       "L\x{e9}gal US" => {
                                      'y' => 356,
                                      'x' => 216,
                                      'l' => 0,
                                      't' => 0
                                    },
                       'Lettre US' => {
                                        'l' => 0,
                                        't' => 0,
                                        'x' => 216,
                                        'y' => 279
                                      }
                     },
          'TMPDIR' => '/shortcuts/tmp2',
          'scan prefix' => '',
          'scan_window_height' => 863,
          'unsharp sigma' => 1,
          'profile' => {},
          'window_height' => 1078,
          'scan-reload-triggers' => [
                                      'mode'
                                    ],
          'window_width' => 1283,
          'downsample dpi' => 200,
          'default filename' => '%a %y-%m-%d',
          'unsharp threshold' => '0.05',
          'cache options' => 1,
          'allow-batch-flatbed' => '1',
          'current_udt' => 'gimp %i',
          'quality' => 65,
          'frontend' => 'libsane-perl',
          'unpaper on scan' => '1',
          'message' => {
                         'Error adding text layer to DjVu' => {},
                         "Des pages n'ont pas \x{e9}t\x{e9} enregistr\x{e9}es.
Voulez-vous vraiment effacer toutes les pages\x{202f}?" => {},
                         'Error running unpaper: [image2 @ 0x1dd3040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ %%x] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Voulez vous vraiment quitter ?' => {},
                         'Error running unpaper: [image2 @ 0x16b5900] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         "Aucun p\x{e9}riph\x{e9}rique trouv\x{e9}" => {},
                         'Error running unpaper: [image2 @ 0x8bee20] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1063040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [ppm_pipe @ %%x] Stream #0: 
not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1517040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         "Vous devez red\x{e9}marrer gscan2pdf pour que le 
changement de r\x{e9}pertoire temporaire prenne effet." => {},
                         'Error running unpaper: [ppm_pipe @ 0xb34cc0] Stream 
#0: not enough frames to estimate rate; consider increasing probesize
[image2 @ 0xb37aa0] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {
                                                                                
                                                                                
                                                                                
                                                                                
                        'response' => 'close'
                                                                                
                                                                                
                                                                                
                                                                                
                      },
                         'Error running unpaper: [image2 @ %%x] Encoder did not 
produce proper pts, making some up.
' => {
                                                                                
                                           'response' => 'close'
                                                                                
                                         },
                         'Error running unpaper: [image2 @ 0xd2ae20] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x17ed900] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1881040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [ppm_pipe @ 0xf9bcc0] Stream 
#0: not enough frames to estimate rate; consider increasing probesize
[image2 @ 0xf9eaa0] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {
                                                                                
                                                                                
                                                                                
                                                                                
                        'response' => 'close'
                                                                                
                                                                                
                                                                                
                                                                                
                      },
                         'Error running unpaper: [image2 @ 0x139c040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [pgm_pipe @ %%x] Stream #0: 
not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1d11900] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1ed8e20] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {}
                       },
          'view files toggle' => '',
          'window_maximize' => '',
          'auto-open-scan-dialog' => '1',
          'Page range' => 'all',
          'unpaper options' => {
                                 'output-pages' => '1',
                                 'no-deskew' => '',
                                 'no-mask-scan' => '',
                                 'no-border-scan' => '',
                                 'deskew-scan-direction' => 'left,right',
                                 'no-border-align' => '',
                                 'no-noisefilter' => '',
                                 'border-margin' => '0,0',
                                 'layout' => 'single',
                                 'no-grayfilter' => '',
                                 'black-threshold' => '0.05',
                                 'no-blurfilter' => '',
                                 'no-blackfilter' => '',
                                 'white-threshold' => '0.95'
                               },
          'author-suggestions' => [
                                    '',
                                    'Vernier',
                                    'Foncia',
                                    'Conseil Syndical',
                                    '!Xi',
                                    "Les Aliz\x{e9}s",
                                    'Bricard'
                                  ],
          'pdf font' => 
'/usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf',
          'keyword-suggestions' => [
                                     ''
                                   ],
          'layout' => 'single',
          'Dark threshold' => '0.12',
          'author' => 'Bricard',
          'ocr language' => 'fra',
          'pdf compression' => 'jpg',
          'Blank threshold' => '0.005',
          'downsample' => '1',
          'visible-scan-options' => {
                                      'calibration-cache' => 1,
                                      'mode' => 1,
                                      'speed' => 1,
                                      'threshold' => 1,
                                      'contrast' => 1,
                                      'pagewidth' => 1,
                                      'overscan-bottom' => 1,
                                      'adf-mode' => 1,
                                      'wait-for-button' => 1,
                                      'brightness' => 1,
                                      'page-height' => 1,
                                      'x' => 1,
                                      'compression' => 1,
                                      't' => 1,
                                      'source' => 1,
                                      'l' => 1,
                                      'Paper size' => 1,
                                      'overscan-top' => 1,
                                      'y' => 1,
                                      'page-width' => 1,
                                      'button-wait' => 1,
                                      'gain' => 1,
                                      'pageheight' => 1,
                                      'adf_mode' => 1,
                                      'batch-scan' => 1,
                                      'resolution' => 1
                                    },
          'thumb panel' => 189,
          'ocr engine' => 'tesseract',
          'device' => 'hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73',
          'rotate reverse' => '0',
          'libsane-perl version' => '0.05',
          'version' => '1.5.2',
          'OCR on scan' => '1',
          'unsharp radius' => 0,
          'subject-suggestions' => [
                                     ''
                                   ],
          'threshold-before-ocr' => '',
          'title' => 'Serrure',
          'keywords' => '',
          'image type' => 'pdf',
          'document date' => '2014-12-23',
          'scan_window_width' => 756,
          'cycle sane handle' => '',
          'selection' => [
                           0,
                           0,
                           1036,
                           672
                         ],
          'close_dialog_on_save' => '1',
          'available-tmp-warning' => '10',
          'rotate facing' => '0',
          'threshold tool' => 50,
          'SANE version' => '1.0.25',
          'title-suggestions' => [
                                   "Convocation d'Assembl\x{e9}e 
G\x{e9}n\x{e9}rale - Le Clos du Parc",
                                   'Convocation AG - Le Clos du Parc',
                                   'Devis',
                                   'DSN 2016',
                                   'Lognes RGD 2016-05-27',
                                   'Cachan RGD 2016-08-09',
                                   'Cachan RGD 2016-08-09 Annexes',
                                   'Cachan Factures du Conseil Syndical',
                                   'Cachan Factures de courrier',
                                   'Cachan Remboursements',
                                   'Convocatino !Xi',
                                   "R\x{e8}glement de Copropri\x{e9}t\x{e9}",
                                   'Serrure'
                                 ],
          'window_y' => 93,
          'device blacklist' => '',
          'user_defined_tools' => [
                                    'gimp %i'
                                  ],
          'udt_on_scan' => '',
          'subject' => '',
          'unsharp amount' => 1,
          'window_x' => -4,
          'restore window' => '1',
          'pages to scan' => '1',
          'default-scan-options' => {
                                      'backend' => [
                                                     {
                                                       'jpeg-quality' => '15'
                                                     },
                                                     {
                                                       'resolution' => '300'
                                                     },
                                                     {
                                                       'mode' => 'Color'
                                                     }
                                                   ]
                                    },
          'OCR output' => 'replace'
        };

WARN - Redundant argument in sprintf at /usr/share/perl5/Gscan2pdf/Config.pm 
line 155.

INFO - Operating system: linux
INFO - PRETTY_NAME="Debian GNU/Linux stretch/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";
INFO - Perl version v5.22.2
INFO - Glib-Perl version 1.321
INFO - Built for Glib 2.48.1
INFO - Running with Glib 2.49.6
INFO - Gtk2-Perl version 1.2498
INFO - Built for GTK 2.24.30
INFO - Running with GTK 2.24.30
INFO - Gscan2pdf::Document version 1.5.2
INFO - Using GtkImageView version 1.6.4
INFO - Using Gtk2::ImageView version 0.05
INFO - Using PDF::API2 version 2.025
INFO - Using Sane version 1.0.25
INFO - Using libsane-perl version 0.05
DEBUG - $VAR1 = {
          'auto-open-scan-dialog' => '1',
          'Page range' => 'all',
          'frontend' => 'libsane-perl',
          'quality' => 65,
          'unpaper on scan' => '1',
          'message' => {
                         'Error adding text layer to DjVu' => {},
                         "Des pages n'ont pas \x{e9}t\x{e9} enregistr\x{e9}es.
Voulez-vous vraiment effacer toutes les pages\x{202f}?" => {},
                         'Error running unpaper: [image2 @ 0x1dd3040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ %%x] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Voulez vous vraiment quitter ?' => {},
                         'Error running unpaper: [image2 @ 0x16b5900] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         "Aucun p\x{e9}riph\x{e9}rique trouv\x{e9}" => {},
                         'Error running unpaper: [image2 @ 0x8bee20] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1063040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [ppm_pipe @ %%x] Stream #0: 
not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1517040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         "Vous devez red\x{e9}marrer gscan2pdf pour que le 
changement de r\x{e9}pertoire temporaire prenne effet." => {},
                         'Error running unpaper: [ppm_pipe @ 0xb34cc0] Stream 
#0: not enough frames to estimate rate; consider increasing probesize
[image2 @ 0xb37aa0] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {
                                                                                
                                                                                
                                                                                
                                                                                
                        'response' => 'close'
                                                                                
                                                                                
                                                                                
                                                                                
                      },
                         'Error running unpaper: [image2 @ %%x] Encoder did not 
produce proper pts, making some up.
' => {
                                                                                
                                           'response' => 'close'
                                                                                
                                         },
                         'Error running unpaper: [image2 @ 0xd2ae20] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x17ed900] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1881040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [ppm_pipe @ 0xf9bcc0] Stream 
#0: not enough frames to estimate rate; consider increasing probesize
[image2 @ 0xf9eaa0] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {
                                                                                
                                                                                
                                                                                
                                                                                
                        'response' => 'close'
                                                                                
                                                                                
                                                                                
                                                                                
                      },
                         'Error running unpaper: [image2 @ 0x139c040] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [pgm_pipe @ %%x] Stream #0: 
not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1d11900] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [image2 @ 0x1ed8e20] Using 
AVStream.codec to pass codec parameters to muxers is deprecated, use 
AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {}
                       },
          'view files toggle' => '',
          'window_maximize' => '',
          'layout' => 'single',
          'author' => 'Bricard',
          'Dark threshold' => '0.12',
          'pdf compression' => 'jpg',
          'ocr language' => 'fra',
          'unpaper options' => {
                                 'output-pages' => '1',
                                 'no-deskew' => '',
                                 'no-mask-scan' => '',
                                 'no-border-scan' => '',
                                 'deskew-scan-direction' => 'left,right',
                                 'no-border-align' => '',
                                 'no-noisefilter' => '',
                                 'border-margin' => '0,0',
                                 'layout' => 'single',
                                 'no-grayfilter' => '',
                                 'black-threshold' => '0.05',
                                 'no-blurfilter' => '',
                                 'no-blackfilter' => '',
                                 'white-threshold' => '0.95'
                               },
          'author-suggestions' => [
                                    '',
                                    'Vernier',
                                    'Foncia',
                                    'Conseil Syndical',
                                    '!Xi',
                                    "Les Aliz\x{e9}s",
                                    'Bricard'
                                  ],
          'pdf font' => 
'/usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf',
          'keyword-suggestions' => [
                                     ''
                                   ],
          'scan prefix' => '',
          'unsharp sigma' => 1,
          'profile' => {},
          'scan_window_height' => 863,
          'cwd' => '/home/fgouget/Documents/private/AppartLognes/Achat',
          'Paper' => {
                       'A4' => {
                                 'y' => 297,
                                 'x' => 210,
                                 't' => 0,
                                 'l' => 0
                               },
                       "L\x{e9}gal US" => {
                                      'y' => 356,
                                      'x' => 216,
                                      'l' => 0,
                                      't' => 0
                                    },
                       'Lettre US' => {
                                        'l' => 0,
                                        't' => 0,
                                        'x' => 216,
                                        'y' => 279
                                      }
                     },
          'TMPDIR' => '/shortcuts/tmp2',
          'default filename' => '%a %y-%m-%d',
          'unsharp threshold' => '0.05',
          'cache options' => 1,
          'allow-batch-flatbed' => '1',
          'current_udt' => 'gimp %i',
          'scan-reload-triggers' => [
                                      'mode'
                                    ],
          'window_height' => 1078,
          'window_width' => 1283,
          'downsample dpi' => 200,
          'available-tmp-warning' => '10',
          'rotate facing' => '0',
          'threshold tool' => 50,
          'title-suggestions' => [
                                   "Convocation d'Assembl\x{e9}e 
G\x{e9}n\x{e9}rale - Le Clos du Parc",
                                   'Convocation AG - Le Clos du Parc',
                                   'Devis',
                                   'DSN 2016',
                                   'Lognes RGD 2016-05-27',
                                   'Cachan RGD 2016-08-09',
                                   'Cachan RGD 2016-08-09 Annexes',
                                   'Cachan Factures du Conseil Syndical',
                                   'Cachan Factures de courrier',
                                   'Cachan Remboursements',
                                   'Convocatino !Xi',
                                   "R\x{e8}glement de Copropri\x{e9}t\x{e9}",
                                   'Serrure'
                                 ],
          'device blacklist' => '',
          'window_y' => 93,
          'SANE version' => '1.0.25',
          'user_defined_tools' => [
                                    'gimp %i'
                                  ],
          'subject' => '',
          'udt_on_scan' => '',
          'scan_window_width' => 756,
          'cycle sane handle' => '',
          'close_dialog_on_save' => '1',
          'selection' => [
                           0,
                           0,
                           1036,
                           672
                         ],
          'restore window' => '1',
          'window_x' => -4,
          'pages to scan' => '1',
          'default-scan-options' => {
                                      'backend' => [
                                                     {
                                                       'jpeg-quality' => '15'
                                                     },
                                                     {
                                                       'resolution' => '300'
                                                     },
                                                     {
                                                       'mode' => 'Color'
                                                     }
                                                   ]
                                    },
          'OCR output' => 'replace',
          'unsharp amount' => 1,
          'version' => '1.5.2',
          'libsane-perl version' => '0.05',
          'OCR on scan' => '1',
          'unsharp radius' => 0,
          'subject-suggestions' => [
                                     ''
                                   ],
          'Blank threshold' => '0.005',
          'downsample' => '1',
          'visible-scan-options' => {
                                      'calibration-cache' => 1,
                                      'mode' => 1,
                                      'speed' => 1,
                                      'threshold' => 1,
                                      'contrast' => 1,
                                      'pagewidth' => 1,
                                      'overscan-bottom' => 1,
                                      'adf-mode' => 1,
                                      'wait-for-button' => 1,
                                      'brightness' => 1,
                                      'page-height' => 1,
                                      'x' => 1,
                                      'compression' => 1,
                                      't' => 1,
                                      'source' => 1,
                                      'l' => 1,
                                      'Paper size' => 1,
                                      'overscan-top' => 1,
                                      'y' => 1,
                                      'page-width' => 1,
                                      'button-wait' => 1,
                                      'gain' => 1,
                                      'pageheight' => 1,
                                      'adf_mode' => 1,
                                      'batch-scan' => 1,
                                      'resolution' => 1
                                    },
          'thumb panel' => 189,
          'rotate reverse' => '0',
          'device' => 'hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73',
          'ocr engine' => 'tesseract',
          'title' => 'Serrure',
          'keywords' => '',
          'document date' => '2014-12-23',
          'image type' => 'pdf',
          'threshold-before-ocr' => ''
        };

INFO - Found tesseract version 3.04.01.
INFO - Found Image::Magick
INFO - Found ImageMagick
INFO - Found scanadf
INFO - Found xdg-email
INFO - Found cjb2 (djvu)
INFO - Found libtiff
INFO - Found pdfunite
INFO - Found unpaper v6.1
INFO - Found gocr
INFO - Found tesseract
INFO - Checking /shortcuts/tmp2 for crashed sessions
INFO - Using /shortcuts/tmp2/gscan2pdf-UAJt for temporary files
DEBUG - Set logger in Gscan2pdf::Dialog::Scan::Sane
DEBUG - Set logger in Gscan2pdf::Dialog::Scan
INFO - Found tesseract language equ
INFO - Found tesseract language osd
INFO - Found tesseract language fra
INFO - Found tesseract language eng
INFO - Sane->get_devices returned: $VAR1 = [
          {
            'vendor' => 'Hewlett-Packard',
            'type' => 'all-in-one',
            'name' => 'hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73',
            'model' => 'PSC_2170_Series'
          }
        ];

DEBUG - Started setting device_list from undef to $VAR1 = [
          {
            'vendor' => 'Hewlett-Packard',
            'type' => 'all-in-one',
            'name' => 'hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73',
            'model' => 'PSC_2170_Series'
          }
        ];

INFO - signal 'changed-device-list' emitted with data: $VAR1 = [
          {
            'model' => 'PSC_2170_Series',
            'type' => 'all-in-one',
            'label' => 'Hewlett-Packard PSC_2170_Series',
            'name' => 'hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73',
            'vendor' => 'Hewlett-Packard'
          }
        ];

DEBUG - Started setting device from  to 
hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73
INFO - signal 'changed-device' emitted with data: 
'hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73'
DEBUG - Finished setting device from  to 
hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73
DEBUG - Finished setting device_list from undef to $VAR1 = [
          {
            'vendor' => 'Hewlett-Packard',
            'type' => 'all-in-one',
            'name' => 'hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73',
            'model' => 'PSC_2170_Series'
          }
        ];

DEBUG - signal 'started-process' emitted with message: Ouvrir le p�riph�rique
DEBUG - signal 'finished-process' emitted with data: open_device
DEBUG - signal 'started-process' emitted with message: Retrieving options
DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( {
                 'geometry' => {
                                 't' => 0,
                                 'l' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '296.925994873047'
                               },
                 'hash' => {
                             'jpeg-quality' => {
                                                 'title' => 'JPEG compression 
factor',
                                                 'val' => 10,
                                                 'constraint_type' => 1,
                                                 'max_values' => 1,
                                                 'constraint' => {
                                                                   'max' => 100,
                                                                   'min' => 0,
                                                                   'quant' => 0
                                                                 },
                                                 'index' => 8,
                                                 'unit' => 0,
                                                 'desc' => 'Sets the scanner 
JPEG compression factor. Larger numbers mean better compression, and smaller 
numbers mean better image quality.',
                                                 'name' => 'jpeg-quality',
                                                 'cap' => 69,
                                                 'type' => 1
                                               },
                             'contrast' => {
                                             'max_values' => 1,
                                             'constraint_type' => 1,
                                             'val' => 0,
                                             'index' => 5,
                                             'constraint' => {
                                                               'quant' => 0,
                                                               'min' => -127,
                                                               'max' => 127
                                                             },
                                             'title' => 'Contrast',
                                             'type' => 1,
                                             'name' => 'contrast',
                                             'cap' => 69,
                                             'unit' => 0,
                                             'desc' => 'Controls the contrast 
of the acquired image.'
                                           },
                             'tl-y' => {
                                         'val' => 0,
                                         'max_values' => 1,
                                         'constraint_type' => 1,
                                         'constraint' => {
                                                           'min' => 0,
                                                           'max' => 
'296.925994873047',
                                                           'quant' => 0
                                                         },
                                         'index' => 15,
                                         'title' => 'Top-left y',
                                         'desc' => 'Top-left y position of scan 
area.',
                                         'unit' => 3,
                                         'type' => 2,
                                         'name' => 'tl-y',
                                         'cap' => 5
                                       },
                             'brightness' => {
                                               'title' => 'Brightness',
                                               'val' => 0,
                                               'constraint_type' => 1,
                                               'max_values' => 1,
                                               'constraint' => {
                                                                 'quant' => 0,
                                                                 'max' => 127,
                                                                 'min' => -127
                                                               },
                                               'index' => 6,
                                               'desc' => 'Controls the 
brightness of the acquired image.',
                                               'unit' => 0,
                                               'name' => 'brightness',
                                               'type' => 1,
                                               'cap' => 69
                                             },
                             'br-y' => {
                                         'unit' => 3,
                                         'desc' => 'Bottom-right y position of 
scan area.',
                                         'type' => 2,
                                         'name' => 'br-y',
                                         'cap' => 5,
                                         'constraint' => {
                                                           'quant' => 0,
                                                           'max' => 
'296.925994873047',
                                                           'min' => 0
                                                         },
                                         'index' => 17,
                                         'val' => '296.925994873047',
                                         'max_values' => 1,
                                         'constraint_type' => 1,
                                         'title' => 'Bottom-right y'
                                       },
                             'compression' => {
                                                'constraint' => [
                                                                  'None',
                                                                  'JPEG'
                                                                ],
                                                'index' => 7,
                                                'val' => 'JPEG',
                                                'constraint_type' => 3,
                                                'max_values' => 1,
                                                'title' => 'Compression',
                                                'desc' => 'Selects the scanner 
compression method for faster scans, possibly at the expense of image quality.',
                                                'unit' => 0,
                                                'name' => 'compression',
                                                'cap' => 69,
                                                'type' => 3
                                              },
                             'source' => {
                                           'index' => 10,
                                           'constraint' => [
                                                             'Flatbed'
                                                           ],
                                           'max_values' => 1,
                                           'constraint_type' => 3,
                                           'val' => 'Flatbed',
                                           'title' => 'Scan source',
                                           'name' => 'source',
                                           'type' => 3,
                                           'cap' => 69,
                                           'unit' => 0,
                                           'desc' => 'Selects the scan source 
(such as a document-feeder).'
                                         },
                             'resolution' => {
                                               'index' => 3,
                                               'constraint' => [
                                                                 75,
                                                                 100,
                                                                 150,
                                                                 200,
                                                                 300,
                                                                 600,
                                                                 1200
                                                               ],
                                               'constraint_type' => 2,
                                               'max_values' => 1,
                                               'val' => 75,
                                               'title' => 'Scan resolution',
                                               'type' => 1,
                                               'name' => 'resolution',
                                               'cap' => 5,
                                               'unit' => 4,
                                               'desc' => 'Sets the resolution 
of the scanned image.'
                                             },
                             'batch-scan' => {
                                               'name' => 'batch-scan',
                                               'type' => 0,
                                               'cap' => 69,
                                               'unit' => 0,
                                               'desc' => 'Enables continuous 
scanning with automatic document feeder (ADF).',
                                               'title' => 'Batch scan',
                                               'index' => 9,
                                               'max_values' => 1,
                                               'constraint_type' => 0,
                                               'val' => 0
                                             },
                             'duplex' => {
                                           'desc' => 'Enables scanning on both 
sides of the page.',
                                           'unit' => 0,
                                           'name' => 'duplex',
                                           'cap' => 101,
                                           'type' => 0,
                                           'constraint_type' => 0,
                                           'max_values' => 1,
                                           'index' => 11,
                                           'title' => 'Duplex'
                                         },
                             'br-x' => {
                                         'title' => 'Bottom-right x',
                                         'constraint_type' => 1,
                                         'max_values' => 1,
                                         'val' => '215.899993896484',
                                         'index' => 16,
                                         'constraint' => {
                                                           'min' => 0,
                                                           'max' => 
'215.899993896484',
                                                           'quant' => 0
                                                         },
                                         'name' => 'br-x',
                                         'cap' => 5,
                                         'type' => 2,
                                         'desc' => 'Bottom-right x position of 
scan area.',
                                         'unit' => 3
                                       },
                             'mode' => {
                                         'index' => 2,
                                         'constraint' => [
                                                           'Lineart',
                                                           'Gray',
                                                           'Color'
                                                         ],
                                         'max_values' => 1,
                                         'constraint_type' => 3,
                                         'val' => 'Color',
                                         'title' => 'Scan mode',
                                         'name' => 'mode',
                                         'type' => 3,
                                         'cap' => 5,
                                         'unit' => 0,
                                         'desc' => 'Selects the scan mode 
(e.g., lineart, monochrome, or color).'
                                       },
                             'length-measurement' => {
                                                       'title' => 'Length 
measurement',
                                                       'val' => 'Padded',
                                                       'max_values' => 1,
                                                       'constraint_type' => 3,
                                                       'constraint' => [
                                                                         
'Unknown',
                                                                         
'Approximate',
                                                                         
'Padded'
                                                                       ],
                                                       'index' => 13,
                                                       'unit' => 0,
                                                       'desc' => 'Selects how 
the scanned image length is measured and reported, which is impossible to know 
in advance for scrollfed scans.',
                                                       'cap' => 69,
                                                       'name' => 
'length-measurement',
                                                       'type' => 3
                                                     },
                             'tl-x' => {
                                         'max_values' => 1,
                                         'constraint_type' => 1,
                                         'val' => 0,
                                         'index' => 14,
                                         'constraint' => {
                                                           'quant' => 0,
                                                           'min' => 0,
                                                           'max' => 
'215.899993896484'
                                                         },
                                         'title' => 'Top-left x',
                                         'name' => 'tl-x',
                                         'cap' => 5,
                                         'type' => 2,
                                         'unit' => 3,
                                         'desc' => 'Top-left x position of scan 
area.'
                                       }
                           },
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'unit' => 0,
                                'type' => 5,
                                'title' => 'Scan mode',
                                'cap' => 0,
                                'constraint_type' => 0,
                                'max_values' => 0,
                                'index' => 1
                              },
                              $VAR1->{'hash'}{'mode'},
                              $VAR1->{'hash'}{'resolution'},
                              {
                                'unit' => 0,
                                'title' => 'Advanced',
                                'type' => 5,
                                'cap' => 64,
                                'index' => 4,
                                'max_values' => 0,
                                'constraint_type' => 0
                              },
                              $VAR1->{'hash'}{'contrast'},
                              $VAR1->{'hash'}{'brightness'},
                              $VAR1->{'hash'}{'compression'},
                              $VAR1->{'hash'}{'jpeg-quality'},
                              $VAR1->{'hash'}{'batch-scan'},
                              $VAR1->{'hash'}{'source'},
                              $VAR1->{'hash'}{'duplex'},
                              {
                                'cap' => 64,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0,
                                'index' => 12,
                                'constraint_type' => 0,
                                'max_values' => 0
                              },
                              $VAR1->{'hash'}{'length-measurement'},
                              $VAR1->{'hash'}{'tl-x'},
                              $VAR1->{'hash'}{'tl-y'},
                              $VAR1->{'hash'}{'br-x'},
                              $VAR1->{'hash'}{'br-y'}
                            ]
               }, 'Gscan2pdf::Scanner::Options' );

DEBUG - signal 'finished-process' emitted with data: find_scan_options
DEBUG - Started setting available_scan_options from undef to $VAR1 = bless( {
                 'geometry' => {
                                 't' => 0,
                                 'l' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '296.925994873047'
                               },
                 'hash' => {
                             'jpeg-quality' => {
                                                 'title' => 'JPEG compression 
factor',
                                                 'val' => 10,
                                                 'constraint_type' => 1,
                                                 'max_values' => 1,
                                                 'constraint' => {
                                                                   'max' => 100,
                                                                   'min' => 0,
                                                                   'quant' => 0
                                                                 },
                                                 'index' => 8,
                                                 'unit' => 0,
                                                 'desc' => 'Sets the scanner 
JPEG compression factor. Larger numbers mean better compression, and smaller 
numbers mean better image quality.',
                                                 'name' => 'jpeg-quality',
                                                 'cap' => 69,
                                                 'type' => 1
                                               },
                             'contrast' => {
                                             'max_values' => 1,
                                             'constraint_type' => 1,
                                             'val' => 0,
                                             'index' => 5,
                                             'constraint' => {
                                                               'quant' => 0,
                                                               'min' => -127,
                                                               'max' => 127
                                                             },
                                             'title' => 'Contrast',
                                             'type' => 1,
                                             'name' => 'contrast',
                                             'cap' => 69,
                                             'unit' => 0,
                                             'desc' => 'Controls the contrast 
of the acquired image.'
                                           },
                             'tl-y' => {
                                         'val' => 0,
                                         'max_values' => 1,
                                         'constraint_type' => 1,
                                         'constraint' => {
                                                           'min' => 0,
                                                           'max' => 
'296.925994873047',
                                                           'quant' => 0
                                                         },
                                         'index' => 15,
                                         'title' => 'Top-left y',
                                         'desc' => 'Top-left y position of scan 
area.',
                                         'unit' => 3,
                                         'type' => 2,
                                         'name' => 'tl-y',
                                         'cap' => 5
                                       },
                             'brightness' => {
                                               'title' => 'Brightness',
                                               'val' => 0,
                                               'constraint_type' => 1,
                                               'max_values' => 1,
                                               'constraint' => {
                                                                 'quant' => 0,
                                                                 'max' => 127,
                                                                 'min' => -127
                                                               },
                                               'index' => 6,
                                               'desc' => 'Controls the 
brightness of the acquired image.',
                                               'unit' => 0,
                                               'name' => 'brightness',
                                               'type' => 1,
                                               'cap' => 69
                                             },
                             'br-y' => {
                                         'unit' => 3,
                                         'desc' => 'Bottom-right y position of 
scan area.',
                                         'type' => 2,
                                         'name' => 'br-y',
                                         'cap' => 5,
                                         'constraint' => {
                                                           'quant' => 0,
                                                           'max' => 
'296.925994873047',
                                                           'min' => 0
                                                         },
                                         'index' => 17,
                                         'val' => '296.925994873047',
                                         'max_values' => 1,
                                         'constraint_type' => 1,
                                         'title' => 'Bottom-right y'
                                       },
                             'compression' => {
                                                'constraint' => [
                                                                  'None',
                                                                  'JPEG'
                                                                ],
                                                'index' => 7,
                                                'val' => 'JPEG',
                                                'constraint_type' => 3,
                                                'max_values' => 1,
                                                'title' => 'Compression',
                                                'desc' => 'Selects the scanner 
compression method for faster scans, possibly at the expense of image quality.',
                                                'unit' => 0,
                                                'name' => 'compression',
                                                'cap' => 69,
                                                'type' => 3
                                              },
                             'source' => {
                                           'index' => 10,
                                           'constraint' => [
                                                             'Flatbed'
                                                           ],
                                           'max_values' => 1,
                                           'constraint_type' => 3,
                                           'val' => 'Flatbed',
                                           'title' => 'Scan source',
                                           'name' => 'source',
                                           'type' => 3,
                                           'cap' => 69,
                                           'unit' => 0,
                                           'desc' => 'Selects the scan source 
(such as a document-feeder).'
                                         },
                             'resolution' => {
                                               'index' => 3,
                                               'constraint' => [
                                                                 75,
                                                                 100,
                                                                 150,
                                                                 200,
                                                                 300,
                                                                 600,
                                                                 1200
                                                               ],
                                               'constraint_type' => 2,
                                               'max_values' => 1,
                                               'val' => 75,
                                               'title' => 'Scan resolution',
                                               'type' => 1,
                                               'name' => 'resolution',
                                               'cap' => 5,
                                               'unit' => 4,
                                               'desc' => 'Sets the resolution 
of the scanned image.'
                                             },
                             'batch-scan' => {
                                               'name' => 'batch-scan',
                                               'type' => 0,
                                               'cap' => 69,
                                               'unit' => 0,
                                               'desc' => 'Enables continuous 
scanning with automatic document feeder (ADF).',
                                               'title' => 'Batch scan',
                                               'index' => 9,
                                               'max_values' => 1,
                                               'constraint_type' => 0,
                                               'val' => 0
                                             },
                             'duplex' => {
                                           'desc' => 'Enables scanning on both 
sides of the page.',
                                           'unit' => 0,
                                           'name' => 'duplex',
                                           'cap' => 101,
                                           'type' => 0,
                                           'constraint_type' => 0,
                                           'max_values' => 1,
                                           'index' => 11,
                                           'title' => 'Duplex'
                                         },
                             'br-x' => {
                                         'title' => 'Bottom-right x',
                                         'constraint_type' => 1,
                                         'max_values' => 1,
                                         'val' => '215.899993896484',
                                         'index' => 16,
                                         'constraint' => {
                                                           'min' => 0,
                                                           'max' => 
'215.899993896484',
                                                           'quant' => 0
                                                         },
                                         'name' => 'br-x',
                                         'cap' => 5,
                                         'type' => 2,
                                         'desc' => 'Bottom-right x position of 
scan area.',
                                         'unit' => 3
                                       },
                             'mode' => {
                                         'index' => 2,
                                         'constraint' => [
                                                           'Lineart',
                                                           'Gray',
                                                           'Color'
                                                         ],
                                         'max_values' => 1,
                                         'constraint_type' => 3,
                                         'val' => 'Color',
                                         'title' => 'Scan mode',
                                         'name' => 'mode',
                                         'type' => 3,
                                         'cap' => 5,
                                         'unit' => 0,
                                         'desc' => 'Selects the scan mode 
(e.g., lineart, monochrome, or color).'
                                       },
                             'length-measurement' => {
                                                       'title' => 'Length 
measurement',
                                                       'val' => 'Padded',
                                                       'max_values' => 1,
                                                       'constraint_type' => 3,
                                                       'constraint' => [
                                                                         
'Unknown',
                                                                         
'Approximate',
                                                                         
'Padded'
                                                                       ],
                                                       'index' => 13,
                                                       'unit' => 0,
                                                       'desc' => 'Selects how 
the scanned image length is measured and reported, which is impossible to know 
in advance for scrollfed scans.',
                                                       'cap' => 69,
                                                       'name' => 
'length-measurement',
                                                       'type' => 3
                                                     },
                             'tl-x' => {
                                         'max_values' => 1,
                                         'constraint_type' => 1,
                                         'val' => 0,
                                         'index' => 14,
                                         'constraint' => {
                                                           'quant' => 0,
                                                           'min' => 0,
                                                           'max' => 
'215.899993896484'
                                                         },
                                         'title' => 'Top-left x',
                                         'name' => 'tl-x',
                                         'cap' => 5,
                                         'type' => 2,
                                         'unit' => 3,
                                         'desc' => 'Top-left x position of scan 
area.'
                                       }
                           },
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'unit' => 0,
                                'type' => 5,
                                'title' => 'Scan mode',
                                'cap' => 0,
                                'constraint_type' => 0,
                                'max_values' => 0,
                                'index' => 1
                              },
                              $VAR1->{'hash'}{'mode'},
                              $VAR1->{'hash'}{'resolution'},
                              {
                                'unit' => 0,
                                'title' => 'Advanced',
                                'type' => 5,
                                'cap' => 64,
                                'index' => 4,
                                'max_values' => 0,
                                'constraint_type' => 0
                              },
                              $VAR1->{'hash'}{'contrast'},
                              $VAR1->{'hash'}{'brightness'},
                              $VAR1->{'hash'}{'compression'},
                              $VAR1->{'hash'}{'jpeg-quality'},
                              $VAR1->{'hash'}{'batch-scan'},
                              $VAR1->{'hash'}{'source'},
                              $VAR1->{'hash'}{'duplex'},
                              {
                                'cap' => 64,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0,
                                'index' => 12,
                                'constraint_type' => 0,
                                'max_values' => 0
                              },
                              $VAR1->{'hash'}{'length-measurement'},
                              $VAR1->{'hash'}{'tl-x'},
                              $VAR1->{'hash'}{'tl-y'},
                              $VAR1->{'hash'}{'br-x'},
                              $VAR1->{'hash'}{'br-y'}
                            ]
               }, 'Gscan2pdf::Scanner::Options' );

DEBUG - Setting option 'jpeg-quality' to '15'.
DEBUG - Setting widget 'jpeg-quality' to '15'.
DEBUG - Finished setting available_scan_options from undef to $VAR1 = bless( {
                 'geometry' => {
                                 't' => 0,
                                 'l' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '296.925994873047'
                               },
                 'hash' => {
                             'jpeg-quality' => {
                                                 'title' => 'JPEG compression 
factor',
                                                 'val' => 10,
                                                 'constraint_type' => 1,
                                                 'max_values' => 1,
                                                 'constraint' => {
                                                                   'max' => 100,
                                                                   'min' => 0,
                                                                   'quant' => 0
                                                                 },
                                                 'index' => 8,
                                                 'unit' => 0,
                                                 'desc' => 'Sets the scanner 
JPEG compression factor. Larger numbers mean better compression, and smaller 
numbers mean better image quality.',
                                                 'name' => 'jpeg-quality',
                                                 'cap' => 69,
                                                 'type' => 1
                                               },
                             'contrast' => {
                                             'max_values' => 1,
                                             'constraint_type' => 1,
                                             'val' => 0,
                                             'index' => 5,
                                             'constraint' => {
                                                               'quant' => 0,
                                                               'min' => -127,
                                                               'max' => 127
                                                             },
                                             'title' => 'Contrast',
                                             'type' => 1,
                                             'name' => 'contrast',
                                             'cap' => 69,
                                             'unit' => 0,
                                             'desc' => 'Controls the contrast 
of the acquired image.'
                                           },
                             'tl-y' => {
                                         'val' => 0,
                                         'max_values' => 1,
                                         'constraint_type' => 1,
                                         'constraint' => {
                                                           'min' => 0,
                                                           'max' => 
'296.925994873047',
                                                           'quant' => 0
                                                         },
                                         'index' => 15,
                                         'title' => 'Top-left y',
                                         'desc' => 'Top-left y position of scan 
area.',
                                         'unit' => 3,
                                         'type' => 2,
                                         'name' => 'tl-y',
                                         'cap' => 5
                                       },
                             'brightness' => {
                                               'title' => 'Brightness',
                                               'val' => 0,
                                               'constraint_type' => 1,
                                               'max_values' => 1,
                                               'constraint' => {
                                                                 'quant' => 0,
                                                                 'max' => 127,
                                                                 'min' => -127
                                                               },
                                               'index' => 6,
                                               'desc' => 'Controls the 
brightness of the acquired image.',
                                               'unit' => 0,
                                               'name' => 'brightness',
                                               'type' => 1,
                                               'cap' => 69
                                             },
                             'br-y' => {
                                         'unit' => 3,
                                         'desc' => 'Bottom-right y position of 
scan area.',
                                         'type' => 2,
                                         'name' => 'br-y',
                                         'cap' => 5,
                                         'constraint' => {
                                                           'quant' => 0,
                                                           'max' => 
'296.925994873047',
                                                           'min' => 0
                                                         },
                                         'index' => 17,
                                         'val' => '296.925994873047',
                                         'max_values' => 1,
                                         'constraint_type' => 1,
                                         'title' => 'Bottom-right y'
                                       },
                             'compression' => {
                                                'constraint' => [
                                                                  'None',
                                                                  'JPEG'
                                                                ],
                                                'index' => 7,
                                                'val' => 'JPEG',
                                                'constraint_type' => 3,
                                                'max_values' => 1,
                                                'title' => 'Compression',
                                                'desc' => 'Selects the scanner 
compression method for faster scans, possibly at the expense of image quality.',
                                                'unit' => 0,
                                                'name' => 'compression',
                                                'cap' => 69,
                                                'type' => 3
                                              },
                             'source' => {
                                           'index' => 10,
                                           'constraint' => [
                                                             'Flatbed'
                                                           ],
                                           'max_values' => 1,
                                           'constraint_type' => 3,
                                           'val' => 'Flatbed',
                                           'title' => 'Scan source',
                                           'name' => 'source',
                                           'type' => 3,
                                           'cap' => 69,
                                           'unit' => 0,
                                           'desc' => 'Selects the scan source 
(such as a document-feeder).'
                                         },
                             'resolution' => {
                                               'index' => 3,
                                               'constraint' => [
                                                                 75,
                                                                 100,
                                                                 150,
                                                                 200,
                                                                 300,
                                                                 600,
                                                                 1200
                                                               ],
                                               'constraint_type' => 2,
                                               'max_values' => 1,
                                               'val' => 75,
                                               'title' => 'Scan resolution',
                                               'type' => 1,
                                               'name' => 'resolution',
                                               'cap' => 5,
                                               'unit' => 4,
                                               'desc' => 'Sets the resolution 
of the scanned image.'
                                             },
                             'batch-scan' => {
                                               'name' => 'batch-scan',
                                               'type' => 0,
                                               'cap' => 69,
                                               'unit' => 0,
                                               'desc' => 'Enables continuous 
scanning with automatic document feeder (ADF).',
                                               'title' => 'Batch scan',
                                               'index' => 9,
                                               'max_values' => 1,
                                               'constraint_type' => 0,
                                               'val' => 0
                                             },
                             'duplex' => {
                                           'desc' => 'Enables scanning on both 
sides of the page.',
                                           'unit' => 0,
                                           'name' => 'duplex',
                                           'cap' => 101,
                                           'type' => 0,
                                           'constraint_type' => 0,
                                           'max_values' => 1,
                                           'index' => 11,
                                           'title' => 'Duplex'
                                         },
                             'br-x' => {
                                         'title' => 'Bottom-right x',
                                         'constraint_type' => 1,
                                         'max_values' => 1,
                                         'val' => '215.899993896484',
                                         'index' => 16,
                                         'constraint' => {
                                                           'min' => 0,
                                                           'max' => 
'215.899993896484',
                                                           'quant' => 0
                                                         },
                                         'name' => 'br-x',
                                         'cap' => 5,
                                         'type' => 2,
                                         'desc' => 'Bottom-right x position of 
scan area.',
                                         'unit' => 3
                                       },
                             'mode' => {
                                         'index' => 2,
                                         'constraint' => [
                                                           'Lineart',
                                                           'Gray',
                                                           'Color'
                                                         ],
                                         'max_values' => 1,
                                         'constraint_type' => 3,
                                         'val' => 'Color',
                                         'title' => 'Scan mode',
                                         'name' => 'mode',
                                         'type' => 3,
                                         'cap' => 5,
                                         'unit' => 0,
                                         'desc' => 'Selects the scan mode 
(e.g., lineart, monochrome, or color).'
                                       },
                             'length-measurement' => {
                                                       'title' => 'Length 
measurement',
                                                       'val' => 'Padded',
                                                       'max_values' => 1,
                                                       'constraint_type' => 3,
                                                       'constraint' => [
                                                                         
'Unknown',
                                                                         
'Approximate',
                                                                         
'Padded'
                                                                       ],
                                                       'index' => 13,
                                                       'unit' => 0,
                                                       'desc' => 'Selects how 
the scanned image length is measured and reported, which is impossible to know 
in advance for scrollfed scans.',
                                                       'cap' => 69,
                                                       'name' => 
'length-measurement',
                                                       'type' => 3
                                                     },
                             'tl-x' => {
                                         'max_values' => 1,
                                         'constraint_type' => 1,
                                         'val' => 0,
                                         'index' => 14,
                                         'constraint' => {
                                                           'quant' => 0,
                                                           'min' => 0,
                                                           'max' => 
'215.899993896484'
                                                         },
                                         'title' => 'Top-left x',
                                         'name' => 'tl-x',
                                         'cap' => 5,
                                         'type' => 2,
                                         'unit' => 3,
                                         'desc' => 'Top-left x position of scan 
area.'
                                       }
                           },
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'unit' => 0,
                                'type' => 5,
                                'title' => 'Scan mode',
                                'cap' => 0,
                                'constraint_type' => 0,
                                'max_values' => 0,
                                'index' => 1
                              },
                              $VAR1->{'hash'}{'mode'},
                              $VAR1->{'hash'}{'resolution'},
                              {
                                'unit' => 0,
                                'title' => 'Advanced',
                                'type' => 5,
                                'cap' => 64,
                                'index' => 4,
                                'max_values' => 0,
                                'constraint_type' => 0
                              },
                              $VAR1->{'hash'}{'contrast'},
                              $VAR1->{'hash'}{'brightness'},
                              $VAR1->{'hash'}{'compression'},
                              $VAR1->{'hash'}{'jpeg-quality'},
                              $VAR1->{'hash'}{'batch-scan'},
                              $VAR1->{'hash'}{'source'},
                              $VAR1->{'hash'}{'duplex'},
                              {
                                'cap' => 64,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0,
                                'index' => 12,
                                'constraint_type' => 0,
                                'max_values' => 0
                              },
                              $VAR1->{'hash'}{'length-measurement'},
                              $VAR1->{'hash'}{'tl-x'},
                              $VAR1->{'hash'}{'tl-y'},
                              $VAR1->{'hash'}{'br-x'},
                              $VAR1->{'hash'}{'br-y'}
                            ]
               }, 'Gscan2pdf::Scanner::Options' );

DEBUG - Options support paper size 'A4'.
DEBUG - Options do not support paper size 'L�gal US'.
DEBUG - Options support paper size 'Lettre US'.
DEBUG - signal 'started-process' emitted with message: Setting option 
jpeg-quality
DEBUG - signal 'finished-process' emitted with data: set_option jpeg-quality to 
15
DEBUG - Setting option 'resolution' to '300'.
DEBUG - Setting widget 'resolution' to '300'.
DEBUG - signal 'started-process' emitted with message: Setting option resolution
DEBUG - signal 'finished-process' emitted with data: set_option resolution to 
300
DEBUG - Setting option 'mode' to 'Color'.
DEBUG - Setting widget 'mode' to 'Color'.
DEBUG - signal 'started-process' emitted with message: Setting option mode
DEBUG - signal 'finished-process' emitted with data: set_option mode to Color
INFO - rotate facing 0
INFO - rotate reverse 0
INFO - unpaper 1
INFO - UDT 
INFO - Current UDT gimp %i
INFO - OCR 1
INFO - threshold-before-ocr 
INFO - Scanning 1 pages from 1 with step 1
DEBUG - signal 'started-process' emitted with message: Num�risation de la page 
1 sur 1
DEBUG - $VAR1 = [];

DEBUG - Free space in /shortcuts/tmp2/gscan2pdf-UAJt (Mb): 49873.3828125 
(warning at 10)
INFO - Importing scan with resolution=300
DEBUG - signal 'finished-process' emitted with data: scan_pages
INFO - Header suggests 26810419
INFO - Expecting 26810419, found 26810419
INFO - New page filename /shortcuts/tmp2/gscan2pdf-UAJt/4BmMBB1Gfs.pnm, format 
Portable anymap
INFO - Added /shortcuts/tmp2/gscan2pdf-UAJt/HHFyid37cB.pnm at page 1 with 
resolution 300
DEBUG - Started setting page_number_start from 1 to 2
DEBUG - Started setting max_pages from 0 to -1
DEBUG - Finished setting max_pages from 0 to -1
DEBUG - Finished setting page_number_start from 1 to 2
INFO - unpaper --black-threshold 0.05 --border-margin 0,0 
--deskew-scan-direction left,right --layout single --output-pages 1 
--white-threshold 0.95 --overwrite 
/shortcuts/tmp2/gscan2pdf-UAJt/HHFyid37cB.pnm 
/shortcuts/tmp2/gscan2pdf-UAJt/DqZLnYKF6s.pnm ;
ERROR - Error running unpaper: [ppm_pipe @ 0x25108e0] Stream #0: not enough 
frames to estimate rate; consider increasing probesize
[image2 @ 0x25137c0] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ 0x25137c0] Encoder did not produce proper pts, making some up.

INFO - Replaced /shortcuts/tmp2/gscan2pdf-UAJt/im_7c1ZN6C.pnm at page 1 with 
/shortcuts/tmp2/gscan2pdf-UAJt/im_7c1ZN6C.pnm, resolution 300
INFO - Processing sheet #1: /shortcuts/tmp2/gscan2pdf-UAJt/HHFyid37cB.pnm -> 
/shortcuts/tmp2/gscan2pdf-UAJt/DqZLnYKF6s.pnm

ERROR - [ppm_pipe @ 0x25108e0] Stream #0: not enough frames to estimate rate; 
consider increasing probesize
[image2 @ 0x25137c0] Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead.
[image2 @ 0x25137c0] Encoder did not produce proper pts, making some up.

INFO - New page filename /shortcuts/tmp2/gscan2pdf-UAJt/DqZLnYKF6s.pnm, format 
Portable anymap
INFO - Found tesseract version 3.04.01.
INFO - tesseract /shortcuts/tmp2/gscan2pdf-UAJt/im_7c1ZN6C.pnm /tmp/cqmba3g8Ll 
-l fra -c tessedit_create_hocr=1
INFO - Replaced /shortcuts/tmp2/gscan2pdf-UAJt/8jkbT_2T1z.pnm at page 1 with 
/shortcuts/tmp2/gscan2pdf-UAJt/8jkbT_2T1z.pnm, resolution 300
INFO - Wrote config to /home/fgouget/.gscan2pdf
INFO - Killing Sane thread(s)
DEBUG - opening device 'hpaio:/usb/PSC_2170_Series?serial=MY359C91BQ73': Success
INFO - sane_set_option 8 (jpeg-quality) to 15 returned status Success with info 0
INFO - sane_set_option 3 (resolution) to 300 returned status Success with info 4
INFO - sane_set_option 2 (mode) to Color returned status Success with info 4
INFO - gscan2pdf: scanning image of size 2549x3506 pixels at 24 bits/pixel
INFO - gscan2pdf: acquiring RGB frame
INFO - gscan2pdf: min/max graylevel value = 255/0
INFO - gscan2pdf: read 26810382 bytes in total
INFO - Scanned page /shortcuts/tmp2/gscan2pdf-UAJt/4BmMBB1Gfs.pnm. (scanner 
status = 5)
INFO - Killing document thread(s)
DEBUG - Warnings from Tesseract: Tesseract Open Source OCR Engine v3.04.01 with 
Leptonica
Empty page!!

DEBUG - Quitting

Reply via email to