Bug 25579

Summary: Running iscan with Epson v300 scanner, drakconf crashed
Product: Mageia Reporter: Jack Surname <jacobf>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: jim, lewyssmith
Version: 7   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Jack Surname 2019-10-16 21:06:57 CEST
The "drakconf" program crashed. Drakbug-18.21 caught it.

Installed Epson v300 scanner bundle as described in the readme and tried to run Image scan! for linux

Can't call method "get_height" on an undefined value at /usr/lib/libDrakX/mygtk3.pm line 1606.
Perl's trace:
drakbug::bug_handler() called from /usr/share/perl5/vendor_perl/Gtk3.pm:524
Gtk3::__ANON__() called from /usr/libexec/drakconf:1077

Theme name: Adwaita
Kernel version = 5.3.2-desktop-1.mga7
Distribution=Mageia release 7 (Official) for x86_64
CPU=Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
Comment 1 Jack Surname 2019-10-16 21:09:42 CEST
Running transaction
  Preparing        :                                                                                                                                         1/1 
  Running scriptlet: iscan-data-1.39.1-2.noarch                                                                                                              1/3 
  Installing       : iscan-data-1.39.1-2.noarch                                                                                                              1/3 
  Running scriptlet: iscan-data-1.39.1-2.noarch                                                                                                              1/3 
  Running scriptlet: sane-backends-1.0.27-4.mga7.x86_64                                                                                                      2/3 
  Installing       : sane-backends-1.0.27-4.mga7.x86_64                                                                                                      2/3 
  Running scriptlet: iscan-2.30.4-2.x86_64                                                                                                                   3/3 
  Installing       : iscan-2.30.4-2.x86_64                                                                                                                   3/3 
  Running scriptlet: iscan-2.30.4-2.x86_64                                                                                                                   3/3 
  Verifying        : sane-backends-1.0.27-4.mga7.x86_64                                                                                                      1/3 
  Verifying        : iscan-2.30.4-2.x86_64                                                                                                                   2/3 
  Verifying        : iscan-data-1.39.1-2.noarch                                                                                                              3/3 

Installed:
  iscan-2.30.4-2.x86_64                          iscan-data-1.39.1-2.noarch                          sane-backends-1.0.27-4.mga7.x86_64                         

Complete!



After which I tried to run Image scan! for linux
Comment 2 Lewis Smith 2019-10-17 15:26:23 CEST
I am unclear what exactly went wrong, and doing what.
I happen to have a similar scanner, and similar software direct from the old Avasys site (but at earlier versions). I cannot find 'iscan' or 'iscan-data' in Mageia repos; where did you get yours?

What command did you issue to get the output in comment 1?

> The "drakconf" program crashed. Drakbug-18.21 caught it
What were you doing when this happened? You imply that it was when trying to run Image scan, which seems strange.

> Installed Epson v300 scanner bundle as described in the readme
Which README ? I cannot find anything relevant to this scanner or sane software.

CC: (none) => lewyssmith

Comment 4 Lewis Smith 2019-10-23 12:00:46 CEST
Thanks; I recognise this link, which I think is very old because it mentions Mandriva, and leads to:
 iscan-gt-f720-bundle-2.30.4.x64.rpm.tar.gz
I had found a similar but apparently more recent page leading to:
 imagescan-bundle-fedora-30-3.59.2.x64.rpm.tar.gz
I will explore the differences, install & try them with a view to reproducing the fault you bugged. Also whether you need it at all: I have a vague memory that the v500 scanner worked with Sane/Xsane.

This software has always been uncertainly supported by Epson/Avasys.
The version I used previously (Mageia & LMDE) was iscan_2.30.1.
Comment 5 James Kerr 2019-10-23 16:27:24 CEST
I've had two or three Epson scanners in the past. I always found the iscan scanning software to be very buggy. I used Xsane and never had a problem. I can't be sure that Xsane will work with every model, but it is worth a try.

CC: (none) => jim

Comment 6 Lewis Smith 2019-10-27 21:19:39 CET
@Jack
I have at last had the time to look into this - but with no success. I specifically tried the same iscan versions as yourself (comment 1); and had trouble installing it because of the presence of the Mageia package
sane-backends-iscan which caused a version conflict somewhere. Removing that package enabled the two iscan packages installation.

Running ImageScan on my system, it could not find the scanner (which was noticed & correctly identified by the kernel). There was no drakconf error.
So I removed the iscan packages, re-installed sane-backends-iscan (already having sane-backends), and tried Xsane. Alas, it too could not find the scanner. So I am stumped; something amiss on my system, to find & fix.

I suggest you un-install the iscan packages, install:
- sane-backends       [you already have]
- sane-backends-iscan
- xsane
and try the last.

file:///usr/share/doc/sane-backends-doc-1.0.27/sane-backends.html#S-EPSON
The Perfection v300|500 is not directly supported (the v700 is).

file:///usr/share/doc/sane-backends-doc-1.0.27/sane-backends-external.html#S-EPKOWA
Perfection V300 Photo Good requires DFSG non-free esci-interpreter-gt-f720
Perfection V500 Photo Good requires DFSG non-free iscan-plugin-gt-x770

Note that because ImageScan is *not* Mageia supported software, we can do no more with that. Sorry. Hence closing the bug - which could have been done initially, but I wanted to test it. One can add to or re-open it if something new crops up.

Summary: drakconf crashed => Running iscan with Epson v300 scanner, drakconf crashed
Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 7 Lewis Smith 2019-11-19 22:18:05 CET
Jack

Good news re my V500 scanner.
I UNinstalled iscan-2.30.4 & its relatives, and leaving sane & xsane in place, installed an old iscan 2.30.1. This ran into problems with conflicts for sane-backends-iscan and esci-interpreter-gt-f720-1.0.0-1 which it wanted to remove - I agreed. In the event, it removed sane-backends-iscan OK but the removal of esci-interpreter-gt-f720 failed, so it is still there - I do not know whether this matters for me, but you would perhaps need it (see previous comment).

I ended up with:
 iscan-data-1.36.0-1
 iscan-2.30.1-1.usb0.1.ltdl7
 iscan-plugin-gt-x770-2.1.2-1
and 
 xsane-0.999-11.mga7
 sane-backends-1.0.27-4.mga7
and for good measure, as a control, I added
 simple-scan-3.32.2.1-2.mga7

Things changed for me from nothing working (no scanner found) to everything working: iscan, xsane, simple-scan. Even better, my last experience of iscan had disabled the jpeg output option due to library problems. Now all output formats are on offer, jpeg included.
I wonder about sane-backends-iscan.

Hope this helps you; and I can give you the iscan-2.30.1 bundle if you wish.
I might try again more recent versions 2.30.4 and 3.59.2 when I have nothing better to do...
Comment 8 James Kerr 2019-11-20 07:13:55 CET
(In reply to Lewis Smith from comment #7)

> I wonder about sane-backends-iscan.
> 

 sane-backends-iscan contains the open source Epson scanner software and it is usually best to remove it before installing the proprietary packages.
Comment 9 Lewis Smith 2019-11-20 11:06:32 CET
This is what one would think: with this [new] package, you do not need the proprietary software. Except I could not get it to work (scanner not found). And it looks as if my V500 works with Xsane without it (but iscan installed). I do really need to re-start from scratch; except for "let sleeping dogs lie".