-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 7 x64 scanning fails with: "Während der Vorschau ist ein Fehler aufgetreten" #27
Comments
By the way I also tried latest development build: https://wiasane.marc-hoersken.de/download/release/v0.1.1.9-41-g5c8c2db/wiasane-v0.1.1.9-41-g5c8c2db.exe |
Could you please post the output of winsane-dbg.exe here? Maybe your scanner does not support all required options or uses different names for them. The "Check Device" function does not currently check if that is the case. |
I'm getting following error under Windows 10: |
You need to run winsane-dbg.exe from the commandline and give it the host and port of the SANEd server as parameters. |
Added shortened log file (actual scanning messages are mostly removed). |
Sorry for multiple attempts, uploads failed several times. |
And I now thought to try it from different computer. And it works from there... Weird. |
Uninstalling driver and reinstalling it fixed the problem. |
It seems I have the same problem, so I will not open a new issue. |
Something that I noticed later: when scanner is turned off and then on again I need to re-select scanner in Device Manager. Could this be the issue also? |
@virgoparna: it doesn't make any difference in my case. I just want to add that I use Windows 10 Anniversary Edition. |
And this is the log from saned with SANE_DEBUG_DLL=255 and -d255 |
I'm also having the same issue with all of my computers (tried on Windows 10 and Windows 7). I have a Canon Pixma MP160 multi-function device. Using SANEDroid (Android 4.2.2) I can use my scanner on my phone so I think the Linux-side works well. When I try to scan from Windows I get the error message described above. Under Windows my scanner also works with SaneTwain. I attached the output of winsane-dbg: |
I'm also having the same issue on a HP all-in-one, on both Windows 7 64bit and Windows 10 64bit. The message when I click the preview button in Windows Fax and Scan is:
I can confirm that it works in SaneTwain/SaneWinDS. The debug executable can also retrieve data from the scanner. Here is the attached output: out.txt. |
hello As i was trying to see what is going on in saned (saned -d255), i realized that something is periodically connecting to it (and causing it to bail out), even when I "do nothing" with it. (no scanning app, no winsane-dbg, etc). The connection comes from my computer, not from any other host. edit: when installing, only the debug version is able to completely install, the release version finds the scanner but cant connect to it / set it up. The scanner's name under release is: pixma:04A926A3, while under debug: pixma:04A926A3_SDF820055437B. (pixma is the backend used). |
I seem to have the same program with my Canon Pixma MP600 and Win10x64 Pro It seems to install fine, finds the printer, the dbg program even seems to complete the scan, but when trying to do an actual scan it complains about another program accessing the device. SaneTwain/SaneWinDs on the same machine work fine (but I can't seem to get them properly integrated), so does the windows machine. Many people with this problem seem to have Canon Scanners - could that be related? |
Just tried another computer, Win10x64 Home, and it worked. Could installing SaneTwain or SaneWinDS before wiasane be the problem? I tried uninstalling it from the other computer, reinstalling wiasane, removing everything from c:\Windows\twain_32\ and reinstalling, but nothing helped. |
Affects me too. Win10x64 Pro, Samsung SCX-4200 as a target device. I suspect that recent versions of WIASane started to expect some options being available from the scanner driver and fail to perform preview/scan in case these options are missing or fail to return proper value. xerox_mfp sane driver that is being used to handle Samsung SCX-4200 device seems to be somewhat messy w.r.t. options provided. I think that WIASane requirements on the provided options should be relaxed a bit so borked sane drivers/devices still would be able to produce an image no matter if it is possible for WIASane to control brightness/contrast/whatever or not. Here is the output from winsane-dbg.exe connecting to the device in question:
In case I answer "y" to the "Scan?" query winsane-dbg.exe actually is able to perform a scan and acquire image data. |
Me too. Win10 Home 64-bit, Version 1703. My log is as following.
|
I know it's been years since this issue was opened, but I was wondering/hoping if anyone has found a solution in the meantime |
I tried to use WIASANE on Windows 7 x64 (German version) but whenever I try to fetch preview from the scanner it fails with:
"Während der Vorschau ist ein Fehler aufgetreten. Wenn ein anderes Programm den Scanner benutzt, warten Sie solange ab und versuchen Sie es erneut."
Actually the scanner is not busy and scanning from another Linux machine works fine. If I go to device manager and press "Check Device" in the WIA driver it shows: "Scanner device was successfully checked"
The text was updated successfully, but these errors were encountered: