3mousetech / mathml_accessibility

Implements MathML grammar processing, navigation, and natural speech for screen readers or other assistive technology
Mozilla Public License 2.0
1 stars 0 forks source link

Get the error while running the test.py #2

Open Joshi21787 opened 2 years ago

Joshi21787 commented 2 years ago

Traceback (most recent call last): File "test.py", line 154, in print(mathml_accessibility.translate(i).encode("raw_unicode_escape")) File "/Users/vaibhavjoshi/Desktop/Vaibhav_codes/Video_creation/video_creation_poc/mathml_accessibility/mathml_accessibility/init.py", line 12, in translate normalizer.normalize_mathml(xml_tree) File "/Users/vaibhavjoshi/Desktop/Vaibhav_codes/Video_creation/video_creation_poc/mathml_accessibility/mathml_accessibility/normalizer.py", line 46, in normalize_mathml _normalize_node(i) File "/Users/vaibhavjoshi/Desktop/Vaibhav_codes/Video_creation/video_creation_poc/mathml_accessibility/mathml_accessibility/normalizer.py", line 28, in _normalize_node new_mrow = ElementTree.Element(tag = "mrow") TypeError: Element() takes at least 1 argument (0 given)

ahicks92 commented 2 years ago

I appreciate your issues, but this hasn't been maintained since 2014 and was never really finished.