GithubHelp home page GithubHelp logo

Comments (7)

aaclause avatar aaclause commented on June 10, 2024

Hello,
Can you update?
I accidentally introduced this bug in the previous version. It should be fixed with the latest version. sorry for the inconvenience.

from brailleextender.

vincent-lg avatar vincent-lg commented on June 10, 2024

For some reason my comment wasn't processed. I haven't been offered a new update yet (I'm running on the dev channel), but I'll tell you whenever this happens.

Thanks,

from brailleextender.

aaclause avatar aaclause commented on June 10, 2024

Sorry, you are right. Indeed I left another bug. Now it should be fully fixed. Thanks.

from brailleextender.

vincent-lg avatar vincent-lg commented on June 10, 2024

I'm sorry, I still have several errors, though the page I sent behaves a bit better (but still not perfectly). I'm experiencing the same errors when opening Thunderbird, switching to another app then coming back to Thunderbird. I say "Thunderbird", it happens in Firefox too. Here's a log example. Not sure if I should open a new issue but it seems to be the same, or a similar, problem:

error executing event: gainFocus on <NVDAObjects.Dynamic_OutlineItemRowWithFakeNavigationMozillaIAccessible object at 0x092B2CD0> with extra args of {}
Traceback (most recent call last):
  File "eventHandler.pyc", line 155, in executeEvent
  File "eventHandler.pyc", line 92, in __init__
  File "eventHandler.pyc", line 100, in next
  File "C:\Users\Admin\AppData\Roaming\nvda\addons\BrailleExtender\globalPlugins\brailleExtender\__init__.py", line 249, in event_gainFocus
    nextHandler()
  File "eventHandler.pyc", line 100, in next
  File "appModules\thunderbird.pyc", line 28, in event_gainFocus
  File "eventHandler.pyc", line 100, in next
  File "NVDAObjects\__init__.pyc", line 1103, in event_gainFocus
  File "braille.pyc", line 1905, in handleGainFocus
  File "braille.pyc", line 1910, in _doNewObject
  File "braille.pyc", line 1542, in getFocusContextRegions
  File "braille.pyc", line 633, in update
  File "C:\Users\Admin\AppData\Roaming\nvda\addons\BrailleExtender\globalPlugins\brailleExtender\patchs.py", line 139, in update
    if config.conf["brailleExtender"]["undefinedCharReprMethod"] in [configBE.CHOICE_liblouis, configBE.CHOICE_HUC8, configBE.CHOICE_HUC6, configBE.CHOICE_hex, configBE.CHOICE_dec, configBE.CHOICE_oct, configBE.CHOICE_bin]: undefinedCharProcess(self)
  File "C:\Users\Admin\AppData\Roaming\nvda\addons\BrailleExtender\globalPlugins\brailleExtender\patchs.py", line 213, in undefinedCharProcess
    ) for braillePos in allBraillePos}
  File "C:\Users\Admin\AppData\Roaming\nvda\addons\BrailleExtender\globalPlugins\brailleExtender\patchs.py", line 213, in <dictcomp>
    ) for braillePos in allBraillePos}
  File "C:\Users\Admin\AppData\Roaming\nvda\addons\BrailleExtender\globalPlugins\brailleExtender\utils.py", line 266, in getTextInBraille
    else: res = ''.join([chr(ord(ch)-0x8000+0x2800) for ch in louis.translateString(table, l, mode=louis.dotsIO)])
  File "louis\__init__.pyc", line 216, in translateString
RuntimeError: Can't translate: tables ['current'], inbuf b'\xe5(\x00\x00\x00(\x00\x00\xc0(\x00\x00', typeform None, mode 4

As you can see in my traceback, the gainFocus event is also used by the Mozilla Enhancer addon. Sometimes it's tricky to know where the problem comes from. However, it does seem to originate from BrailleExtender, or at least, not be handled properly there.

Happy Sunday, regardless of bugs,

from brailleextender.

aaclause avatar aaclause commented on June 10, 2024

I released 2 versions in yesterday evening (in a short time). Are you on the commit: cc4a6c8 (cf. version)?
Thanks again, and sorry for the mess introduced by #39 (feature still in beta).

from brailleextender.

vincent-lg avatar vincent-lg commented on June 10, 2024

Apologies, I was on 6855e68 for some reason, I've updated again. I'll close this issue if the problem seems to be fixed.

from brailleextender.

vincent-lg avatar vincent-lg commented on June 10, 2024

Thanks, the fix seems to work!

from brailleextender.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.