Package: gscan2pdf
Version: 2.13.2-0~ppa1focal
OS: Kubuntu 20.04
Other details: No scanner is attached with the computer. I use gscan2pdf
for stitching images scanned by a handheld scanner. The program worked
perfectly till last Aug'23.
Problem: gscan2pdf fails at command with the following error message. No
logfile is generated.
Error Message:
Bareword "SANE_NAME_SCAN_TL_X" not allowed while "strict subs" in use at
/usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 128.
Bareword "SANE_NAME_SCAN_TL_Y" not allowed while "strict subs" in use at
/usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 143.
Bareword "SANE_NAME_SCAN_TL_Y" not allowed while "strict subs" in use at
/usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 145.
Bareword "SANE_NAME_SCAN_BR_Y" not allowed while "strict subs" in use at
/usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 146.
Bareword "SANE_NAME_SCAN_BR_Y" not allowed while "strict subs" in use at
/usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 149.
Bareword "SANE_NAME_SCAN_TL_X" not allowed while "strict subs" in use at
/usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 130.
Bareword "SANE_NAME_SCAN_BR_X" not allowed while "strict subs" in use at
/usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 131.
Bareword "SANE_NAME_SCAN_BR_X" not allowed while "strict subs" in use at
/usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 134.
Bareword "SANE_NAME_PAGE_HEIGHT" not allowed while "strict subs" in use
at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 116.
Bareword "SANE_NAME_PAGE_WIDTH" not allowed while "strict subs" in use
at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 122.
Compilation failed in require at /usr/share/perl5/Gscan2pdf/Document.pm
line 12.
BEGIN failed--compilation aborted at
/usr/share/perl5/Gscan2pdf/Document.pm line 12.
Compilation failed in require at
/usr/share/perl5/Gscan2pdf/Dialog/Renumber.pm line 7.
BEGIN failed--compilation aborted at
/usr/share/perl5/Gscan2pdf/Dialog/Renumber.pm line 7.
Compilation failed in require at /usr/bin/gscan2pdf line 61.
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 61.
Please help to resolve the problem.
--
Regards
Soumyanath Chatterjee / FIE, FIIE/
Prod. Dev & SCM coach
Former TVS Motors Chair Professor, IIT Kharagpur, INDIA
------------------------------------------------------------------------
*URL:* http://www.soumyanath.in *Ph:* +91 33 46004248(R) +91 98318
04223(M) *ORCiD:* 0000-0003-4411-0669
<https://orcid.org/0000-0003-4411-0669>