spd-conf Traceback (most recent call last): File "/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' Fedora solved it with 0.8.7 release. Actual release is 0.8.8
Done updating to latest release! - speech-dispatcher-0.8.8-1.mga6
CC: (none) => geiger.david68210
(In reply to David GEIGER from comment #1) > Done updating to latest release! > > - speech-dispatcher-0.8.8-1.mga6 @ papoteur it's in updates_testing. Can you confirm that it fixes the issue, so that david_david can assign this report to QA team?
CC: (none) => marja11Assignee: bugsquad => geiger.david68210Keywords: (none) => NEEDINFO
Hello, Installed speech-dispatcher from updates-testing. Then: 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 created in /home/yves/.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] : >fr 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] : > Do you want to have Speech Dispatcher automatically started from ~/.config/autostart ? This is usually not necessary, most applications will start Speech Dispatcher automatically. [no] : > Do you want to start/restart Speech Dispatcher now and run some tests? [yes] : > Starting Speech Dispatcher in user-mode [Sat Jun 9 07:52:11 2018 : 915923] speechd: Speech Dispatcher 0.8.8 starting Testing Speech Dispatcher using spd_say Did you hear the message about Speech Dispatcher working? [yes] : > Speech Dispatcher is installed and working! Speech Dispatcher works. Do you want to skip other tests? [yes] : >no Do you want to test the Espeak synthesizer now? [yes] : > Testing whether Espeak works Espeak is installed Do you want to test the Pulse Audio sound system now? [yes] : > Testing PULSE sound output Did you hear the sound? [yes] : > Audio output 'pulse' works Testing whether Python Speech Dispatcher library is in path and importable Python can't find the Speech Dispatcher library. Is it installed? This won't prevent Speech Dispatcher to work, but no Python applications like Orca will be able to use it. Search for package like python-speechd, download and install it Diagnostics results: Speech Dispatcher is working Synthesizers that were tested and seem to work: ['espeak'] Audio systems that were tested and seem to work: ['pulse'] Python Speech Dispatcher module not importable. Either not installed or not in path. End of diagnostics results =============== All seems Ok, except: Python Speech Dispatcher module not importable. Either not installed or not in path. I presume that python module is not needed by default. Package python3-speechd is not installed.
Assignee: geiger.david68210 => qa-bugs
Assigning to QA, Advisory: ============================= Some users reported that our current speech-dispatcher package crashes: spd-conf Traceback (most recent call last): File "/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' This updates fixes this issue. Packages in 6/core/updates_testing: ======================== speech-dispatcher-0.8.8-1.mga6.i586.rpm speech-dispatcher-conf-0.8.8-1.mga6.i586.rpm libspeechd-devel-0.8.8-1.mga6.i586.rpm libspeechd2-0.8.8-1.mga6.i586.rpm python3-speechd-0.8.8-1.mga6.i586.rpm speech-dispatcher-0.8.8-1.mga6.x86_64.rpm speech-dispatcher-conf-0.8.8-1.mga6.x86_64.rpm lib64speechd-devel-0.8.8-1.mga6.x86_64.rpm lib64speechd2-0.8.8-1.mga6.x86_64.rpm python3-speechd-0.8.8-1.mga6.x86_64.rpm Source RPM: ======================== speech-dispatcher-conf-0.8.8-1.mga6.src.rpm
Mageia 6, x86_64 Confirmed that spd-conf crashes with the aforesaid message. Updated to: - lib64speechd-devel-0.8.8-1.mga6.x86_64 - lib64speechd2-0.8.8-1.mga6.x86_64 - python3-speechd-0.8.8-1.mga6.x86_64 - speech-dispatcher-0.8.8-1.mga6.x86_64 - speech-dispatcher-conf-0.8.8-1.mga6.x86_64 Ran spd-conf according to papoteur's instructions, default settings throughout but could not hear any sound over a bluetooth connection. Tried plugging in another speaker - AUX connection, but still no sound. Moved to another system where sound is routed to a bluetooth dongle paired with an Altec-Lansing portable speaker. $ espeak "Rhubarb rhubarb rhubarb!" ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm.c:2501:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2501:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2501:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started Under the Playback tab in pavucontrol there is a trace for the sound output for a couple of seconds, as expected, but no actual sound. $ spd-say "Rhubarb rhubarb rhubarb!" No sound again but three 'silent' threads are displayed in pavucontrol. Sound works normally for a video played by vlc with either bluetooth or audio cable. Don't know what you need to start a jack server. No change in these results when an alternative speaker is plugged in. However, the point of the update is to validate spd-conf and that can be done. The tests ended with an attempt to diagnose the fault. Speech Dispatcher is installed but there is some problem Speech Dispatcher isn't running or we can't connect to it (see above), do you want to proceed with other tests? (They can help to determine what is wrong) [yes] : > Do you want to test the Espeak synthesizer now? [yes] : > Testing whether Espeak works Espeak is installed Do you want to test the Pulse Audio sound system now? [yes] : > Testing PULSE sound output Did you hear the sound? [yes] : >no Please examine the above output from the sound playback utility. If everything seems right, are you sure your audio is loud enough and not muted in the mixer? Please fix your audio system first or choose a different audio output method in configuration. Testing whether Python Speech Dispatcher library is in path and importable Diagnostics results: Speech Dispatcher not working through spd-say Synthesizers that were tested and seem to work: ['espeak'] Audio systems that were tested and seem to work: [] Python Speech Dispatcher module is importable End of diagnostics results So, giving this an OK, but noting that espeak/spd-conf seemss to have a problem with hardware.
CC: (none) => tarazed25Whiteboard: (none) => MGA6-64-OK
Could do with extra tests to confirm this one.
This extra test worked fine. Suspecting that more time was needed to configure the sound output in pavucontrol I turned to scripting. This ruby snippet allows a very long string to be passed to espeak. -------------------------------------------- #!/bin/env ruby longstring = "This is a very long string without linefeeds."*60 command = "espeak \'#{longstring}\'" system command -------------------------------------------- Running this allowed more than enough time to switch off Built-in Audio and enable the Bose bluetooth speaker for output. That worked perfectly. It also worked for spd-say. Thanks Claire. Validating this.
Keywords: NEEDINFO => validated_updateCC: (none) => sysadmin-bugs
Thanks Len.
Also note that once the sound profile is established the utilities work normally, i.e. for shorter sentences, but on this system there is a delay which clips the first word. $ spd-say "Testing, testing. Rhubarb rhubarb rhubarb" generates "testing. Rhubarb rhubarb rhubarb"
The answer to that is to preface the text with a newline. $ spd-say " > Hallo, hallo. Can ye hear me muther?" That renders in full.
Advisoried.
Keywords: (none) => advisory, has_procedure
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0122.html
Status: NEW => RESOLVEDResolution: (none) => FIXED