[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Please start gscan2pdf from the command line with the --log=log option, try to scan, quit, and post the log file, which gscan2pdf should have compressed to log.xz for you. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
I meet the same bug with gscanpdf gscan2pdf: sane_start: Invalid argument My system is: * Ubuntu 20.04 * Scanner: Brother MFC-J1010DW I read a lot of post and I try an another file : numériseur de document (simplescan perhaps) and I find that the scanner works perfectly. I suspect there is a bug in gscanpdf in some situations (I use gscanpdf for a long time even with some other brother scanners without problems) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
@PaulHazelden (tenuki57): I don't see "invalid argument" anywhere in the log. It looks to me that SANE did not find any scanners. Was your scanner plugged in? What does the following return: scanimage -L ? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
I then tried the next suggestion: scanimage -x 210 --mode=Color --resolution=300 --batch and this succeeded. If I attach the '--log=' option to this command line, will that generate any useful information? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Apologies for the slow response. Please find attached the requested log file. ** Attachment added: "The requested file, 'log.xz'." https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+attachment/5475860/+files/log.xz -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
What happens if you try the following from the command line: scanimage -x 210 --mode=Color --resolution=300 --batch ? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Hello, I have the same problem: gscan2pdf: sane_start: Invalid argument I run from the command line with the "--log=log" option and create the log.xz file that I attach. My system is: * Kubuntu 20.10 (Ubuntu + KDE) * Scanner: Brother DCP-J562DW I've been able to use this scanner in al ubuntu versions (I'm long linux user and gscan2pdf too), but I'm not sure if I've used with the previous 20.04 version (I think that yes). I have another PC with Windows 10 and the scanner works. So is something with my system not with the device. ** Attachment added: "Log for gscan2pdf" https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+attachment/5458553/+files/log.xz -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Please start gscan2pdf from the command line with the --log=log option, try to scan, quit, and post the log file, which gscan2pdf should have compressed to log.xz for you. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
I have the same problem. gscan2pdf: sane_start: Invalid argument I would agree that scanner support is the responsibility of the manufacturer, except that my system ran perfectly until I upgraded from 18.04 to 20.04.1. So whatever the manufacturer supplied used to work, but the upgrade broke it. It seems to me that in this situation, Ubuntu ought to try to fix it. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
** Changed in: gscan2pdf (Ubuntu) Status: Expired => Invalid ** Changed in: sane-backends (Ubuntu) Status: Incomplete => Opinion ** Changed in: sane-backends (Ubuntu) Assignee: Rolf Leggewie (r0lf) => (unassigned) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Invalid Status in sane-backends package in Ubuntu: Opinion Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
[Expired for gscan2pdf (Ubuntu) because there has been no activity for 60 days.] ** Changed in: gscan2pdf (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Expired Status in sane-backends package in Ubuntu: Incomplete Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Hans, we can certainly disagree. But it seems you as well as some of the upstream devs do not understand much about packaging. If you want timely fixes, pay someone to do it. If you want to make a mess of your system, install random packages. I'm fine with any of that. I'm not fine if then such person comes back and waste Ubuntu devs time with a problem they did not create or gives Ubuntu a bad name that they did not deserve in this case. I hope that makes sense. BTW, scanner support is the responsibility of the manufacturer, don't you think? Have you complained to them about lack of FOSS support? Have you taken this into consideration when you purchased your scanner? Or have you simply purchased whatever was cheapest? IMO, what is not acceptable is buying cheap, unsupported stuff and then complaining to people doing a LOT of work for you for free. Last comment, if you feel that all of this is so unacceptable then have you rolled up your sleeve and provided a patch or at least tried to? ** Changed in: sane-backends (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Incomplete Status in sane-backends package in Ubuntu: Incomplete Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Rolf, I would agree with you if bugs would be fixed in a timely manner, but that is not the case. In the meantime, people go months if not years with a scanner that does not work. That is unacceptable by any standard. People should see my previous comment as a work around to get things done. This bug was opened in 2011 and still affects people. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Incomplete Status in sane-backends package in Ubuntu: Confirmed Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Dave, are you still experiencing this problem? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Incomplete Status in sane-backends package in Ubuntu: Confirmed Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Please do not suggest to install third-party packages, even if from the upstream developper. It is a very bad idea in almost all situations. The real problem is how to distinguish those situations from the ones where it might be OK (for the ordinary user). Thus, the normal user should stick to the official packages. We need to get rid of the impulse to install random stuff from the internet to quickly "fix" a problem. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Incomplete Status in sane-backends package in Ubuntu: Confirmed Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
I had a similar problem with the default version of gscan2pdf available from the default Ubuntu 16.04 repositories. I would scan, but the error message would arrive after the scan was completed. gscan2pdf version 1.3.8. I then installed the following PPA to get the latest version, 1.8.3: sudo add-apt-repository --yes ppa:jeffreyratcliffe/ppa The problem was gone. I suggest you upgrade gscan2pdf to the latest and report your findings. We might be able to close this ticket. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Incomplete Status in sane-backends package in Ubuntu: Confirmed Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: sane-backends (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Incomplete Status in sane-backends package in Ubuntu: Confirmed Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: "Invalid argument" when trying to scan
Dave, are you still experiencing this problem? ** Tags removed: patch ** Changed in: sane-backends (Ubuntu) Assignee: (unassigned) => Rolf Leggewie (r0lf) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: "Invalid argument" when trying to scan Status in gscan2pdf package in Ubuntu: Incomplete Status in sane-backends package in Ubuntu: New Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless "Invalid argument" when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device->start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print "$prog_name: sane_start: $Sane::STATUS\n" if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, ">", $path)) { $device->cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf "Scanned page %s.", $path if $debug; printf " (scanner status = %d)\n", $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 844582] Re: Invalid argument when trying to scan
As you have noted, the 001:005 refers to the usb device. However this can change between boots. Did you reboot between the gscan2pdf/scanimage and epson sessions? As you can reproduce this from the commandline with scanimage, I am transferring this bug to sane-backends, as the bug must be in the epson/epkowa backend in SANE. Invalid argument, is simply the error code that libsane returns. Unfortunately, it does not provide any more information that that by default. However, you can run scanimage with debugging turned on. I would ask on the SANE mailing list for more help. ** Also affects: sane-backends (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/844582 Title: Invalid argument when trying to scan Status in gscan2pdf package in Ubuntu: Incomplete Status in sane-backends package in Ubuntu: New Bug description: I'm using a Fujitsu M3091DCd scanner with SANE. From the command line it works more or less well with Ubuntu. I can't use it with gscan2pdf v0.9.31, but gscan2pdf works with another scanner. All I get is a meaningless Invalid argument when I hit the scan button. When I start gscan2pdf from the command line I see these lines appearing when I hit the scan button: Error running process: Died at (eval 39) line 7. $device-start; $shash{$sane_thread}{status} = $Sane::STATUS+0; if ($Sane::STATUS != SANE_STATUS_GOOD) { print $prog_name: sane_start: $Sane::STATUS\n if $debug; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } my $path = $shash{$sane_thread}{data}; if (not open($fh, , $path)) { $device-cancel; $shash{$sane_thread}{status} = SANE_STATUS_ACCESS_DENIED; $shash{$sane_thread}{go} = 0; die; # quickest way out of the eval block } scan_page($device, $fh); $shash{$sane_thread}{status} = $Sane::STATUS+0; close $fh; printf Scanned page %s., $path if $debug; printf (scanner status = %d)\n, $Sane::STATUS if $debug; $shash{$sane_thread}{status} = $Sane::STATUS+0; $shash{$sane_thread}{go} = 0; ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gscan2pdf 0.9.31-2 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Thu Sep 8 09:44:25 2011 PackageArchitecture: all ProcEnviron: LANGUAGE= PATH=(custom, no username) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gscan2pdf UpgradeStatus: Upgraded to natty on 2011-06-01 (98 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/844582/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp