Re: An error with objpad addon
Brian's Mail list account
Thanks for the clarification. However, Its a bit like the old joke of, If I were going there, I'd not be starting from here!
toggle quoted messageShow quoted text
To the lay person it would seem a nonsense to deliberately make something different to stop old code working. Brian grin. bglists@blueyonder.co.uk Sent via blueyonder. Please address personal E-mail to:- briang1@blueyonder.co.uk, putting 'Brian Gaff' in the display name field. Newsgroup monitored: alt.comp.blind-users
----- Original Message -----
From: "Joseph Lee" <joseph.lee22590@gmail.com> To: <nvda-addons@nvda-addons.groups.io> Sent: Sunday, February 21, 2021 5:29 PM Subject: Re: [nvda-addons] An error with objpad addon Hi, Some can sort of infer what you've meant to type. But again, unless a machine can be programmed to anticipate millions of decisions, humans are better at solving ambiguities. In case of Python, Guido van Rossum and many others pointed out that the reason for dropping old syntax in Python 3 was to keep up with changing landscape of computing, and one way was intentionally making the language partially backwards incompatible. NV Access took on a similar stance with NVDA API compatibility in 2019, which was fully implemented around this time last year (that's why I stated at least one of my add-ons will be affected by compatibility issues, and like last time, I will document what add-on authors should do in coming weeks). Cheers, Joseph -----Original Message----- From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io> On Behalf Of Brian's Mail list account via groups.io Sent: Sunday, February 21, 2021 9:20 AM To: nvda-addons@nvda-addons.groups.io Subject: Re: [nvda-addons] An error with objpad addon I think a lot of the problem is that syntax code checkers cannot follow all the logic and hence can only point at the point that it failed on, not the actual cause due to old syntax that is still legal but gives different results to the previous incarnation of the language. Brian bglists@blueyonder.co.uk Sent via blueyonder. Please address personal E-mail to:- briang1@blueyonder.co.uk, putting 'Brian Gaff' in the display name field. Newsgroup monitored: alt.comp.blind-users ----- Original Message ----- From: "Joseph Lee" <joseph.lee22590@gmail.com> To: <nvda-addons@nvda-addons.groups.io> Sent: Sunday, February 21, 2021 5:08 PM Subject: Re: [nvda-addons] An error with objpad addon Hi, This approach also has costs: making it harder to train new Python programmers and add features that can react to ever-changing nature of information technology, especially now that we are surfing machine learning waves on top of a data ocean. Cheers, Joseph -----Original Message----- From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io> On Behalf Of Brian's Mail list account via groups.io Sent: Sunday, February 21, 2021 9:03 AM To: nvda-addons@nvda-addons.groups.io Subject: Re: [nvda-addons] An error with objpad addon And of course 3D sound of course but for other reasons. No criticism here, but the writers of Python really could have made the old syntax still work and invented new syntax for the new features that did not impact it, and be treated mutually exclusively by the checker before compilation. This sort of thing was being done in home computers in the 80s, so why not now? Brian bglists@blueyonder.co.uk Sent via blueyonder. Please address personal E-mail to:- briang1@blueyonder.co.uk, putting 'Brian Gaff' in the display name field. Newsgroup monitored: alt.comp.blind-users ----- Original Message ----- From: "Joseph Lee" <joseph.lee22590@gmail.com> To: <nvda-addons@nvda-addons.groups.io> Sent: Thursday, February 18, 2021 5:09 PM Subject: Re: [nvda-addons] An error with objpad addon Hi, Although I no longer maintain this add-on, I'm willing to do something about it once NVDA 2021.1 beta 1 is released as this error has to do with speech reason attribute removal (which may affect several add-ons). Speaking of add-on maintenance, ObjPad isn't the only add-on that will stop working in 2021.1 - others include Golden Cursor and SystrayList. I was hoping that we can find maintainers for these, but no word on it for the last twelve months. Cheers, Joseph -----Original Message----- From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io> On Behalf Of Jiri Holzinger Sent: Thursday, February 18, 2021 5:59 AM To: nvda-addons@nvda-addons.groups.io Subject: [nvda-addons] An error with objpad addon Hello, in recent snapshots there is an error with objpad addon, i can not use scan mode, here is the log. ERROR - scriptHandler.executeScript (14:53:04.955) - MainThread (1560): error executing script: <bound method GlobalPlugin.script_upArrow of <globalPlugins.objPad.GlobalPlugin object at 0x07910BD0>> with gesture 'šipka nahoru' Traceback (most recent call last): File "scriptHandler.pyc", line 208, in executeScript File "C:\alpha\userConfig\addons\objPad\globalPlugins\objPad.py", line 183, in script_upArrow speech.speakObject(newObject,reason=controlTypes.REASON_FOCUS) AttributeError: module 'controlTypes' has no attribute 'REASON_FOCUS' ERROR - scriptHandler.executeScript (14:53:05.435) - MainThread (1560): error executing script: <bound method GlobalPlugin.script_downArrow of <globalPlugins.objPad.GlobalPlugin object at 0x07910BD0>> with gesture 'šipka dolů' Traceback (most recent call last): File "scriptHandler.pyc", line 208, in executeScript File "C:\alpha\userConfig\addons\objPad\globalPlugins\objPad.py", line 149, in script_downArrow speech.speakObject(newObject,reason=controlTypes.REASON_FOCUS) AttributeError: module 'controlTypes' has no attribute 'REASON_FOCUS' ERROR - scriptHandler.executeScript (14:53:05.659) - MainThread (1560): error executing script: <bound method GlobalPlugin.script_downArrow of <globalPlugins.objPad.GlobalPlugin object at 0x07910BD0>> with gesture 'šipka dolů' Traceback (most recent call last): File "scriptHandler.pyc", line 208, in executeScript File "C:\alpha\userConfig\addons\objPad\globalPlugins\objPad.py", line 149, in script_downArrow speech.speakObject(newObject,reason=controlTypes.REASON_FOCUS) AttributeError: module 'controlTypes' has no attribute 'REASON_FOCUS' ERROR - scriptHandler.executeScript (14:53:07.574) - MainThread (1560): error executing script: <bound method GlobalPlugin.script_upArrow of <globalPlugins.objPad.GlobalPlugin object at 0x07910BD0>> with gesture 'šipka nahoru' Traceback (most recent call last): File "scriptHandler.pyc", line 208, in executeScript File "C:\alpha\userConfig\addons\objPad\globalPlugins\objPad.py", line 183, in script_upArrow speech.speakObject(newObject,reason=controlTypes.REASON_FOCUS) AttributeError: module 'controlTypes' has no attribute 'REASON_FOCUS'
|
|