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: | sphinxtrain | Assignee: | Jerry James <loganjerry> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 19 | CC: | 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: |
|
||||||||
Created attachment 787364 [details]
File: backtrace
Created attachment 787365 [details]
File: environ
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. 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 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 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). 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. 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. |
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}'