Hi Jeffrey, I tried to scan 2 consecutive pages, but gscan2pdf kept scanning after page 2 on its own ad infinitum. I just upgraded gscan2pdf from your ppa. Please note log file below:
> INFO - Starting gscan2pdf 2.2.0 > INFO - Log level DEBUG > INFO - Using en_US.UTF-8 locale > INFO - Startup LC_NUMERIC C > INFO - Reading config from /home/tpt/.config/gscan2pdfrc > INFO - Config file version 2.1.0 > DEBUG - $VAR1 = { > 'Blank threshold' => '0.005', > 'Dark threshold' => '0.12', > 'OCR on scan' => '', > 'OCR output' => 'replace', > 'Page range' => 'all', > 'Paper' => { > 'A3' => { > 'l' => 0, > 't' => 0, > 'x' => 297, > 'y' => 420 > }, > 'A4' => { > 'l' => 0, > 't' => 0, > 'x' => 210, > 'y' => 297 > }, > 'US Legal' => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 356 > }, > 'US Letter' => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 279 > } > }, > 'SANE version' => '1.0.27', > 'TMPDIR' => undef, > 'adf-defaults-scan-all-pages' => 1, > 'allow-batch-flatbed' => '1', > 'author' => '', > 'author-suggestions' => [ > '' > ], > 'auto-open-scan-dialog' => '1', > 'available-tmp-warning' => '10', > 'brightness tool' => 65, > 'cache' => undef, > 'cache options' => 1, > 'cancel-between-pages' => '', > 'close_dialog_on_save' => '1', > 'contrast tool' => 65, > 'convert whitespace to underscores' => '', > 'current_psh' => undef, > 'current_udt' => 'gimp %i', > 'cwd' => '/home/tpt/ELAP', > 'cycle sane handle' => '', > 'date offset' => 0, > 'default filename' => '%Da %DY-%Dm-%Dd', > 'default profile' => undef, > 'default-scan-options' => { > 'backend' => [ > { > 'resolution' => '150' > } > ], > 'frontend' => { > 'num_pages' => '0' > } > }, > 'device' => 'pixma:04A9176B_25AFA2', > 'device blacklist' => '', > 'downsample' => '', > 'downsample dpi' => 150, > 'frontend' => 'libimage-sane-perl', > 'image type' => 'pdf', > 'keywords' => '', > 'keywords-suggestions' => [ > '' > ], > 'libimage-sane-perl version' => '0.14', > 'message' => { > 'Error during device I/O' => { > 'response' => > 'close' > }, > 'No devices found' => {}, > 'Operation was cancelled' => {}, > 'Some pages have not been saved. > Do you really want to clear all pages?' => { > 'response' => 'ok' > }, > 'Some pages have not been saved. > Do you really want to quit?' => {} > }, > 'ocr engine' => 'tesseract', > 'ocr language' => undef, > 'pdf compression' => 'auto', > 'pdf font' => > '/usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf', > 'post_save_hook' => '', > 'profile' => {}, > 'ps_backend' => 'pdftops', > 'quality' => 75, > 'restore window' => '1', > 'rotate facing' => '0', > 'rotate reverse' => '0', > 'scan prefix' => '', > 'scan-reload-triggers' => [ > 'mode' > ], > 'scan_window_height' => 533, > 'scan_window_width' => 992, > 'selection' => undef, > 'set_timestamp' => '1', > 'subject' => '', > 'subject-suggestions' => [ > '' > ], > 'threshold tool' => 80, > 'threshold-before-ocr' => '', > 'thumb panel' => 100, > 'tiff compression' => undef, > 'title' => '', > 'title-suggestions' => [ > '' > ], > 'udt_on_scan' => '', > 'unpaper on scan' => '', > 'unpaper options' => undef, > 'unsharp amount' => 1, > 'unsharp radius' => 0, > 'unsharp sigma' => 1, > 'unsharp threshold' => '0.05', > 'user_defined_tools' => [ > 'gimp %i' > ], > 'version' => '2.1.0', > 'view files toggle' => '1', > 'visible-scan-options' => { > 'Paper size' => 1, > 'adf-mode' => 1, > 'adf_mode' => 1, > 'batch-scan' => 1, > 'brightness' => 1, > 'button-wait' => 1, > 'calibration-cache' => 1, > 'compression' => 1, > 'contrast' => 1, > 'gain' => 1, > 'l' => 1, > 'mode' => 1, > 'overscan-bottom' => 1, > 'overscan-top' => 1, > 'page-height' => 1, > 'page-width' => 1, > 'pageheight' => 1, > 'pagewidth' => 1, > 'resolution' => 1, > 'source' => 1, > 'speed' => 1, > 't' => 1, > 'threshold' => 1, > 'wait-for-button' => 1, > 'x' => 1, > 'y' => 1 > }, > 'window_height' => 998, > 'window_maximize' => '', > 'window_width' => 1914, > 'window_x' => 0, > 'window_y' => 24 > }; > > INFO - Operating system: linux > INFO - DISTRIB_ID=LinuxMint > DISTRIB_RELEASE=19 > DISTRIB_CODENAME=tara > DISTRIB_DESCRIPTION="Linux Mint 19 Tara" > INFO - NAME="Linux Mint" > VERSION="19 (Tara)" > ID=linuxmint > ID_LIKE=ubuntu > PRETTY_NAME="Linux Mint 19" > VERSION_ID="19" > HOME_URL="https://www.linuxmint.com/" > SUPPORT_URL="https://forums.ubuntu.com/" > BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/" > PRIVACY_POLICY_URL="https://www.linuxmint.com/" > VERSION_CODENAME=tara > UBUNTU_CODENAME=bionic > INFO - Perl version v5.26.1 > INFO - Glib-Perl version 1.326 > INFO - Glib::Object::Introspection version 0.044 > INFO - Built for Glib 2.53.4 > INFO - Running with Glib 2.56.3 > INFO - Gtk3-Perl version 0.032 > INFO - Built for GTK 3.22.30 > INFO - Running with GTK 3.22.30 > INFO - Gscan2pdf::Document version 2.2.0 > INFO - Using PDF::API2 version 2.033 > INFO - Using Sane version 1.0.27 > INFO - Using libimage-sane-perl version 0.14 > DEBUG - $VAR1 = { > 'Blank threshold' => '0.005', > 'Dark threshold' => '0.12', > 'OCR on scan' => '', > 'OCR output' => 'replace', > 'Page range' => 'all', > 'Paper' => { > 'A3' => { > 'l' => 0, > 't' => 0, > 'x' => 297, > 'y' => 420 > }, > 'A4' => { > 'l' => 0, > 't' => 0, > 'x' => 210, > 'y' => 297 > }, > 'US Legal' => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 356 > }, > 'US Letter' => { > 'l' => 0, > 't' => 0, > 'x' => 216, > 'y' => 279 > } > }, > 'SANE version' => '1.0.27', > 'TMPDIR' => undef, > 'adf-defaults-scan-all-pages' => 1, > 'allow-batch-flatbed' => '1', > 'author' => '', > 'author-suggestions' => [ > '' > ], > 'auto-open-scan-dialog' => '1', > 'available-tmp-warning' => '10', > 'brightness tool' => 65, > 'cache' => undef, > 'cache options' => 1, > 'cancel-between-pages' => '', > 'close_dialog_on_save' => '1', > 'contrast tool' => 65, > 'convert whitespace to underscores' => '', > 'current_psh' => undef, > 'current_udt' => 'gimp %i', > 'cwd' => '/home/tpt/ELAP', > 'cycle sane handle' => '', > 'date offset' => 0, > 'default filename' => '%Da %DY-%Dm-%Dd', > 'default profile' => undef, > 'default-scan-options' => { > 'backend' => [ > { > 'resolution' => '150' > } > ], > 'frontend' => { > 'num_pages' => '0' > } > }, > 'device' => 'pixma:04A9176B_25AFA2', > 'device blacklist' => '', > 'downsample' => '', > 'downsample dpi' => 150, > 'frontend' => 'libimage-sane-perl', > 'image type' => 'pdf', > 'keywords' => '', > 'keywords-suggestions' => [ > '' > ], > 'libimage-sane-perl version' => '0.14', > 'message' => { > 'Error during device I/O' => { > 'response' => > 'close' > }, > 'No devices found' => {}, > 'Operation was cancelled' => {}, > 'Some pages have not been saved. > Do you really want to clear all pages?' => { > 'response' => 'ok' > }, > 'Some pages have not been saved. > Do you really want to quit?' => {} > }, > 'ocr engine' => 'tesseract', > 'ocr language' => undef, > 'pdf compression' => 'auto', > 'pdf font' => > '/usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf', > 'post_save_hook' => '', > 'profile' => {}, > 'ps_backend' => 'pdftops', > 'quality' => 75, > 'restore window' => '1', > 'rotate facing' => '0', > 'rotate reverse' => '0', > 'scan prefix' => '', > 'scan-reload-triggers' => [ > 'mode' > ], > 'scan_window_height' => 533, > 'scan_window_width' => 992, > 'selection' => undef, > 'set_timestamp' => '1', > 'subject' => '', > 'subject-suggestions' => [ > '' > ], > 'threshold tool' => 80, > 'threshold-before-ocr' => '', > 'thumb panel' => 100, > 'tiff compression' => undef, > 'title' => '', > 'title-suggestions' => [ > '' > ], > 'udt_on_scan' => '', > 'unpaper on scan' => '', > 'unpaper options' => undef, > 'unsharp amount' => 1, > 'unsharp radius' => 0, > 'unsharp sigma' => 1, > 'unsharp threshold' => '0.05', > 'use_time' => '', > 'use_timezone' => 1, > 'user_defined_tools' => [ > 'gimp %i' > ], > 'version' => '2.1.0', > 'view files toggle' => '1', > 'visible-scan-options' => { > 'Paper size' => 1, > 'adf-mode' => 1, > 'adf_mode' => 1, > 'batch-scan' => 1, > 'brightness' => 1, > 'button-wait' => 1, > 'calibration-cache' => 1, > 'compression' => 1, > 'contrast' => 1, > 'gain' => 1, > 'l' => 1, > 'mode' => 1, > 'overscan-bottom' => 1, > 'overscan-top' => 1, > 'page-height' => 1, > 'page-width' => 1, > 'pageheight' => 1, > 'pagewidth' => 1, > 'resolution' => 1, > 'source' => 1, > 'speed' => 1, > 't' => 1, > 'threshold' => 1, > 'wait-for-button' => 1, > 'x' => 1, > 'y' => 1 > }, > 'window_height' => 998, > 'window_maximize' => '', > 'window_width' => 1914, > 'window_x' => 0, > 'window_y' => 24 > }; > > Perl exited with active threads: > 2 running and unjoined > 0 finished and unjoined > 0 running and detached > . What do I do? Mike On 1/20/14 12:33 AM, Jeffrey Ratcliffe wrote: > I take it therefore, from the log file, that switching to the scanimage > frontend allowed you to quit gscan2pdf. This confirms that the problem > is the Sane thread not shutting down properly. > > Do you turn off your scanner before quitting gscan2pdf? > > Also, please confirm that you are able to quit when using the test > backend and the libsane-perl frontend: > > gscan2pdf --log=log --device=test > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1268592 Title: gscan2pdf no longer launches in Ubuntu 12.04 LTS after ppa upgrade earlier today To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/1268592/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs