Bug 1507298

Summary: [abrt] speech-dispatcher-utils: _readline(): fileinput.py:337:_readline:FileNotFoundError: [Errno 2] No such file or directory: '/home/edouard/.config/speech-dispatcher/speechd.conf' -> '/home/edouard/.config/speech-dispatcher/speechd.conf.bak'
Product: [Fedora] Fedora Reporter: Edouard Duliège <edouard>
Component: speech-dispatcherAssignee: Peter Robinson <pbrobinson>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/df3c95c58457c5631013964c96343bdaa1db3e1f
Whiteboard: abrt_hash:af3465e91030c01556ad981e2390659ac0f8f34d;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-29 11:45:59 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: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Edouard Duliège 2017-10-29 13:00:24 UTC
Description of problem:
run spd-conf 
use default options

this crash happens everytime.

Version-Release number of selected component:
speech-dispatcher-utils-0.8.7-1.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        python3 /usr/bin/spd-conf
crash_function: _readline
exception_type: FileNotFoundError
executable:     /usr/bin/spd-conf
kernel:         4.13.9-200.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
fileinput.py:337:_readline:FileNotFoundError: [Errno 2] No such file or directory: '/home/edouard/.config/speech-dispatcher/speechd.conf' -> '/home/edouard/.config/speech-dispatcher/speechd.conf.bak'

Traceback (most recent call last):
  File "/usr/bin/spd-conf", line 10, in <module>
    sys.exit(speechd_config.main())
  File "/usr/lib64/python3.6/site-packages/speechd_config/config.py", line 794, in main
    configure.complete_config()
  File "/usr/lib64/python3.6/site-packages/speechd_config/config.py", line 715, in complete_config
    self.configure_basic_settings(type='user')
  File "/usr/lib64/python3.6/site-packages/speechd_config/config.py", line 642, in configure_basic_settings
    "DefaultPitch": default_speech_pitch,
  File "/usr/lib64/python3.6/site-packages/speechd_config/config.py", line 529, in options_substitute
    for line in fileinput.input(configfile, inplace=True, backup=".bak"):
  File "/usr/lib64/python3.6/fileinput.py", line 250, in __next__
    line = self._readline()
  File "/usr/lib64/python3.6/fileinput.py", line 337, in _readline
    os.rename(self._filename, self._backupfilename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/edouard/.config/speech-dispatcher/speechd.conf' -> '/home/edouard/.config/speech-dispatcher/speechd.conf.bak'

Local variables in innermost frame:
self: <fileinput.FileInput object at 0x7f9f002c30b8>

Comment 1 Edouard Duliège 2017-10-29 13:00:29 UTC
Created attachment 1345004 [details]
File: backtrace

Comment 2 Edouard Duliège 2017-10-29 13:00:31 UTC
Created attachment 1345005 [details]
File: cgroup

Comment 3 Edouard Duliège 2017-10-29 13:00:32 UTC
Created attachment 1345006 [details]
File: cpuinfo

Comment 4 Edouard Duliège 2017-10-29 13:00:33 UTC
Created attachment 1345007 [details]
File: environ

Comment 5 Edouard Duliège 2017-10-29 13:00:35 UTC
Created attachment 1345008 [details]
File: mountinfo

Comment 6 Edouard Duliège 2017-10-29 13:00:36 UTC
Created attachment 1345009 [details]
File: namespaces

Comment 7 Edouard Duliège 2017-10-29 13:00:38 UTC
Created attachment 1345010 [details]
File: open_fds

Comment 8 Fedora End Of Life 2018-05-03 08:20:42 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 9 Fedora End Of Life 2018-05-29 11:45:59 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.