You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature
It would be helpful to have an option to handle the “document feeder is empty” error gracefully.
To Reproduce
Steps to reproduce the behavior:
Open Terminal.
run the command
Leave the document feeder empty.
Observe the console displaying an error.
$ naps2.console -p "7320 Einzug SW 200dpi" -a -n 2
Error Domain=com.apple.ImageCaptureCore Code=-9933 "Document feeder is empty." UserInfo={NSLocalizedDescription=Document feeder is empty.}
Expected behavior
Add a --retry-on-empty-feeder option, with optional delay settings. The delay could default to the value of the --delay parameter or allow customization.
$ naps2.console -p "7320 Einzug SW 200dpi" -a -n 2 --delay 5000
[...]
Error Domain=com.apple.ImageCaptureCore Code=-9933 "Document feeder is empty." UserInfo={NSLocalizedDescription=Document feeder is empty.}
Feeder is empty... retry scan in 5000ms.
Waiting 5000ms...
5000ms
4000ms
3000ms
2000ms
1000ms
Starting scan 2 of 2...```**Desktop (please complete the following information):**- OS: macOS Sonoma 14.5 (23F79)- Version: NAPS 7.5.1.0
The text was updated successfully, but these errors were encountered:
muescha
changed the title
CLI: retry when feeder is empfy
CLI: retry when feeder is empty
Jan 22, 2025
Describe the feature
It would be helpful to have an option to handle the “document feeder is empty” error gracefully.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Add a
--retry-on-empty-feeder
option, with optional delay settings. The delay could default to the value of the--delay
parameter or allow customization.The text was updated successfully, but these errors were encountered: