Reported by drein on 2011-02-02 10:55
An italian user reports followings:
with snapshot 4056, but also in 2010.2, he runs NVDA, selects audiologic synth, and all go well.
Then, he saved configuration, and close NVDA.
When re-starting NVDA, an error appears and espeak is loaded.
here is the log, we will look into it.
ERROR - synthDriverHandler.setSynth (11:04:01):
Traceback (most recent call last):
File "synthDriverHandler.pyc", line 78, in setSynth
File "synthDriverHandler.pyc", line 404, in loadSettings
File "synthDrivers\audiologic.pyc", line 76, in _set_inflection
TypeError: unsupported operand type(s) for /: 'unicode' and 'int'
INFO - synthDrivers.espeak.SynthDriver.init (11:04:01):
Using eSpeak version 1.44.03 15.Aug.10
INFO - synthDriverHandler.setSynth (11:04:01):
Loaded synthDriver espeak
Comment 1 by pvagner on 2011-02-02 19:05
I'm currently looking into this but am not clever enough to figure out where the unicode string comes from.
Can you please try to verify or ask the original reporter to verify what's the inflection set to when this happens by manually opening the nvda.ini configuration file e.g. in notepad and looking up the value?
Milestone changed from None to 2011.1
Comment 2 by jteh on 2011-02-21 23:21
No response from reporter. Deferring.
Milestone changed from 2011.1 to 2011.2
Comment 3 by jteh on 2011-04-13 06:25
Regression caused by #311 (introduced in NVDA 2010.1).
This happens because the audiologic synth doesn't have a voice setting. However, the code which applies the synth config spec is in synthDriverHandler.changeVoice(). Of course, if there is no voice setting, this code won't get run, so the config remains as strings. The code which applies the config spec also needs to be executed when there is no voice setting.
Lex, any chance you could fix this?
Comment 4 by jteh on 2011-04-21 11:50
I've started working on this.
Comment 5 by jteh on 2011-04-23 01:34