[Nvda-dev] Some keyboardHandler problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Nvda-dev] Some keyboardHandler problem

Lubos Pintes-2
Hello again,
It seems that I am an magnet for problems :-).
I wanted to test issues that I reported concerning eSpeak and SAPI 4. So
I completely deleted NVDA sources and checked again.
Then I started NVDA and thought that the Capslock is NVDA modifier. It
is not by default.
Right after starting NVDA I pressed Capslock+N and the following error
was generated:
ERROR - keyboardHandler.internal_keyDownEvent:
internal_keyDownEvent
Traceback (most recent call last):
   File "C:\svn\nvda\trunk\source\keyboardHandler.py", line 140, in
internal_keyDownEvent
     if modifiers is None and lastKeyCount>=1 and
((time.time()-lastPressedKeyTime)>0.5):
TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'

It happens only once but only when I quickly press Capslock+N, after I
hear  "NVDA started" "NVDA spusteny" in Slovak.
It is reproduceable always on my system.