Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#158 Error on gamma intensity dialog

v1.0_(example)
open
nobody
None
5
2013-06-23
2013-05-12
Stephan Ritscher
No

When I click the button for the gamma intensity dialog in gscan2pdf 1.1.0 in Fedora or gscan2pdf 1.1.3 in Gentoo, I get the following error on the console (the line numbers are from gscan2pdf 1.1.0):

unhandled exception in callback:
type Gscan2pdf::Dialog does not support property 'destroy' at /usr/share/perl5/vendor_perl/Gscan2pdf/Scanner/Dialog.pm line 1230.
*** ignoring at /usr/bin/gscan2pdf line 8216.

The dialog does not open so it is not possible to use the feature.

Discussion

  • Which gamma intensity dialog? Is this from the scanner dialog?

     
  • Yes. Go to "Scan document", select the correct scanner, and then - at least for my Canon PIXMA MX870 - there is a page called "Gamma". When I tick the option "Use custom gamma table, the button "Image intensity" gets enabled, but pressing the button only produces the error.

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

     
  • The attached log file corresponds to
    1. gscan2pdf --log=log
    2. "Scan document"
    3. Wait for discovery to finish
    4. Gamma -> Image intensity

     
  • Now with the proper log file...

     
    Attachments
    log
  • Thanks for the log file. Now I understand the problem.

    Unfortunately, it is going to be hard to fix, as my hardware doesn't offer a gamma table option where multiple values can be supplied. Therefore I can't reproduce the problem, and would be unable to test a solution.

    Other than buying a scanner like yours, all I can do it add a suitable extra option to the test backend in libsane. This is also not trivial.