Bug 1408551 - spd-conf fails to configure
Summary: spd-conf fails to configure
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: speech-dispatcher
Version: 25
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-24 17:58 UTC by Edouard Duliège
Modified: 2017-12-12 10:25 UTC (History)
1 user (show)

Fixed In Version: speech-dispatcher-0.8.7-1.fc24 speech-dispatcher-0.8.7-1.fc25 speech-dispatcher-0.8.7-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:25:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Edouard Duliège 2016-12-24 17:58:29 UTC
Description of problem:
spd-conf fails to configure correctly

Version-Release number of selected component (if applicable):
Nom         : speech-dispatcher-utils
Architectur : x86_64
Époque      : 0
Version     : 0.8.6
Révision    : 1.fc25

Nom         : speech-dispatcher
Architectur : x86_64
Époque      : 0
Version     : 0.8.6
Révision    : 1.fc25


How reproducible:
everytime

Steps to Reproduce:
1. spd-conf


Actual results:
spd-conf    
Traceback (most recent call last):
  File "/usr/bin/spd-conf", line 10, in <module>
    sys.exit(speechd_config.main())
  File "/usr/lib64/python3.5/site-packages/speechd_config/config.py", line 749, in main
    options.parse()
AttributeError: 'NoneType' object has no attribute 'parse'

Expected results:
should configure flawlessly

Comment 1 Edouard Duliège 2016-12-25 12:20:59 UTC
Using Python 2.7 and 3.5  give the same output, in usr and in root

Comment 2 Fedora Update System 2017-05-16 10:59:15 UTC
speech-dispatcher-0.8.7-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-57ec1dfa30

Comment 3 Fedora Update System 2017-05-16 10:59:22 UTC
speech-dispatcher-0.8.7-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6a774feb58

Comment 4 Fedora Update System 2017-05-16 10:59:28 UTC
speech-dispatcher-0.8.7-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5f01326920

Comment 5 Fedora Update System 2017-05-16 17:44:31 UTC
speech-dispatcher-0.8.7-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6a774feb58

Comment 6 Fedora Update System 2017-05-17 01:06:44 UTC
speech-dispatcher-0.8.7-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5f01326920

Comment 7 Fedora Update System 2017-05-17 01:09:22 UTC
speech-dispatcher-0.8.7-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-57ec1dfa30

Comment 8 Fedora Update System 2017-05-22 06:51:56 UTC
speech-dispatcher-0.8.7-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2017-05-22 07:02:35 UTC
speech-dispatcher-0.8.7-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2017-06-09 18:59:12 UTC
speech-dispatcher-0.8.7-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Edouard Duliège 2017-06-19 10:24:03 UTC
Hello,

I am reopening this bug since the configuration still fails despite progresses:

[edouard@localhost].config/speech-dispatcher% spd-conf                                                           

Speech Dispatcher configuration tool

Do you want to setup a completely new configuration? [yes] :
>
Do you want to create/setup a 'user' or 'system' configuration [user] :
>
User configuration already exists, but it seems to be incomplete.
Do you want to keep it? [no] :
>
User configuration created in /home/edouard/.config/speech-dispatcher
Configuring user settings for Speech Dispatcher
Default output module [espeak] :
>
Default language (two-letter iso language code like "en" or "cs") [en] :
>
Default audio output method [pulse] :
>
Default speech rate (on the scale of -100..100, 0 is default, 50 is faster, -50 is slower) [0] :
>
Default speech pitch (on the scale of -100..100, 0 is default, 50 is higher, -50 is lower) [0] :
>

Traceback (most recent call last):
  File "/usr/bin/spd-conf", line 10, in <module>
    sys.exit(speechd_config.main())
  File "/usr/lib64/python3.5/site-packages/speechd_config/config.py", line 794, in main
    configure.complete_config()
  File "/usr/lib64/python3.5/site-packages/speechd_config/config.py", line 715, in complete_config
    self.configure_basic_settings(type='user')
  File "/usr/lib64/python3.5/site-packages/speechd_config/config.py", line 642, in configure_basic_settings
    "DefaultPitch": default_speech_pitch,
  File "/usr/lib64/python3.5/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.5/fileinput.py", line 248, in __next__
    line = self._readline()
  File "/usr/lib64/python3.5/fileinput.py", line 335, 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'

Comment 12 Fedora End Of Life 2017-11-16 18:54:34 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. 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 '25'.

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 25 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 13 Fedora End Of Life 2017-12-12 10:25:29 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 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.


Note You need to log in before you can comment on or make changes to this bug.