http://bugs.winehq.org/show_bug.cgi?id=9408
Summary: Irfanview cannot scan images Product: Wine Version: 0.9.43. Platform: PC URL: http://www.irfanview.com/ OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: thestig@google.com
This is different from bug 9406.
With the sane test backend, Irfanview still crashes when attempting to scan. The test backend works just fine with Picasa though.
To scan, select File -> Acquire/batch scanning. You can bypass bug 9404 by removing gphoto2.ds.so.
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #1 from Lei Zhang thestig@google.com 2007-08-21 20:46:28 --- Created an attachment (id=7729) --> (http://bugs.winehq.org/attachment.cgi?id=7729) gzipped +relay,+twain log
http://bugs.winehq.org/show_bug.cgi?id=9408
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware
--- Comment #2 from Austin English austinenglish@gmail.com 2008-11-23 21:50:17 --- Can you retest in 1.1.9?
http://bugs.winehq.org/show_bug.cgi?id=9408
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|hardware |
--- Comment #3 from Lei Zhang thestig@google.com 2008-11-25 11:59:05 --- No hardware needed, there's a sane "test" backend that emulates a scanner.
http://bugs.winehq.org/show_bug.cgi?id=9408
Philipp Sadleder philipp@sadleder.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |philipp@sadleder.de
http://bugs.winehq.org/show_bug.cgi?id=9408
Jeremy White jwhite@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jwhite@codeweavers.com Status|NEW |ASSIGNED
--- Comment #4 from Jeremy White jwhite@codeweavers.com 2009-02-18 09:05:00 --- I'll take this; additional test apps are useful to me. Lei, if you have a chance to retest, I'd hope it would no longer crash.
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #5 from Lei Zhang thestig@google.com 2009-02-25 13:43:38 --- With today's wine-git, I didn't have to remove gphoto2.ds.so and it did not crash. When I attempted to scan, I got:
err:twain:twain_add_onedriver Source->(DG_CONTROL,DAT_IDENTITY,MSG_GET) failed! err:twain:twain_add_onedriver Source->(DG_CONTROL,DAT_IDENTITY,MSG_GET) failed! fixme:twain:TWAIN_OpenDS no devs.
and a dialog box that said:
TWAIN error! Can't connect to device or the TWAIN driver is not installed.
I'm using the sane test backend on Hardy, which defaults to 2 test scanners. The test scanners work with xsane.
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #6 from Jeremy White jwhite@codeweavers.com 2009-02-25 14:21:36 ---
I'm using the sane test backend on Hardy, which defaults to 2 test scanners. The test scanners work with xsane.
It sure looks like libsane either isn't loaded, or isn't finding any devices. Can you post a +twain log? Also, can you turn on sane debugging (export SANE_DEBUG_XXX=255, where XXX is your backend name, in caps) and see if that reveals anything?
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #7 from Lei Zhang thestig@google.com 2009-02-25 15:56:09 --- Doesn't look like it detected the sane devices. Maybe the build on 64-bit Hardy is broken in someway. Let me try again in a 32-bit environment.
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #8 from Lei Zhang thestig@google.com 2009-02-25 16:08:55 --- Ok, got the same problem as before on the 32-bit Ubuntu machine. Similar backtrace to that of attachment 7729. I can give you a SANE_DEBUG_TESS=255 WINEDEBUG=+twain log if you'd like.
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #9 from Jeremy White jwhite@codeweavers.com 2009-02-25 16:50:32 --- Yes, please; I can't get Irfanview 4.23 to start for me.
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #10 from Lei Zhang thestig@google.com 2009-02-25 17:02:50 --- Created an attachment (id=19663) --> (http://bugs.winehq.org/attachment.cgi?id=19663) SANE_DEBUG_TEST=255 WINEDEBUG=+twain log
You probably hit bug 8287. I am testing with iview398.zip. Here's the gzipped debug log.
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #11 from Jeremy White jwhite@codeweavers.com 2009-02-25 17:16:22 --- You don't appear to be running a current git version of Wine; you have a log message that should correspond to current line 408 in dlls/sane.ds/ds_image.c, but it's missing the bpl= notice. (And there is a new FIXME right abouve that you should have gotten, which I don't see).
Could you check that? Also, if you shift /etc/sane.d/test.conf to Color instead of Gray I would expect you to see different results; the FIXME says that Gray isn't supported yet :-/. (But it shouldn't crash either way).
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #12 from Lei Zhang thestig@google.com 2009-02-25 20:35:29 --- Ah, I was using 1.1.15. With today's wine-git, it no longer crashes, though it didn't scan anything either. I tried both the color and grayscale modes.
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #13 from Jeremy White jwhite@codeweavers.com 2009-02-26 07:36:50 --- I managed to work around the 4.23 bug, thanks, and play with this a bit myself.
Here is what I've found: the 'select a source...' menu choice seems to just use the twain get default call (instead of letting you pick a source, which is what I would expect. I find it puzzling.) That means it will use the first scanner found, and so it will find a gphoto scanner, if any. So I found it necessary to remove gphoto.ds in order to get it to go to a sane scanner.
After I did that, I was able to do a scan, and I got Wine's scan dialog box. Switching it to color got me a successful scan. (Although it's hard to tell that's what happened, as the scanner just returns a black picture; you can tell, because the i_view UI changes shape). I can't do a gray scale scan (which is a known limitation, but at least now I get the fixme telling me that).
Does that match?
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #14 from Lei Zhang thestig@google.com 2009-02-26 12:49:50 --- Ya, I think that's about right. I was playing with xsane, which displayed a sane logo by default. I got confused and thought that's the test scan result, but actually you get a black image if you hit scan.
http://bugs.winehq.org/show_bug.cgi?id=9408
Danila Sentiabov dsent.zen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dsent.zen@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=9408
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de AssignedTo|wine-bugs@winehq.org |jwhite@codeweavers.com
--- Comment #15 from André H. nerv@dawncrow.de 2011-11-22 13:55:02 CST --- fixing assignee
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #16 from Ken Sharp kennybobs@o2.co.uk 2013-08-11 12:05:01 CDT --- Any update on this?
http://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #17 from Lei Zhang thestig@google.com 2013-08-21 17:36:23 CDT --- With IrfanView 4.36 and the sane test backend, depending on the scanning options, it can either succeed or get into what seems like an infinite loop.
http://bugs.winehq.org/show_bug.cgi?id=9408
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=9408
--- Comment #18 from Rosanne DiMesio dimesio@earthlink.net --- In 3.0-rc5, Irfanview 4.42 is able to scan an image, but then continually tries to rescan it. The scanner continued to run even after forcibly killing Irfanview; I had to physically disconnect it from the computer to get it to stop.
https://bugs.winehq.org/show_bug.cgi?id=9408
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org