Re: [orca-list] Braille output issue with java application



Thanks for the report. The "True" is needed. I just updated the JavaATKWrapper script in master. Could you please verify that solves the problem for you? If so, I'll make the change in the stable branch as well.

On 5/12/20 18:57, Samuel Thibault via orca-list wrote:
Hello,

While trying to read a java application I got

Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/pyatspi/registry.py", line 209, in eventWrapper
     return callback(event)
   File "/usr/local/stow/orca/lib/python3.8/site-packages/orca/mouse_review.py", line 603, in _listener
     self._on_mouse_moved(event)
   File "/usr/local/stow/orca/lib/python3.8/site-packages/orca/mouse_review.py", line 591, in _on_mouse_moved
     if new.present(self._currentMouseOver):
   File "/usr/local/stow/orca/lib/python3.8/site-packages/orca/mouse_review.py", line 290, in present
     self._script.presentObject(self._frame, alreadyFocused=True, inMouseReview=True)
   File "/usr/local/stow/orca/lib/python3.8/site-packages/orca/scripts/default.py", line 3428, in 
presentObject
     self.updateBraille(obj, **args)
   File "/usr/local/stow/orca/lib/python3.8/site-packages/orca/scripts/default.py", line 873, in updateBraille
     result, focusedRegion = self.brailleGenerator.generateBraille(obj, **args)
   File "/usr/local/stow/orca/lib/python3.8/site-packages/orca/braille_generator.py", line 121, in 
generateBraille
     and self._script.utilities.isSameObject(region.accessible, obj, True):
TypeError: isSameObject() takes 3 positional arguments but 4 were given


After dropping the ", True", things went fine.

Samuel
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]