You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING - synthDriverHandler.SynthDriver.loadSettings (15:26:41.361):
Invalid voice: None
ERROR - synthDriverHandler.setSynth (15:26:41.424):
setSynth
Traceback (most recent call last):
File "synthDriverHandler.pyo", line 91, in setSynth
File "synthDriverHandler.pyo", line 500, in loadSettings
File "synthDriverHandler.pyo", line 36, in changeVoice
File "synthSettingsRing.pyo", line 143, in updateSupportedSettings
File "synthSettingsRing.pyo", line 40, in __init__
File "baseObject.pyo", line 21, in __get__
File "synthDriverHandler.pyo", line 390, in _get_availableVoices
File "synthDrivers\oneCore.pyo", line 245, in _getAvailableVoices
File "synthDrivers\oneCore.pyo", line 257, in _isVoiceValid
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8e in position 10: ordinal not in range(128)
INFO - __main__ (08:14:14.369):
Starting NVDA
INFO - core.main (08:14:14.608):
Config dir: C:\Users\nishimotz\AppData\Roaming\nvda
INFO - config.ConfigManager._loadConfig (08:14:14.608):
Loading config: C:\Users\nishimotz\AppData\Roaming\nvda\nvda.ini
INFO - core.main (08:14:14.644):
NVDA version source-master-4ccb2ab
INFO - core.main (08:14:14.645):
Using Windows version 10.0.16299 workstation
INFO - core.main (08:14:14.645):
Using Python version 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
INFO - core.main (08:14:14.645):
Using comtypes version 1.1.3
INFO - synthDriverHandler.setSynth (08:14:15.190):
Loaded synthDriver sapi5
INFO - core.main (08:14:15.190):
Using wx version 3.0.2.0 msw (classic)
INFO - brailleInput.initialize (08:14:15.191):
Braille input initialized
INFO - braille.initialize (08:14:15.193):
Using liblouis version 3.5.0
INFO - braille.BrailleHandler.setDisplayByName (08:14:15.194):
Loaded braille display driver noBraille, current display has 0 cells.
INFO - _UIAHandler.UIAHandler.MTAThreadFunc (08:14:15.401):
UIAutomation: IUIAutomation5
INFO - core.main (08:14:16.719):
NVDA initialized
ERROR - synthDriverHandler.setSynth (08:14:32.086):
setSynth
Traceback (most recent call last):
File "synthDriverHandler.pyc", line 87, in setSynth
File "synthDrivers\oneCore.pyc", line 120, in __init__
File "synthDrivers\oneCore.pyc", line 327, in _getDefaultVoice
File "baseObject.pyc", line 21, in __get__
File "synthDriverHandler.pyc", line 388, in _get_availableVoices
File "synthDrivers\oneCore.pyc", line 259, in _getAvailableVoices
File "synthDrivers\oneCore.pyc", line 280, in _isVoiceValid
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8e in position 10: ordinal not in range(128)
INFO - synthDriverHandler.setSynth (08:14:32.118):
Loaded synthDriver sapi5
Activity
nishimotz commentedon Apr 2, 2018
NVDA のバージョンをさかのぼっても解決しないこと、
このエラーが出る Windows 10 環境とちゃんと OneCore が動く Windows 10 環境があること、
などの理由から、Windows 環境のトラブルを疑い始めています。
ですが、Windows 環境にトラブルがあった場合に NVDA 側でエラーメッセージの Unicode 処理がちゃんとできていない気はします。
riku22 commentedon Apr 2, 2018
こちらでも同じ現象が起きており、近々報告しようと思っていたところです。
こちらで確認した限りでは、インストール環境だと音声エンジンが正常に読み込まれず、ポータブル環境で「E:\nvda\」にインストールしたところ、エラーも出ず、うまく読み込まれました。
また、インストール環境で設定のリセットやアドオンを無効化しての再起動等も試してみましたが、同じエラーが出るようです。
なお、エラー内容は、ご報告のものと同じですので、勝手ながら省略させていただきます。
nishimotz commentedon Apr 2, 2018
報告ありがとうございます。
NVDA の過去のバージョンと状況を比較しておられますか?
riku22 commentedon Apr 2, 2018
こちらでは、Windows10 OneCore音声が搭載された2017.3JPの時点で、エラーが出て、読み込みできない状態でした。
その後のバージョンでも同じような状況です。
nishimotz commentedon Apr 2, 2018
NVDA をインストールする場所が関係あるということは、もしかして 64ビット Windows でしか起こらない問題かも知れないですね。。どうでしょうか?
riku22 commentedon Apr 2, 2018
こちらに32ビットのPCがないので、友人に検証してみてもらったところ、32ビットのPCでは正常に音声が読み込まれ、音声洗濯もできるようです。
ということは、やはり64ビットなのが原因なんでしょうか。
nishimotz commentedon Apr 3, 2018
私が最初に報告した環境は 64 ビット Windows ですが、
ポータブル版のフォルダ nvdajp を C ドライブの直下に作って起動すると、
64 ビット Windows でも OneCore 音声を選択できました。
nishimotz commentedon Apr 3, 2018
本家 master をソースからビルドして確認。
python source\nvda.pyw だと oneCore は正常。
scons launcher して exe から実行すると下記のエラー。
nishimotz commentedon Apr 4, 2018
oneCore.py 280 行を直したら、後述の警告が出るが、
正常に Ayumi が使えるようになった。
nishimotz commentedon Apr 4, 2018
本家にもこのエラーの報告があったのでコメントしました
nvaccess/nvda#7673
nishimotz commentedon Apr 4, 2018
どうやら私の環境は「いちど Windows を英語化して、また日本語に戻して、なんらかの理由で英語の言語パックが消された状態」だったらしく、これが再現の条件だったと思われます。
本家にプルリクエスト (8141) を提案中です。
#77
nishimotz commentedon Apr 5, 2018
本家にプルリクエストした変更を 2018.2jp-beta-180405j に取り込みました。
riku22 commentedon Apr 5, 2018
ありがとうございます。
先ほど細心のベータ版2018.2jp-beta-180405jで、OneCore音声が正常に利用できることを確認しました。
nishimotz commentedon Apr 20, 2018
本家 master にもマージされました。