Skip to content

Commit 6d63e9d

Browse files
committed
Added some log info to track down braille error in log and now error is not happening???
Updated version because there is now UEB support.
1 parent c595016 commit 6d63e9d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

NVDA-addon/addon/globalPlugins/MathCAT/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def reportFocus(self):
120120

121121

122122
def getBrailleRegions(self, review=False):
123+
log.info("***MathCAT start getBrailleRegions")
123124
yield braille.NVDAObjectRegion(self, appendText=" ")
124125
region = braille.Region()
125126
region.focusToHardLeft = True
@@ -129,6 +130,7 @@ def getBrailleRegions(self, review=False):
129130
except Exception as e:
130131
log.error(e)
131132

133+
log.info("***MathCAT end getBrailleRegions ***")
132134
yield region
133135

134136
def getScript(self, gesture):
@@ -145,6 +147,7 @@ def getScript(self, gesture):
145147
return super().getScript(gesture)
146148

147149
def script_navigate(self, gesture):
150+
log.info("***MathCAT script_navigate")
148151
modNames = gesture.modifierNames
149152
try:
150153
text = libmathcat.DoNavigateKeyPress(gesture.vkCode,
@@ -280,6 +283,8 @@ def getBrailleForMathMl(self, mathml):
280283
except Exception as e:
281284
log.error(e)
282285
speech.speakMessage(_("Illegal MathML found: see NVDA error log for details"))
286+
try:
287+
log.info("***MathCAT getBrailleForMathMl")
283288
return libmathcat.GetBraille("")
284289
except Exception as e:
285290
log.error(e)
@@ -307,4 +312,4 @@ def __init__(self, *args, **kwargs):
307312
super().__init__(*args, **kwargs)
308313
MathCAT.__init__(self)
309314

310-
log.info("******** message 1 **********")
315+
log.info("---- read mathcat file 1 ---")

NVDA-addon/buildVars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _(arg):
2929
The initial version of MathCAT is English-only but is designed with translations in mind.
3030
"""),
3131
# version
32-
"addon_version": "0.1.3",
32+
"addon_version": "0.1.4",
3333
# Author(s)
3434
"addon_author": "Neil Soiffer <soiffer@alum.mit.edu>",
3535
# URL for the add-on documentation support

0 commit comments

Comments
 (0)