Public bug reported:

The default install references a missing script (and directory) at
/etc/scanbd/scripts/test.script.  The install detected my scanner and
logged a button action (yay!), but reported the following cryptic errors
on syslog.  This would be impossible for a newbie to figure out.

        scanbd: trigger action for scan for device fujitsu:ScanSnap 
S510M:503191 with script test.script
        scanbd: access: No such file or directory
        scanbd: stat: No such file or directory
        scanbd: execlp: No such file or directory
        scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager'
        scanbd: Not Primary Owner (2)
        scanbd: trigger action for page-loaded for device fujitsu:ScanSnap 
S510M:503191 with script (null)
        scanbd: trigger action for scan for device fujitsu:ScanSnap 
S510M:503191 with script test.script
        scanbd: access: No such file or directory
        scanbd: stat: No such file or directory
        scanbd: execlp: No such file or directory

I'd suggest including a scripts/test.script with the following content:

        #!/bin/bash
        # Replace this placeholder script with something like
        # https://pypi.python.org/pypi/scanpdf

        logger -t "scanbd: $0" "Begin of $SCANBD_ACTION for device
$SCANBD_DEVICE"

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: scanbd 1.4.4-1build1
ProcVersionSignature: Ubuntu 4.8.0-22.24-generic 4.8.0
Uname: Linux 4.8.0-22-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Feb 21 11:51:44 2017
InstallationDate: Installed on 2015-12-13 (436 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: scanbd
UpgradeStatus: Upgraded to yakkety on 2017-01-09 (43 days ago)

** Affects: scanbd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1666659

Title:
  Default scanbd install references missing scripts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/scanbd/+bug/1666659/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to