naps2 icon indicating copy to clipboard operation
naps2 copied to clipboard

Duplex scanning not working since 6.0b3 till now

Open cz-vilda opened this issue 2 years ago • 7 comments

Describe the bug Unable to scan in duplex mode. Only first page is scanned. Last version able to scan in duplex mode is 6.0b3.

Expected behavior Scan both of pages.

Desktop (please complete the following information):

  • OS: Windows
  • Version: 11 Pro
  • scanner Fujitsu fi-6130

Additional context See error from log files.

Version 6.0b4 and above:

2023-01-31 22:07:46.4295 Error setting property System.ArgumentException: Could not set property 3096 (Pages) value to "0"
Parameter name: value
   v NAPS2.Scan.Wia.Native.WiaProperty.set_Value(Object value)
   v NAPS2.Scan.Wia.Native.WiaExtensions.SetProperty(WiaItemBase item, Int32 propId, Int32 value)

Version 7.x:

2023-01-31 21:51:36.2387 2000 Error setting property System.ArgumentException: Could not set property 3096 (Pages) value to "0"
Parameter name: value
 v NAPS2.Wia.WiaProperty.set_Value(Object value)
 v NAPS2.Wia.WiaExtensions.SetProperty(WiaItemBase item, Int32 propId, Int32 value)
 v NAPS2.Scan.Internal.Wia.WiaExtensions.SafeSetProperty(WiaItemBase item, Int32 propId, Int32 value)

cz-vilda avatar Jan 31 '23 21:01 cz-vilda

Can you try with this test version? naps2-7.0b3-testwia.zip

And then, whether or not it works, can you take the errorlog.txt file from the Data folder and attach it here?

cyanfish avatar Feb 03 '23 04:02 cyanfish

Thank you. I will try it next week (im on holiday now without scanner).

cz-vilda avatar Feb 03 '23 22:02 cz-vilda

Still not working. errorlog.txt: 2023-02-10 22:30:47.9134 11044 IPS_PAGES: min 0, max 50, step 1, nom 1, flags ReadWrite, Range 2023-02-10 22:30:47.9915 11044 Could not set property 3096 (Pages) value to "50" Název parametru: value System.ArgumentException: Could not set property 3096 (Pages) value to "50" Název parametru: value v NAPS2.Wia.WiaProperty.set_Value(Object value) v NAPS2.Scan.Internal.Wia.WiaScanDriver.WiaScanContext.ConfigureProps(WiaDevice device, WiaItem item) v NAPS2.Scan.Internal.Wia.WiaScanDriver.WiaScanContext.DoTransfer(WiaDevice device, WiaItem item) v NAPS2.Scan.Internal.Wia.WiaScanDriver.WiaScanContext.<Scan>d__6.MoveNext() --- Konec trasování zásobníku z předchozího místa, ze kterého byla vyvolána výjimka --- v System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() v System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) v NAPS2.Scan.Internal.Wia.WiaScanDriver.<>c__DisplayClass3_0.<<Scan>b__0>d.MoveNext() --- Konec trasování zásobníku z předchozího místa, ze kterého byla vyvolána výjimka --- v System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() v System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) v NAPS2.Scan.Internal.RemoteScanController.<Scan>d__5.MoveNext() --- Konec trasování zásobníku z předchozího místa, ze kterého byla vyvolána výjimka --- v System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() v System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) v NAPS2.Scan.ScanController.<>c__DisplayClass10_0.<<Scan>b__6>d.MoveNext()

cz-vilda avatar Feb 10 '23 21:02 cz-vilda

Thanks, can you try selecting "1.0" for "Wia Version" in the Advanced profile settings window? Doesn't matter if it's the test version or the normal NAPS2 installation. If that fails too I'd like to see the error log.

cyanfish avatar Feb 10 '23 22:02 cyanfish

Stil not working... 2023-02-16 20:15:22.9018 6636 Došlo k chybě ovladače skeneru. NAPS2.Wia.WiaException: WIA error code 80070057 v NAPS2.Wia.WiaTransfer.Download() v NAPS2.Scan.Internal.Wia.WiaScanDriver.WiaScanContext.DoTransfer(WiaDevice device, WiaItem item) v NAPS2.Scan.Internal.Wia.WiaScanDriver.WiaScanContext.<Scan>d__6.MoveNext() --- Konec trasování zásobníku z předchozího místa, ze kterého byla vyvolána výjimka --- v System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() v System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) v NAPS2.Scan.Internal.Wia.WiaScanDriver.<>c__DisplayClass3_0.<<Scan>b__0>d.MoveNext()

cz-vilda avatar Feb 16 '23 19:02 cz-vilda

Hi, if you're still interested in trying to fix this, I'm circling back to this as I got my hands on a fi-6130Z, though I can't reproduce the issue. What driver version do you have installed? You can find it in Device Manager. image

cyanfish avatar Apr 15 '23 18:04 cyanfish