Help

#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.

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.

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.