Bug 681722

Summary: [abrt] speech-dispatcher-0.7.1-2.fc14: fileinput.py:322:readline:OSError: [Errno 2] No such file or directory
Product: [Fedora] Fedora Reporter: Alison Chaiken <alchaiken>
Component: speech-dispatcherAssignee: Peter Robinson <pbrobinson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2d8b5a74
Fixed In Version: speech-dispatcher-0.7.1-4.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-23 22:54:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Alison Chaiken 2011-03-03 02:35:30 UTC
abrt version: 1.1.17
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/spd-conf
comment: Appears to be related to inability to modify files in ~/.speech-dispatcher/conf.   The point at which the script crashes depends on whether I rm -rf ~/.speech-dispatcher and whether I choose "new" or "modify" in the interactive configurator.
component: speech-dispatcher
executable: /usr/bin/spd-conf
kernel: 2.6.35.11-83.fc14.x86_64
package: speech-dispatcher-0.7.1-2.fc14
reason: fileinput.py:322:readline:OSError: [Errno 2] No such file or directory
release: Fedora release 14 (Laughlin)
time: 1299116703
uid: 500

backtrace
-----
fileinput.py:322:readline:OSError: [Errno 2] No such file or directory

Traceback (most recent call last):
  File "/usr/bin/spd-conf", line 10, in <module>
    sys.exit(speechd_config.main())
  File "/usr/lib64/python2.7/site-packages/speechd_config/config.py", line 911, in main
    configure.complete_config()
  File "/usr/lib64/python2.7/site-packages/speechd_config/config.py", line 833, in complete_config
    self.configure_basic_settings(type='user')
  File "/usr/lib64/python2.7/site-packages/speechd_config/config.py", line 762, in configure_basic_settings
    "DefaultLanguage": self.default_language,
  File "/usr/lib64/python2.7/site-packages/speechd_config/config.py", line 640, in options_substitute
    for line in fileinput.input(configfile, inplace=True, backup=".bak"):
  File "/usr/lib64/python2.7/fileinput.py", line 253, in next
    line = self.readline()
  File "/usr/lib64/python2.7/fileinput.py", line 322, in readline
    os.rename(self._filename, self._backupfilename)
OSError: [Errno 2] No such file or directory

Local variables in innermost frame:
self: <fileinput.FileInput instance at 0x7f959b621488>

How to reproduce
-----
1. spd-conf from bash CLI
2.
3.

Comment 1 Alison Chaiken 2011-03-03 02:35:39 UTC
Created attachment 481982 [details]
File: backtrace

Comment 2 Fedora Update System 2011-03-15 09:45:15 UTC
speech-dispatcher-0.7.1-4.fc13,dotconf-1.3-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/speech-dispatcher-0.7.1-4.fc13,dotconf-1.3-2.fc13

Comment 3 Fedora Update System 2011-03-15 09:45:54 UTC
speech-dispatcher-0.7.1-4.fc14,dotconf-1.3-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/speech-dispatcher-0.7.1-4.fc14,dotconf-1.3-2.fc14

Comment 4 Fedora Update System 2011-03-23 22:54:16 UTC
speech-dispatcher-0.7.1-4.fc13, dotconf-1.3-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2011-03-23 22:56:07 UTC
speech-dispatcher-0.7.1-4.fc14, dotconf-1.3-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.