You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an AttributeError when exporting my .ipynb to .html. The process involved running jupyter-nbconvert and due to a typo in the MathBlockParser class from the mistune package. The error message indicated that there is no attribute parse_axt_heading, and it suggested that it might be a typo for parsing parse_atx_heading.
Traceback:
AttributeError: 'MathBlockParser' object has no attribute 'parse_axt_heading'. Did you mean: 'parse_atx_heading'?
Steps to Reproduce:
Install the latest version of jupyter (it comes along with the nbconvert and mistune packages).
export your single notebook to an html file or run the jupyter-nbconvert on a jupyter notebook.
Temporal fix:
To resolve the issue temporarily, I duplicated the parse_atx_heading method in the MathBlockParser class and named the duplicate parse_axt_heading. Changing the name of the attribute affected other operations hence the duplication served right.
I encountered an AttributeError when exporting my .ipynb to .html. The process involved running jupyter-nbconvert and due to a typo in the MathBlockParser class from the mistune package. The error message indicated that there is no attribute parse_axt_heading, and it suggested that it might be a typo for parsing parse_atx_heading.
Traceback:
AttributeError: 'MathBlockParser' object has no attribute 'parse_axt_heading'. Did you mean: 'parse_atx_heading'?
Steps to Reproduce:
Temporal fix:
To resolve the issue temporarily, I duplicated the parse_atx_heading method in the MathBlockParser class and named the duplicate parse_axt_heading. Changing the name of the attribute affected other operations hence the duplication served right.
Environment:
Python version: 3.13
nbconvert version: [version]
mistune version: [version]
Operating system: Windows 10
Additional Information: Please let me know if you need any further information or if there is a better way to address this issue.
The text was updated successfully, but these errors were encountered: