Re: Threshold snapshot


 

Threshold_py3_staging should no longer be used, it is obsolete. Please use threshold instead.

Also note that all synthesizer drivers that are not in core have to be converted. It is expected that they don't work unless they are updated.


Regards,

Leonard

Op 22-7-2019 om 21:25 schreef Ralf Kefferpuetz:

Same here with latest Win10 1903...

-----Original Message-----
From: nvda-devel@groups.io <nvda-devel@groups.io> On Behalf Of Brian's Mail list account via Groups.Io
Sent: Montag, 22. Juli 2019 18:04
To: nvda-devel@groups.io
Subject: Re: [nvda-devel] Threshold snapshot

Hi to keep it brief here is the info only  log of moving between synths in a fresh copy of nvda threshold staging latest
version on my machine, no add ons only basic config of voice in espeak then did some tests of changing synths and
voices, looks like the voices dialogue is not keeping pace with the selected synth in use.

INFO - __main__ (16:43:42.677):
Starting NVDA
INFO - core.main (16:43:42.740):
Config dir: C:\nvda threshold staging\userConfig INFO - config.ConfigManager._loadConfig (16:43:42.740):
Loading config: .\userConfig\nvda.ini
INFO - core.main (16:43:42.771):
NVDA version threshold_py3_staging-18066,131ed840
INFO - core.main (16:43:42.771):
Using Windows version 6.1.7601 service pack 1 workstation INFO - core.main (16:43:42.771):
Using Python version 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC
v.1916 32 bit (Intel)]
INFO - core.main (16:43:42.771):
Using comtypes version 1.1.7
INFO - core.main (16:43:42.771):
Using configobj version 5.1.0 with validate version 1.0.1 INFO - core.main (16:43:42.771):
Add-ons are disabled. Restart NVDA to enable them.
INFO - synthDrivers.espeak.SynthDriver.__init__ (16:43:42.965):
Using eSpeak NG version b'1.49.3 dev'
INFO - synthDriverHandler.setSynth (16:43:42.997):
Loaded synthDriver espeak
INFO - core.main (16:43:42.997):
Using wx version 4.0.3 msw (phoenix) wxWidgets 3.0.5 with six version 1.12.0 INFO - brailleInput.initialize
(16:43:42.998):
Braille input initialized
INFO - braille.initialize (16:43:42.998):
Using liblouis version 3.10.0
INFO - braille.initialize (16:43:43.000):
Using pySerial version 3.4
INFO - braille.BrailleHandler.setDisplayByName (16:43:43.003):
Loaded braille display driver noBraille, current display has 0 cells.
WARNING - core.main (16:43:43.012):
Java Access Bridge not available
INFO - _UIAHandler.UIAHandler.MTAThreadFunc (16:43:43.018):
UIAutomation: IUIAutomation
INFO - core.main (16:43:43.164):
NVDA initialized
INFO - speechDictHandler.dictFormatUpgrade._doSynthVoiceDictBackupAndMove
(16:44:33.674):
Upgrading voice dictionaries for sapi5
INFO - synthDriverHandler.setSynth (16:44:33.675):
Loaded synthDriver sapi5
INFO - synthDriverHandler.setSynth (16:46:17.590):
Loaded synthDriver sapi5
INFO - synthDrivers.espeak.SynthDriver.__init__ (16:46:54.741):
Using eSpeak NG version b'1.49.3 dev'
INFO - synthDriverHandler.setSynth (16:46:54.773):
Loaded synthDriver espeak
ERROR - unhandled exception (16:47:08.769):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:09.873):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:10.761):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:11.841):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:13.784):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:14.170):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:14.538):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:14.906):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:15.250):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:15.602):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:47:15.938):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
INFO - speechDictHandler.dictFormatUpgrade._doSynthVoiceDictBackupAndMove
(16:48:22.265):
Upgrading voice dictionaries for mssp
INFO - synthDriverHandler.setSynth (16:48:22.266):
Loaded synthDriver mssp
INFO - synthDrivers.espeak.SynthDriver.__init__ (16:49:23.271):
Using eSpeak NG version b'1.49.3 dev'
INFO - synthDriverHandler.setSynth (16:49:23.303):
Loaded synthDriver espeak
ERROR - unhandled exception (16:49:33.264):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:49:35.152):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
ERROR - unhandled exception (16:49:36.010):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 1013, in __call__
  File "synthDriverHandler.pyc", line 34, in changeVoice
  File "synthDrivers\sapi5.pyc", line 217, in _set_voice
  File "synthDrivers\sapi5.pyc", line 162, in _getVoiceTokens
AttributeError: 'NoneType' object has no attribute 'getVoices'
INFO - core.main (16:49:49.977):
Exiting
INFO - config.ConfigManager.save (16:49:49.984):
Base configuration saved
INFO - __main__ (16:49:51.073):
NVDA exit


So as you can see there a lot of errors all the same when one tries to set voices the second time you change the synth.
 Brian

bglists@...
Sent via blueyonder.
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.
Newsgroup monitored: alt.comp.blind-users
----- Original Message -----
From: "zvonimir stanecic, 9a5dsz" <zvonimirek222@...>
To: <nvda-devel@groups.io>
Sent: Monday, July 22, 2019 9:11 AM
Subject: Re: [nvda-devel] Threshold snapshot


Hi Brian,
I cannot reproduce this on my windows 10 1903 with your stets above.
All loads perfectly.
Thanks.


-----Original Message-----
From: nvda-devel@groups.io <nvda-devel@groups.io> On Behalf Of Brian's 
Mail
list account via Groups.Io
Sent: Monday, July 22, 2019 9:44 AM
To: nvda-devel@groups.io
Subject: Re: [nvda-devel] Threshold snapshot

OK.
Try this on windows 7 with a sapi 5 and espeakng at least on the system.
Open the preferences/settings/speech and while  still on Espeak, the
default for windows without one core,  select change.
Note if you have pico loaded here it will throw an audible error.
Change the synth to sapi 5 and move down to select a voice, in my case I
have Espeak quincy Two versions of Daniel, and Serena and the default
windows one. Select one and say ok and come out.
Not at some point I often get another error here and it seems it often
thinks a pending update is still open and has a problem closing it, but 
its
not actually there as far as I can tell.
Now repeat the steps above and reselect Espeak, when you move to voices 
you
get the sapi 5 ones not the espeak ones with errors of course. Sometimes 
at
this point trying to  do an ok and exit can hang nvda, so use esc and 
reboot
nvda and you are back to espeak again and have the right voices if you
reopen the dialogue.
I did make a log of this but its extremely long since there are multiple
repeats of the same warnings or errors as well as other parts I've never
come across before.
I also loaded in Sapi 4 and yes this works but once again you cannot get 
to
the voices etc since it is stuck on sapi 5 or something else.

Its also interesting to note that pico nor  the other synths like speech
player in espeak do not get listed but simple cause an error, which to my
mind needs to be trapped.

Brian
Note I used the staging snap but the normal threshold does much the same
when I wrote this. I think there is a ticket for it, but its early and my
brain cannot recall it!


bglists@...
Sent via blueyonder.
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.
Newsgroup monitored: alt.comp.blind-users
----- Original Message -----
From: "zvonimir stanecic, 9a5dsz" <zvonimirek222@...>
To: <nvda-devel@groups.io>
Sent: Sunday, July 21, 2019 8:53 PM
Subject: Re: [nvda-devel] Threshold snapshot


I am currently running the treshold copy daily.
Can you regive the steps to reproduce

-----Original Message-----
From: nvda-devel@groups.io <nvda-devel@groups.io> On Behalf Of Brian's
Mail
list account via Groups.Io
Sent: Sunday, July 21, 2019 9:23 PM
To: nvda-devel@groups.io
Subject: Re: [nvda-devel] Threshold snapshot

Yes there are many problems in the current two threshold snapshot 
streams,
There is the preferences errors and the mess in the synth area  for many
reasons even locking up nvda completely is possible.
It is after all pretty bleeding edge still, but I like to monitor it to
see
what is  happening.
I suspect the crashes are text related.
Brian

bglists@...
Sent via blueyonder.
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.
Newsgroup monitored: alt.comp.blind-users
----- Original Message -----
From: "Joseph Lee" <joseph.lee22590@...>
To: <nvda-devel@groups.io>
Sent: Sunday, July 21, 2019 4:37 PM
Subject: Re: [nvda-devel] Threshold snapshot


Hi,
Pull requests: I advise waiting until threshold is merged into master
before
filing new pull requests, and if there are pull requests you are working
on,
try rebasing them to master once that happens. Note that for some of us,
rebasing will produce conflicts and/or the pull request won't work, 
which
may indicate modifying the pull request to conform with threshold
expectations, Python 3, or a combination of these.
Async/await: this is useful for generators that needs to run without the
caller being bothered by it i.e. process things without holding up the
main
thread. However, because NVDA is a heavy I/O user, I think it might not
be
the best approach unless tests after Python 3 transition indicate its
usefulness.
In terms of Python 3, right now the biggest concern is text handling and
implications for various subsystems, including speech synthesizers, text
navigation and editing in certain scenarios, and dealing with subtle
things
about Unicode. There are other things to think about, but it mostly
concerns
Python modules and won't show up until Python 3.8 such as
gettext.pgettext
family (note that we may or may not end up going to Python 3.8 when we
are
targeting 3.7).
Cheers,
Joseph

-----Original Message-----
From: nvda-devel@groups.io <nvda-devel@groups.io> On Behalf Of francisco
del
roio
Sent: Sunday, July 21, 2019 7:44 AM
To: NVDA Development <nvda-devel@groups.io>
Subject: [nvda-devel] Threshold snapshot

Hello,

I've downloaded and installed the threshold snapshot and it works very
well,
at least until now.

I want to know if new PRS should be opened against the threshold branch
and
with python3 syntax or not yet.

Are there any plans to use async/await patterns and asyncio loops for
future
core implementation?

Cheers,
--
Cuando tus fuerzas terminan, las de mi Dios comienzan.



























Join nvda-devel@groups.io to automatically receive all group messages.