"Invalid argument" when trying to scan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gscan2pdf (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
sane-backends (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
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{
if ($Sane::STATUS != SANE_STATUS_GOOD) {
print "$prog_name: sane_start: $Sane::STATUS\n" if $debug;
$shash{
die; # quickest way out of the eval block
}
my $path = $shash{
if (not open($fh, ">", $path)) {
$device->cancel;
$shash{
$shash{
die; # quickest way out of the eval block
}
scan_
$shash{
close $fh;
printf "Scanned page %s.", $path if $debug;
printf " (scanner status = %d)\n", $Sane::STATUS if $debug;
$shash{
$shash{
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gscan2pdf 0.9.31-2
ProcVersionSign
Uname: Linux 2.6.38-11-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Thu Sep 8 09:44:25 2011
PackageArchitec
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)
Changed in gscan2pdf (Ubuntu): | |
status: | Expired → Invalid |
Changed in sane-backends (Ubuntu): | |
status: | Incomplete → Opinion |
assignee: | Rolf Leggewie (r0lf) → nobody |
I have complete rewritten this code in the upcoming version. Please
try the new version as soon I release it.