Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't load audiologic driver after saving configuration #1347

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

can't load audiologic driver after saving configuration #1347

nvaccessAuto opened this issue Feb 2, 2011 · 5 comments

Comments

@nvaccessAuto
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

@nvaccessAuto
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants