Re: LION, NVDA universal subtitle reader and more

@vortex1024, using version 1.11 of your addon in Firefox 75, when setting OCR to navigator object or to current control, I get following error after pressing nvda+alt+l to start it:
```
ERROR - stderr (23:52:22.224) - Thread-810 (1016):
Exception in thread Thread-810:
Traceback (most recent call last):
  File "threading.pyc", line 926, in _bootstrap_inner
  File "threading.pyc", line 870, in run
  File "C:\Users\adria\AppData\Roaming\nvda\addons\lion\globalPlugins\lion\__init__.py", line 112, in ocrLoop
    self.OcrScreen()
  File "C:\Users\adria\AppData\Roaming\nvda\addons\lion\globalPlugins\lion\__init__.py", line 121, in OcrScreen
    left,top, width,height=self.targets[config.conf["lion"]["target"]]
TypeError: cannot unpack non-iterable NoneType object
```

When setting OCR to current window, I get following error:
```
ERROR - stderr (23:54:08.319) - Thread-905 (8532):
Exception in thread Thread-905:
Traceback (most recent call last):
  File "threading.pyc", line 926, in _bootstrap_inner
  File "threading.pyc", line 870, in run
  File "C:\Users\adria\AppData\Roaming\nvda\addons\lion\globalPlugins\lion\__init__.py", line 112, in ocrLoop
    self.OcrScreen()
  File "C:\Users\adria\AppData\Roaming\nvda\addons\lion\globalPlugins\lion\__init__.py", line 125, in OcrScreen
    imgInfo = contentRecog.RecogImageInfo.createFromRecognizer(left, top, width, height, recog)
  File "contentRecog\__init__.pyc", line 109, in createFromRecognizer
  File "contentRecog\__init__.pyc", line 92, in __init__
ValueError: Image not visible (invalid screen coordinates)
```

In both situations the window is maximized. This seems to appear only in Firefox.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : stirlock via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : blindndangerous via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Diego via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Diego via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : BrendanGriesel1 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : darkblade 98 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : darkblade 98 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : vortex1024 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Diego via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : adriani via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : adriani via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : darkblade 98 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flameAlchemist via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : vortex1024 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : darkblade 98 via Audiogames-reflector

Reply via email to