Package: gscan2pdf
Version: 1.2.4

After updating from 1.0.4 to 1.2.4 gscan2pdf has a lot of trouble dealing with 
the HP PhotoSmart C7200.  It connects but it has trouble dealing with the 
returned values from the device.

signal 'process-error' emitted with data: open_device Error opening
device: Invalid argument

I tried deleting ~/user/.gscan2pdf

but that does not help.

$ uname -a

Linux system 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux


The log is as follows:

INFO - Starting gscan2pdf 1.2.4
INFO - Log level DEBUG
INFO - Using en_US.UTF-8 locale
INFO - Startup LC_NUMERIC C
INFO - Reading config from /home/user/.gscan2pdf
INFO - Perl version v5.14.2
INFO - Glib-Perl version 1.301
INFO - Built for Glib 2.37.3
INFO - Running with Glib 2.38.1
INFO - Gtk2-Perl version 1.247
INFO - Built for GTK 2.24.18
INFO - Running with GTK 2.24.20
INFO - Using GtkImageView version 1.6.4
INFO - Using Gtk2::ImageView version 0.05
INFO - Using PDF::API2 version 2.020
INFO - Using Sane version 1.0.23
INFO - Using libsane-perl version 0.05
DEBUG - $VAR1 = {
          'frontend' => 'libsane-perl',
          'Paper' => {
                       'US Legal' => {
                                     'l' => 0,
                                     'y' => 356,
                                     'x' => 216,
                                     't' => 0
                                   },
                       'US Letter' => {
                                      'l' => 0,
                                      'y' => 279,
                                      'x' => 216,
                                      't' => 0
                                    },
                       'A4' => {
                               'l' => 0,
                               'y' => 297,
                               'x' => 210,
                               't' => 0
                             }
                     },
          'unsharp radius' => 0,
          'window_maximize' => 1,
          'ocr engine' => 'ocropus',
          'visible-scan-options' => {
                                      'source' => 1,
                                      'threshold' => 1,
                                      'mode' => 1,
                                      'x' => 1,
                                      'overscan-bottom' => 1,
                                      'pageheight' => 1,
                                      'calibration-cache' => 1,
                                      'y' => 1,
                                      'pagewidth' => 1,
                                      'compression' => 1,
                                      'speed' => 1,
                                      'overscan-top' => 1,
                                      'button-wait' => 1,
                                      'adf_mode' => 1,
                                      't' => 1,
                                      'Paper size' => 1,
                                      'gain' => 1,
                                      'contrast' => 1,
                                      'l' => 1,
                                      'brightness' => 1,
                                      'page-width' => 1,
                                      'adf-mode' => 1,
                                      'resolution' => 1,
                                      'page-height' => 1,
                                      'batch-scan' => 1,
                                      'wait-for-button' => 1
                                    },
          'layout' => 'single',
          'scan-reload-triggers' => 'mode',
          'unsharp amount' => 1,
          'OCR output' => 'replace',
          'OCR on scan' => 1,
          'Page range' => 'all',
          'window_height' => 600,
          'user_defined_tools' => [
                                    'gimp %i'
                                  ],
          'startup warning' => '',
          'default filename' => '%a %y-%m-%d',
          'rotate reverse' => 0,
          'Dark threshold' => '0.12',
          'pages to scan' => 1,
          'Blank threshold' => '0.005',
          'unpaper on scan' => 1,
          'rotate facing' => 0,
          'libsane-perl version' => '0.05',
          'cache options' => 1,
          'downsample dpi' => 150,
          'window_width' => 800,
          'threshold tool' => 80,
          'quality' => 75,
          'unsharp sigma' => 1,
          'date offset' => 0,
          'thumb panel' => 100,
          'unsharp threshold' => '0.05',
          'scan prefix' => '',
          'auto-open-scan-dialog' => 1,
          'SANE version' => '1.0.23',
          'downsample' => '',
          'restore window' => 1,
          'pdf compression' => 'auto'
        };

INFO - Found tesseract version 3.02.01.
INFO - Found Image::Magick
INFO - Found ImageMagick
INFO - Found scanadf
INFO - Found xdg-email
INFO - Found tesseract
INFO - Found cjb2 (djvu)
INFO - Found libtiff
INFO - Found unpaper v0.4.2
INFO - Checking /tmp for crashed sessions
INFO - Using /tmp/gscan2pdf-8n4s for temporary files
DEBUG - Set logger in Gscan2pdf::Dialog::Scan::Sane
DEBUG - Set logger in Gscan2pdf::Dialog::Scan
INFO - Found tesseract language eng
INFO - Found tesseract language equ
INFO - Found tesseract language osd
INFO - Sane->get_devices returned: $VAR1 = [
          {
            'name' => 'hpaio:/net/Photosmart_C7200_series?ip=192.168.0.9',
            'model' => 'Photosmart_C7200_series',
            'type' => 'all-in-one',
            'vendor' => 'Hewlett-Packard'
          }
        ];

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

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

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

DEBUG - opening device
'hpaio:/net/Photosmart_C7200_series?ip=192.168.0.9': Invalid argument
ERROR - opening device
'hpaio:/net/Photosmart_C7200_series?ip=192.168.0.9': Invalid argument
INFO - signal 'process-error' emitted with data: open_device Error
opening device: Invalid argument
INFO - Wrote config to /home/user/.gscan2pdf
INFO - Killing Sane thread(s)
INFO - Killing document thread(s)
DEBUG - Quitting


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to