cyanfish / naps2

Scan documents to PDF and more, as simply as possible.
https://www.naps2.com
Other
2.58k stars 315 forks source link

Plustek 2420+ broken in 7.X. Works fine in 6.1.2 - Windows 10 #378

Open osowiecki opened 2 months ago

osowiecki commented 2 months ago

As in the Title Plustek 2420+ with Native Interface and twain works fine in 6.1.2 but throws an error in newer versions of NAPS2. If anyone want to reproduce this error, you have to disable driver signature check in Windows to install the driver/software.

2024-04-24 12:53:51.8952 4664 NAPS2.TW - StateChanged (to 6) 2024-04-24 12:53:54.6333 4820 Status(StatusCode="Unavailable", Detail="failed to connect to all addresses") Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses") at async Task GrpcDotNetNamedPipes.Internal.MessageReader.MoveNext(CancellationToken cancellationToken) at async Task NAPS2.Remoting.Worker.WorkerServiceAdapter.TwainScan(ScanOptions options, CancellationToken cancelToken, ITwainEvents twainEvents) at async Task NAPS2.Scan.Internal.Twain.RemoteTwainController.StartScan(ScanOptions options, ITwainEvents twainEvents, CancellationToken cancelToken) at async Task NAPS2.Scan.Internal.Twain.TwainScanDriver.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action callback)+(?) => { } at async Task NAPS2.Scan.Internal.RemoteScanController.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<ProcessedImage, PostProcessingContext> callback) at async Task NAPS2.Scan.ScanController+<>c__DisplayClass13_1.g__DoScan|6(?)+DoScan(?) at async IAsyncEnumerable NAPS2.Scan.ScanController.Scan(ScanOptions options, CancellationToken cancelToken)+(?) => { }

cyanfish commented 2 months ago

That error indicates the TWAIN process crashed. You can try checking the Windows Event Viewer under Application and see if it has any relevant errors.