Bug 997986

Summary: [abrt] sphinxtrain-1.0.8-5.fc19: sphinxtrain:34:setup:IOError: [Errno 2] No such file or directory: '/usr/lib/sphinxtrain/etc/sphinx_train.cfg'
Product: [Fedora] Fedora Reporter: reiayanami01
Component: sphinxtrainAssignee: Jerry James <loganjerry>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: loganjerry
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2690091b1ef7baa3bac20a670945819b2ad82098
Fixed In Version: sphinxtrain-1.0.8-8.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-28 21:29:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description reiayanami01 2013-08-16 17:18:44 UTC
Description of problem:
The bug appeared during a change in the configuration of Simon (speech recognition soft.);
Instead of using Voxforge vox model, I choose to use the Sphinx base model, then the bug appeared.

Version-Release number of selected component:
sphinxtrain-1.0.8-5.fc19

Additional info:
reporter:       libreport-2.1.6
cmdline:        /usr/bin/python /usr/bin/sphinxtrain -t default{36a4a9a3-163e-4559-8bac-0d646246698c} setup
executable:     /usr/bin/sphinxtrain
kernel:         3.10.6-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
sphinxtrain:34:setup:IOError: [Errno 2] No such file or directory: '/usr/lib/sphinxtrain/etc/sphinx_train.cfg'

Traceback (most recent call last):
  File "/usr/bin/sphinxtrain", line 135, in <module>
    main()
  File "/usr/bin/sphinxtrain", line 125, in main
    setup(task)
  File "/usr/bin/sphinxtrain", line 34, in setup
    for line in open(sphinxpath + "/etc/sphinx_train.cfg", "r"):
IOError: [Errno 2] No such file or directory: '/usr/lib/sphinxtrain/etc/sphinx_train.cfg'

Local variables in innermost frame:
out_cfg: <open file 'etc/sphinx_train.cfg', mode 'w' at 0x7f19cc253780>
task: 'default{36a4a9a3-163e-4559-8bac-0d646246698c}'

Comment 1 reiayanami01 2013-08-16 17:18:47 UTC
Created attachment 787364 [details]
File: backtrace

Comment 2 reiayanami01 2013-08-16 17:18:50 UTC
Created attachment 787365 [details]
File: environ

Comment 3 Jerry James 2013-08-20 04:32:16 UTC
This is due to some parts of the code assuming that everything will be installed into /usr/lib.  I have a patch for the problem, and will do new builds tonight.

Comment 4 Fedora Update System 2013-08-20 04:49:49 UTC
sphinxtrain-1.0.8-8.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/sphinxtrain-1.0.8-8.fc19

Comment 5 Fedora Update System 2013-08-20 04:49:58 UTC
sphinxtrain-1.0.8-8.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/sphinxtrain-1.0.8-8.fc18

Comment 6 Fedora Update System 2013-08-21 00:02:52 UTC
Package sphinxtrain-1.0.8-8.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sphinxtrain-1.0.8-8.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15043/sphinxtrain-1.0.8-8.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-08-28 21:29:14 UTC
sphinxtrain-1.0.8-8.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-08-28 21:31:52 UTC
sphinxtrain-1.0.8-8.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.