Bug#589796: [gscan2pdf-help] Can't save PDF with gscan2pdf
On 25 July 2010 23:53, A. Costa agco...@gis.net wrote: Scanned a blank page, tried to save as a .PDF and quit. The log is attached. Thanks for this. It seems the problem is related to GTK2 or the Perl bindings - the file browser should return 'ok' or 'cancel' on selecting the filename, but: DEBUG - PDF save filename dialog returned -5 I'll install the relevant packages from sid and see why... -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#589796: [gscan2pdf-help] Can't save PDF with gscan2pdf
also sprach Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com [2010.07.24.1738 +0200]: Importing /tmp/zweizeiler.pdf Format Portable Document Format Creator: TeX Producer: pdfTeX-1.40.10 Although assuming this was a two-liner from pdfTex, it probably didn't have an image in it, and therefore would have imported nothing anyway. Can you import an image (PNM, PNG, etc.) or a PDF with an image in it? Did you apply the patch before producing the debug output? Yes. And I tried with a PDF with an image (imported a previously scanned page), but there was no output relating to saving, and saving didn't work. -- .''`. martin f. krafft madd...@d.o Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduckhttp://vcs-pkg.org `- Debian - when you have better things to do than fixing systems however jewel-like the good will may be in its own right, there is a morally significant difference between rescuing someone from a burning building and dropping him from a twelfth-storey window while trying to rescue him. -- thomas nagel digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/)
Bug#589796: [gscan2pdf-help] Can't save PDF with gscan2pdf
The logging system was previously just print and warn calls. I've now replaced all that using Log::Log4perl and added a couple of command line options to support it. I've uploaded a .deb to http://launchpadlibrarian.net/52500599/gscan2pdf_0.9.32~1_all.deb There are no other significant changes, apart from a couple of extra debugging messages. Please install. You might need a $ sudo apt-get install liblog-log4perl-perl first. If you start the program with $ gscan2pdf --log=log file It will default to 'debug' level messages, which will be printed to the terminal window and to log file. Please do so, reproduce the bug, quit, and post log file. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#589796: [gscan2pdf-help] Can't save PDF with gscan2pdf
Package: gscan2pdf Version: 0.9.32~1 Severity: normal I have the same bug on my system, currently can save as .PNG, but not .PDFs. As advised here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589796#70 ...I installed the log-able version, then ran: gscan2pdf --log=/tmp/gscan2pdf_wont_save.log Scanned a blank page, tried to save as a .PDF and quit. The log is attached. Hope this helps... -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Versions of packages gscan2pdf depends on: ii imagemagick 7:6.6.2.6-1 image manipulation programs ii libconfig-general-perl 2.48-1 Generic Configuration Module ii libforks-perl0.34-1 Perl module to emulate threads wit ii libgoo-canvas-perl 0.06-1 Perl interface to the GooCanvas ii libgtk2-ex-simple-list-perl 0.50-2 simple interface to Gtk2's complex ii libgtk2-imageview-perl 0.05-1 Perl bindings for the GtkImageView ii libhtml-parser-perl 3.65-1 collection of modules that parse H ii liblocale-gettext-perl 1.05-6 Using libc functions for internati ii liblog-log4perl-perl 1.28-1 A Perl port of the widely popular ii libpdf-api2-perl 0.73-1 module for creating or modifying P ii libproc-processtable-perl0.45-1 Perl library for accessing process ii libreadonly-perl 1.03-2 Facility for creating read-only sc ii librsvg2-common 2.26.3-1SAX-based renderer library for SVG ii libsane-perl 0.03-1 Perl bindings for the SANE (Scanne ii libset-intspan-perl 1.14-1 Perl module to manage sets of inte ii libtiff-tools3.9.4-1 TIFF manipulation and conversion t ii perl-modules [libarchive-tar 5.10.1-13 Core Perl modules ii perlmagick 7:6.6.0.4-2 Perl interface to the ImageMagick ii sane-utils 1.0.21-1API library for scanners -- utilit Versions of packages gscan2pdf recommends: pn cuneiformnone (no description available) ii djvulibre-bin3.5.22-9Utilities for the DjVu image forma ii gocr 0.48-1 A command line OCR ii libgtk2-ex-podviewer 0.18-1 Perl Gtk2 widget for displaying Pl ii sane 1.0.14-9scanner graphical frontends pn tesseract-ocrnone (no description available) ii unpaper 0.3-1 post-processing tool for scanned p ii xdg-utils1.0.2+cvs20100307-1 desktop integration utilities from gscan2pdf suggests no packages. -- no debconf information gscan2pdf_wont_save.log.gz Description: GNU Zip compressed data
Bug#589796: [gscan2pdf-help] Can't save PDF with gscan2pdf
Apologies for crossposting the gscan2pdf-help list, Debian, and Ubuntu bugs, but it makes no sense to have the same conversation three times. I've installed the main dependencies from sid and still can't reproduce this. Does it make a difference if the image is imported or scanned? Please apply the attached patch, which simply adds a couple of debugging messages so that I can home in on where this coming from, start gscan2pdf with the --debug option, try to save a PDF, quit, and post the output from the command line. Regards Jeff diff --git a/bin/gscan2pdf b/bin/gscan2pdf index 0b03600..881caed 100755 --- a/bin/gscan2pdf +++ b/bin/gscan2pdf @@ -3155,7 +3155,9 @@ sub save_PDF { $SETTING{'cwd'} = dirname($filename); # Create the PDF +print Started saving $filename...\n if $debug; create_PDF($filename); +print Finished saving $filename\n if $debug; $windowi-hide if defined $windowi; }
Bug#589796: [gscan2pdf-help] Can't save PDF with gscan2pdf
also sprach Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com [2010.07.24.1447 +0200]: Does it make a difference if the image is imported or scanned? Importing does not work either, here is the output: Importing /tmp/zweizeiler.pdf Format Portable Document Format Creator:TeX Producer: pdfTeX-1.40.10 CreationDate: Fri Jul 23 15:07:38 2010 ModDate:Fri Jul 23 15:07:38 2010 Tagged: no Pages: 1 Encrypted: no Page size: 595.276 x 841.89 pts (A4) File size: 18491 bytes Optimized: no PDF version:1.4 1 pages parent LC_NUMERIC C parent LC_NUMERIC C Process 18855 exited. Please apply the attached patch, which simply adds a couple of debugging messages so that I can home in on where this coming from, start gscan2pdf with the --debug option, try to save a PDF, quit, and post the output from the command line. typescript attached. No output about saving, and on quit, I was asked whether I wanted to leave the program without saving. -- .''`. martin f. krafft madd...@d.o Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduckhttp://vcs-pkg.org `- Debian - when you have better things to do than fixing systems typescript.gz Description: Binary data digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/)
Bug#589796: [gscan2pdf-help] Can't save PDF with gscan2pdf
On 24 July 2010 16:14, martin f krafft madd...@debian.org wrote: Importing does not work either, here is the output: Importing /tmp/zweizeiler.pdf Format Portable Document Format Creator: TeX Producer: pdfTeX-1.40.10 Although assuming this was a two-liner from pdfTex, it probably didn't have an image in it, and therefore would have imported nothing anyway. Can you import an image (PNM, PNG, etc.) or a PDF with an image in it? Did you apply the patch before producing the debug output? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org