#158 Error on gamma intensity dialog


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.


  • Jeffrey Ratcliffe

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

  • Stephan Ritscher

    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.

  • Jeffrey Ratcliffe

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

  • Stephan Ritscher

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

  • Stephan Ritscher

    Now with the proper log file...

  • Jeffrey Ratcliffe

    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.


Log in to post a comment.