Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
Am 19.02.2015 um 17:00 schrieb ylafont: > I copied the syslog to the dropbox folder. > > https://www.dropbox.com/sh/eu2mflwablkv8vm/AACgbgDwXF_i1n734Iar4wa6a?dl=0 thank you! > > again, thanks for the assistance. you're welcome! -- Wilhelm w.me...@unix.net -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
I copied the syslog to the dropbox folder. https://www.dropbox.com/sh/eu2mflwablkv8vm/AACgbgDwXF_i1n734Iar4wa6a?dl=0 again, thanks for the assistance. -- View this message in context: http://sane.10972.n7.nabble.com/Scandb-On-Paperload-fujitsu-conf-tp19449p19474.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
Am 18.02.2015 um 22:20 schrieb ylafont: > My Process, > > rename /usr/local/sbin/scanbd --- > /usr/local/sbin/scanbd.old > replaced /usr/local/srv/1.4.1/src/scanbd/sane.c with new posted version Well, in this case this should work, but I wanted you to check out the last version of trunk ... > > cd /usr/local/srv/1.4.1/ > sudo ./configre > sudo make all > sudo make install > > checked to insure scanbd was recreated in /usr/local/sbin > > rebooted > > re-tested. > > check tmp folder the environment file. > worked like a charm. That's good news. Please do me a favor and send the log-files with the highest log-level (just about 100 lines before the "exec" of the script). > Could something have gone wrong with the initial compile if the code was > not changed? I have no idea ... > > > > > > -- > View this message in context: > http://sane.10972.n7.nabble.com/Scandb-On-Paperload-fujitsu-conf-tp19449p19471.html > Sent from the SANE - Dev mailing list archive at Nabble.com. > -- Wilhelm w.me...@unix.net -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
My Process, rename /usr/local/sbin/scanbd --- > /usr/local/sbin/scanbd.old replaced /usr/local/srv/1.4.1/src/scanbd/sane.c with new posted version cd /usr/local/srv/1.4.1/ sudo ./configre sudo make all sudo make install checked to insure scanbd was recreated in /usr/local/sbin rebooted re-tested. check tmp folder the environment file. worked like a charm. Could something have gone wrong with the initial compile if the code was not changed? -- View this message in context: http://sane.10972.n7.nabble.com/Scandb-On-Paperload-fujitsu-conf-tp19449p19471.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
Am 18.02.2015 um 17:44 schrieb ylafont: > Not sure what files need to be copy back. None look like they have been > modified. Please let me know. Look here please: https://sourceforge.net/p/scanbd/code/207/ You have to checkout the latest version of trunk via svn. -- Wilhelm w.me...@unix.net -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
Not sure what files need to be copy back. None look like they have been modified. Please let me know. -- View this message in context: http://sane.10972.n7.nabble.com/Scandb-On-Paperload-fujitsu-conf-tp19449p19469.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
Am 17.02.2015 um 21:43 schrieb ylafont: > Scanbd files > https://www.dropbox.com/sh/eu2mflwablkv8vm/AACgbgDwXF_i1n734Iar4wa6a?dl=0 I added some additional checks in trunk, please try it again and send back the logs. Thanks. > > scanbd.conf launches "scan.sh" which is in the same folder. > (temporarily comment out). > > fujitsu.com launches "test.sh" - simply creates a file in the /tmp > folder informing it executed. i have tried since just the name and the > full path. same result. > > Thank you for the assistance and please let me know if anything else is > needed or required. > > > On Tuesday, February 17, 2015 1:22 PM, Wilhelm Meier-2 [via SANE] > <[hidden email] > wrote: > > > I must admit that I have no idea what is going on - please post the full > scanbd.conf and all relevant included .conf-files. > > And please test the script as saned user - not as the pi user. > > Am 17.02.2015 um 17:38 schrieb ylafont: > >> I am assuming access rights for the folder are all good, the script can >> be executed if i place it in the "scan action" of scanbd.conf >> >> folders access >> . >> pi@PiScanner /usr/local/etc $ ls -l >> total 4 >> drwxr-sr-x 4 root staff 4096 Feb 16 15:53 scanbd >> >> But just in case i gave all rights to the folder and everything below. >> >> pi@PiScanner /usr/local/etc $ ls -l >> total 4 >> drwxrwsrwx 4 root staff 4096 Feb 16 15:53 scanbd >> >> >> On Monday, February 16, 2015 11:56 AM, Wilhelm Meier-2 [via SANE] >> <[hidden email] > wrote: >> >> >> Am 16.02.2015 um 17:43 schrieb ylafont: >>> I have been trying to have a "Paperload" action start without success. >>> >>> scanbd gives me on error stating "No such file or directory". The > file is >>> there. >> >> Please check the access rights of the user running scanbd, also to the >> directory. >> >>> >>> >>> Scanbd Log --- >>> >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: checking > option >>> page-loaded number 77 (2) for device fujitsu:fi-4220C2dj:100742: > value: 1 >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: value trigger: >>> numerical >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: trigger >> action for >>> page-loaded for device fujitsu:fi-4220C2dj:100742 with script >>> /usr/local/etc/scanbd/test.sh >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: >>> get_sane_option_value >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: Value of >> mode as >>> string (len 7, hash -621353420): Lineart >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >>> SCANBD_FUNCTION_MODE=Lineart >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: >>> get_sane_option_value >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >>> SCANBD_FUNCTION=2 >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >>> PATH=/sbin:/usr/sbin:/bin:/usr/bin >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> PWD=/ >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: No USER, >> setting >>> env: USER=saned >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >>> HOME=/ >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >>> SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >>> SCANBD_ACTION=paperload >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >>> fujitsu:fi-4220C2dj:100742 to signal scan_begin >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending >> signal >>> scan_begin >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >>> SCANBD_FUNCTION_MODE=Lineart to signal trigger >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >>> SCANBD_FUNCTION=2 to signal trigger >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >>> PATH=/sbin:/usr/sbin:/bin:/usr/bin to signal trigger >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >>> PWD=/ to signal trigger >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >>> USER=saned to signal trigger >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >>> HOME=/ to signal trigger >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >>> SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 to signal trigger >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >>> SCANBD_ACTION=paperload to signal trigger >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending >> signal >>> trigger >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now flushing >> the >>> dbus >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: unref the >> signal >>> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: using absolute >>> script path: /usr/local/etc/scanbd/test.sh >>> Feb 16 16:34:36 Pi
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
Scanbd files https://www.dropbox.com/sh/eu2mflwablkv8vm/AACgbgDwXF_i1n734Iar4wa6a?dl=0 scanbd.conf launches "scan.sh" which is in the same folder. (temporarily comment out). fujitsu.com launches "test.sh" - simply creates a file in the /tmp folder informing it executed. i have tried since just the name and the full path. same result. Thank you for the assistance and please let me know if anything else is needed or required. On Tuesday, February 17, 2015 1:22 PM, Wilhelm Meier-2 [via SANE] wrote: I must admit that I have no idea what is going on - please post the full scanbd.conf and all relevant included .conf-files. And please test the script as saned user - not as the pi user. Am 17.02.2015 um 17:38 schrieb ylafont: > I am assuming access rights for the folder are all good, the script can > be executed if i place it in the "scan action" of scanbd.conf > > folders access > . > pi@PiScanner /usr/local/etc $ ls -l > total 4 > drwxr-sr-x 4 root staff 4096 Feb 16 15:53 scanbd > > But just in case i gave all rights to the folder and everything below. > > pi@PiScanner /usr/local/etc $ ls -l > total 4 > drwxrwsrwx 4 root staff 4096 Feb 16 15:53 scanbd > > > On Monday, February 16, 2015 11:56 AM, Wilhelm Meier-2 [via SANE] > <[hidden email] > wrote: > > > Am 16.02.2015 um 17:43 schrieb ylafont: >> I have been trying to have a "Paperload" action start without success. >> >> scanbd gives me on error stating "No such file or directory". The file is >> there. > > Please check the access rights of the user running scanbd, also to the > directory. > >> >> >> Scanbd Log --- >> >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: checking option >> page-loaded number 77 (2) for device fujitsu:fi-4220C2dj:100742: value: 1 >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: value trigger: >> numerical >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: trigger > action for >> page-loaded for device fujitsu:fi-4220C2dj:100742 with script >> /usr/local/etc/scanbd/test.sh >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: >> get_sane_option_value >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: Value of > mode as >> string (len 7, hash -621353420): Lineart >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> SCANBD_FUNCTION_MODE=Lineart >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: >> get_sane_option_value >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> SCANBD_FUNCTION=2 >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> PATH=/sbin:/usr/sbin:/bin:/usr/bin >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > PWD=/ >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: No USER, > setting >> env: USER=saned >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> HOME=/ >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> SCANBD_ACTION=paperload >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> fujitsu:fi-4220C2dj:100742 to signal scan_begin >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending > signal >> scan_begin >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> SCANBD_FUNCTION_MODE=Lineart to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> SCANBD_FUNCTION=2 to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> PATH=/sbin:/usr/sbin:/bin:/usr/bin to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> PWD=/ to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> USER=saned to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> HOME=/ to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> SCANBD_ACTION=paperload to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending > signal >> trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now flushing > the >> dbus >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: unref the > signal >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: using absolute >> script path: /usr/local/etc/scanbd/test.sh >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: waiting for > child: >> /usr/local/etc/scanbd/test.sh >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: exec for >> /usr/local/etc/scanbd/test.sh >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: execlp: No suc
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
Scanbd files https://www.dropbox.com/sh/eu2mflwablkv8vm/AACgbgDwXF_i1n734Iar4wa6a?dl=0 scanbd.conf launches "scan.sh" which is in the same folder. (temporarily comment out). fujitsu.com launches "test.sh" - simply creates a file in the /tmp folder informing it executed. i have tried since just the name and the full path. same result. Thank you for the assistance and please let me know if anything else is needed or required. -- View this message in context: http://sane.10972.n7.nabble.com/Scandb-On-Paperload-fujitsu-conf-tp19449p19463.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
I must admit that I have no idea what is going on - please post the full scanbd.conf and all relevant included .conf-files. And please test the script as saned user - not as the pi user. Am 17.02.2015 um 17:38 schrieb ylafont: > I am assuming access rights for the folder are all good, the script can > be executed if i place it in the "scan action" of scanbd.conf > > folders access > . > pi@PiScanner /usr/local/etc $ ls -l > total 4 > drwxr-sr-x 4 root staff 4096 Feb 16 15:53 scanbd > > But just in case i gave all rights to the folder and everything below. > > pi@PiScanner /usr/local/etc $ ls -l > total 4 > drwxrwsrwx 4 root staff 4096 Feb 16 15:53 scanbd > > > On Monday, February 16, 2015 11:56 AM, Wilhelm Meier-2 [via SANE] > <[hidden email] > wrote: > > > Am 16.02.2015 um 17:43 schrieb ylafont: >> I have been trying to have a "Paperload" action start without success. >> >> scanbd gives me on error stating "No such file or directory". The file is >> there. > > Please check the access rights of the user running scanbd, also to the > directory. > >> >> >> Scanbd Log --- >> >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: checking option >> page-loaded number 77 (2) for device fujitsu:fi-4220C2dj:100742: value: 1 >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: value trigger: >> numerical >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: trigger > action for >> page-loaded for device fujitsu:fi-4220C2dj:100742 with script >> /usr/local/etc/scanbd/test.sh >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: >> get_sane_option_value >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: Value of > mode as >> string (len 7, hash -621353420): Lineart >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> SCANBD_FUNCTION_MODE=Lineart >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: >> get_sane_option_value >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> SCANBD_FUNCTION=2 >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> PATH=/sbin:/usr/sbin:/bin:/usr/bin >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > PWD=/ >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: No USER, > setting >> env: USER=saned >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> HOME=/ >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: >> SCANBD_ACTION=paperload >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> fujitsu:fi-4220C2dj:100742 to signal scan_begin >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending > signal >> scan_begin >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> SCANBD_FUNCTION_MODE=Lineart to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> SCANBD_FUNCTION=2 to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> PATH=/sbin:/usr/sbin:/bin:/usr/bin to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> PWD=/ to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> USER=saned to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> HOME=/ to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> SCANBD_ACTION=paperload to signal trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending > signal >> trigger >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now flushing > the >> dbus >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: unref the > signal >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: using absolute >> script path: /usr/local/etc/scanbd/test.sh >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: waiting for > child: >> /usr/local/etc/scanbd/test.sh >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: exec for >> /usr/local/etc/scanbd/test.sh >> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: execlp: No such >> file or directory >> *Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: child >> /usr/local/etc/scanbd/test.sh exited with status: 1* >> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: Iteration on > dbus >> call >> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: append string >> fujitsu:fi-4220C2dj:100742 to signal scan_end >> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: now sending > signal >> scan_end >> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: reopen device >>
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
I am assuming access rights for the folder are all good, the script can be executed if i place it in the "scan action" of scanbd.conf folders access . pi@PiScanner /usr/local/etc $ ls -l total 4 drwxr-sr-x 4 root staff 4096 Feb 16 15:53 scanbd But just in case i gave all rights to the folder and everything below. pi@PiScanner /usr/local/etc $ ls -l total 4 drwxrwsrwx 4 root staff 4096 Feb 16 15:53 scanbd On Monday, February 16, 2015 11:56 AM, Wilhelm Meier-2 [via SANE] wrote: Am 16.02.2015 um 17:43 schrieb ylafont: > I have been trying to have a "Paperload" action start without success. > > scanbd gives me on error stating "No such file or directory". The file is > there. Please check the access rights of the user running scanbd, also to the directory. > > > Scanbd Log --- > > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: checking option > page-loaded number 77 (2) for device fujitsu:fi-4220C2dj:100742: value: 1 > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: value trigger: > numerical > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: trigger action for > page-loaded for device fujitsu:fi-4220C2dj:100742 with script > /usr/local/etc/scanbd/test.sh > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: > get_sane_option_value > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: Value of mode as > string (len 7, hash -621353420): Lineart > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > SCANBD_FUNCTION_MODE=Lineart > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: > get_sane_option_value > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > SCANBD_FUNCTION=2 > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > PATH=/sbin:/usr/sbin:/bin:/usr/bin > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: PWD=/ > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: No USER, setting > env: USER=saned > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > HOME=/ > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > SCANBD_ACTION=paperload > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > fujitsu:fi-4220C2dj:100742 to signal scan_begin > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal > scan_begin > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > SCANBD_FUNCTION_MODE=Lineart to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > SCANBD_FUNCTION=2 to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > PATH=/sbin:/usr/sbin:/bin:/usr/bin to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > PWD=/ to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > USER=saned to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > HOME=/ to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > SCANBD_ACTION=paperload to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal > trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now flushing the > dbus > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: unref the signal > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: using absolute > script path: /usr/local/etc/scanbd/test.sh > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: waiting for child: > /usr/local/etc/scanbd/test.sh > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: exec for > /usr/local/etc/scanbd/test.sh > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: execlp: No such > file or directory > *Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: child > /usr/local/etc/scanbd/test.sh exited with status: 1* > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: Iteration on dbus > call > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: append string > fujitsu:fi-4220C2dj:100742 to signal scan_end > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal > scan_end > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: reopen device > fujitsu:fi-4220C2dj:100742 > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: got the value > already -> copy > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: copy the value of > option 77 > > > File listing - > > pi@PiScanner /usr/local/etc/scanbd $ ls -l > total 72 > -rwxr--r-- 1 root staff 1776 Feb 4 00:10 action.script > -rwxr--r-- 1 root staff 2415
[sane-devel] Scandb - On Paperload - fujitsu.conf
I have been trying to have a "Paperload" action start without success. scanbd gives me on error stating "No such file or directory". The file is there. Scanbd Log --- Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: checking option page-loaded number 77 (2) for device fujitsu:fi-4220C2dj:100742: value: 1 Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: value trigger: numerical Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: trigger action for page-loaded for device fujitsu:fi-4220C2dj:100742 with script /usr/local/etc/scanbd/test.sh Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: get_sane_option_value Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: Value of mode as string (len 7, hash -621353420): Lineart Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: SCANBD_FUNCTION_MODE=Lineart Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: get_sane_option_value Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: SCANBD_FUNCTION=2 Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: PATH=/sbin:/usr/sbin:/bin:/usr/bin Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: PWD=/ Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: No USER, setting env: USER=saned Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: HOME=/ Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: SCANBD_ACTION=paperload Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string fujitsu:fi-4220C2dj:100742 to signal scan_begin Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal scan_begin Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string SCANBD_FUNCTION_MODE=Lineart to signal trigger Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string SCANBD_FUNCTION=2 to signal trigger Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string PATH=/sbin:/usr/sbin:/bin:/usr/bin to signal trigger Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string PWD=/ to signal trigger Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string USER=saned to signal trigger Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string HOME=/ to signal trigger Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 to signal trigger Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string SCANBD_ACTION=paperload to signal trigger Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal trigger Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now flushing the dbus Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: unref the signal Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: using absolute script path: /usr/local/etc/scanbd/test.sh Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: waiting for child: /usr/local/etc/scanbd/test.sh Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: exec for /usr/local/etc/scanbd/test.sh Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: execlp: No such file or directory *Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: child /usr/local/etc/scanbd/test.sh exited with status: 1* Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: Iteration on dbus call Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: append string fujitsu:fi-4220C2dj:100742 to signal scan_end Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal scan_end Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: reopen device fujitsu:fi-4220C2dj:100742 Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: got the value already -> copy Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: copy the value of option 77 File listing - pi@PiScanner /usr/local/etc/scanbd $ ls -l total 72 -rwxr--r-- 1 root staff 1776 Feb 4 00:10 action.script -rwxr--r-- 1 root staff 2415 Nov 5 13:27 adfscan.sh -rwxr--r-- 1 root staff 1115 Feb 4 00:10 example.script -rwxr--r-- 1 root staff 949 Feb 4 00:10 insert.script -rwxr-xr-x 1 root staff 1643 Feb 10 18:14 nextfile.sh -rwxr-xr-x 1 root staff 2686 Feb 14 05:27 nextscan.sh -rwxr-xr-x 1 root staff 2346 Feb 15 17:14 premove.sh drwxr-sr-x 3 root staff 4096 Feb 4 03:59 sane.d -rwxr-xr-x 1 root staff 4502 Feb 15 17:19 scan2.sh -rwxr--r-- 1 root staff 1207 Feb 4 00:10 scanadf.script -rwxr--r-- 1 root staff 8805 Feb 16 15:45 scanbd.conf drwxr-sr-x 2 root staff 4096 Feb 4 03:59 scanner.d -rwxrwxrwx 1 root staff 2491 Feb 15 21:06 scan.sh -rwxr-xr-x 1 root staff 1195 Feb 4 00:10 test.script.org -rwxrwxrwx 1 root staff 2009 Feb 16 16:12 test.sh pi@PiScanner /usr/local/etc/scanbd $ paperload section - Fujitsu.conf --- action paperloa
Re: [sane-devel] Scandb - On Paperload - fujitsu.conf
Am 16.02.2015 um 17:43 schrieb ylafont: > I have been trying to have a "Paperload" action start without success. > > scanbd gives me on error stating "No such file or directory". The file is > there. Please check the access rights of the user running scanbd, also to the directory. > > > Scanbd Log --- > > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: checking option > page-loaded number 77 (2) for device fujitsu:fi-4220C2dj:100742: value: 1 > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: value trigger: > numerical > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: trigger action for > page-loaded for device fujitsu:fi-4220C2dj:100742 with script > /usr/local/etc/scanbd/test.sh > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: > get_sane_option_value > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: Value of mode as > string (len 7, hash -621353420): Lineart > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > SCANBD_FUNCTION_MODE=Lineart > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: > get_sane_option_value > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > SCANBD_FUNCTION=2 > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > PATH=/sbin:/usr/sbin:/bin:/usr/bin > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: PWD=/ > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: No USER, setting > env: USER=saned > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > HOME=/ > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: > SCANBD_ACTION=paperload > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > fujitsu:fi-4220C2dj:100742 to signal scan_begin > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal > scan_begin > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > SCANBD_FUNCTION_MODE=Lineart to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > SCANBD_FUNCTION=2 to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > PATH=/sbin:/usr/sbin:/bin:/usr/bin to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > PWD=/ to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > USER=saned to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > HOME=/ to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string > SCANBD_ACTION=paperload to signal trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal > trigger > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now flushing the > dbus > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: unref the signal > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: using absolute > script path: /usr/local/etc/scanbd/test.sh > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: waiting for child: > /usr/local/etc/scanbd/test.sh > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: exec for > /usr/local/etc/scanbd/test.sh > Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: execlp: No such > file or directory > *Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: child > /usr/local/etc/scanbd/test.sh exited with status: 1* > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: Iteration on dbus > call > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: append string > fujitsu:fi-4220C2dj:100742 to signal scan_end > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal > scan_end > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: reopen device > fujitsu:fi-4220C2dj:100742 > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: got the value > already -> copy > Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: copy the value of > option 77 > > > File listing - > > pi@PiScanner /usr/local/etc/scanbd $ ls -l > total 72 > -rwxr--r-- 1 root staff 1776 Feb 4 00:10 action.script > -rwxr--r-- 1 root staff 2415 Nov 5 13:27 adfscan.sh > -rwxr--r-- 1 root staff 1115 Feb 4 00:10 example.script > -rwxr--r-- 1 root staff 949 Feb 4 00:10 insert.script > -rwxr-xr-x 1 root staff 1643 Feb 10 18:14 nextfile.sh > -rwxr-xr-x 1 root staff 2686 Feb 14 05:27 nextscan.sh > -rwxr-xr-x 1 root staff 2346 Feb 15 17:14 premove.sh > drwxr-sr-x 3 root staff 4096 Feb 4 03:59 sane.d > -rwxr-xr-x 1 root staff 4502 Feb 15 17:19 scan2.sh > -rwxr--r-- 1 root staff 1207 Feb 4 00:10 scanadf.script > -rwxr--r-- 1 root staff 8805 Feb 16 15:45