[nvda-addons] Re: Failure in recognizing Gecko version

  • From: derek riemer <driemer.riemer@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Mon, 17 Oct 2016 02:54:34 -0600

can you send some code of what you are using? Sounds like you are calling split on None?


On 10/17/2016 2:53 AM, Dariusz Mikułowski wrote:


Hello all!
I am new on this list so I would like to welcome You.
My name is Dariusz I am from Poland.
I am using a Windows 10 and NVDA 16.3.

I am trying to make an appmodule for an application which is made with use of WPF framework and Gecko engine. The structure of application is made in the way where in the ModernUI window there is a Gecko browser component. In this Gecko webbrowser there is a html document. When I am trying to make an app module for this application on the NVDA console I get a following errors:

Traceback (most recent call last):
  File "core.pyo", line 354, in Notify
  File "IAccessibleHandler.pyo", line 890, in pumpAll
  File "IAccessibleHandler.pyo", line 657, in processFocusWinEvent
  File "IAccessibleHandler.pyo", line 532, in winEventToNVDAEvent
File "NVDAObjects\IAccessible\__init__.pyo", line 43, in getNVDAObjectFromEvent
  File "NVDAObjects\__init__.pyo", line 76, in __call__
File "NVDAObjects\IAccessible\__init__.pyo", line 449, in findOverlayClasses
File "NVDAObjects\IAccessible\mozilla.pyo", line 229, in findExtraOverlayClasses
  File "NVDAObjects\IAccessible\mozilla.pyo", line 124, in getGeckoVersion
AttributeError: 'NoneType' object has no attribute 'split'

I understand that my appModule recognizes that there is a Mosilla component but it can not recognize a Gecko version. Any methods in this module I try to implement does not work due to this error.

Cud somebody to help me, please?

Best regards.

Dariusz.


--
------------------------------------------------------------------------


   Derek Riemer

 * Department of computer science, third year undergraduate student.
 * Proud user of the NVDA screen reader.
 * Open source enthusiast.
 * Member of Bridge Cu
 * Avid skiier.

Websites:
Honors portfolio <http://derekriemer.com>
Awesome little hand built weather app! <http://django.derekriemer.com/weather/>

email me at derek.riemer@xxxxxxxxxxxx <mailto:derek.riemer@xxxxxxxxxxxx>
Phone: (303) 906-2194

Other related posts: