Comment 51 for bug 85488

Revision history for this message
Joel Berger (hikari-lp) wrote : Re: Canon Lide25 (plustek backend) scanner does not scan via gui

@ all:

Thank ianrose for the idea of the script; I just liked the idea and wanted a single-command solution (something that could be called easily from a GUI). Also, in case it's non-obvious, the syntax is plustek-wrapper <command>, just as you'd use sudo. Finally, if anyone's got superior regex-fu to mine, feel free to convert that mess for setting $SANE_DEVICE into something more graceful. I've just never had much luck with backreferences in sed. Oh, and don't forget that the script is still just a workaround and I think it'll be better for us all in the long run to deal with this upstream (e.g. most likely the SANE developers) in the interest of a real fix.

@ Arthus42:

The only cases in which I could reproduce that error were for cases where the file as specified didn't exist (remember that sh <file> doesn't honor $PATH) or the user trying to run the script didn't have read permission to the file. So that's where I'd troubleshoot first.