[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#806822: [sphinxtrain] sphinxtrain doesn't find /usr/lib/x86_64-linux-gnu/sphinxtrain/bw (and probably Co)



Package: sphinxtrain
Version: 1.0.8+5prealpha-1
Severity: normal

--- Please enter the report below this line. ---

I'm currently trying to run the Simon Speech Recognition (https.//
simon.kde.org) and when I try to run a training I get the following error 
message in a Simon dialog:

As the server compiled the model the following error occurred:
Could not setup model

Details:
/usr/bin/sphinxtrain -t default{9e646abe-e7a1-4c53-88c5-93a5549d160f} setup
Failed to find sphinxtrain binaries. Check your installation

Searching in Google I found the error message in /usr/bin/sphinxtrain on line 
33 to 35:
if not (os.path.exists(sphinxbinpath + "/bw") or os.path.exists(sphinxbinpath 
+ "/bw.exe")):
        print "Failed to find sphinxtrain binaries. Check your installation"
        exit(1)

But the Debian package sphinxtrain installs bw in the folder:
/usr/lib/x86_64-linux-gnu/sphinxtrain/

so it can't find these additional binaries/scripts.

Don't know how to properly fix it. Probably the sphinxtrain package should 
install these binaries/scripts in /usr/bin or patch sphinxtrain (best 
upstream) to look at this location.

Thanks for your work on Sphinxtrain and Co
Mario



--- System information. ---
Architecture: amd64
Kernel:       Linux 4.2.0-1-amd64

Debian Release: stretch/sid
  500 testing         security.debian.org 
  500 testing         ftp.ch.debian.org 
  500 stable          security.debian.org 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.


Reply to: