can't load audiologic driver after saving configuration #1347

Closed
nvaccessAuto opened this Issue Feb 2, 2011 · 5 comments

2 participants

@nvaccessAuto

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):

setSynth

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

@nvaccessAuto

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?
Changes:
Milestone changed from None to 2011.1

@nvaccessAuto

Comment 2 by jteh on 2011-02-21 23:21
No response from reporter. Deferring.
Changes:
Milestone changed from 2011.1 to 2011.2

@nvaccessAuto

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?

@nvaccessAuto

Comment 4 by jteh on 2011-04-21 11:50
I've started working on this.

@nvaccessAuto

Comment 5 by jteh on 2011-04-23 01:34
5c1f2dd
Changes:
State: closed

@jcsteh jcsteh was assigned by nvaccessAuto Nov 10, 2015
@nvaccessAuto nvaccessAuto added this to the 2011.2 milestone Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment