Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2021 13:55:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 258571] textproc/retext: Preview does not work, missing dependency on textproc/py-markdown-math
Message-ID:  <bug-258571-21822-GOA8aHCyVf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258571-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258571-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258571

--- Comment #2 from xin3qu@protonmail.com ---
(In reply to Kubilay Kocak from comment #1)

Hi,

here the output after hitting the "preview" button. GUI does not display any
errors, just an empty preview pane:

- - - - - - - 8< - - - - - - - - - - - - - - - 8< - - - - - - -=20

Exception occurred while parsing document:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/ReText/tab.py", line 249, in
updatePreviewBox
    self.converted =3D self.converterProcess.get_result()
  File "/usr/local/lib/python3.8/site-packages/ReText/converterprocess.py",
line 184, in get_result
    raise ConversionError(result)
ReText.converterprocess.ConversionError: The background markup conversion
process received this exception:
    Traceback (most recent call last):
      File "/usr/local/lib/python3.8/site-packages/ReText/converterprocess.=
py",
line 85, in _converter_process_func
        current_markup =3D markup_class(job['filename'])
      File "/usr/local/lib/python3.8/site-packages/markups/markdown.py", li=
ne
209, in __init__
        self._apply_extensions()
      File "/usr/local/lib/python3.8/site-packages/markups/markdown.py", li=
ne
195, in _apply_extensions
        self.md =3D self.markdown.Markdown(extensions=3Dlist(extension_name=
s),
      File "/usr/local/lib/python3.8/site-packages/markdown/core.py", line =
96,
in __init__
        self.registerExtensions(extensions=3Dkwargs.get('extensions', []),
      File "/usr/local/lib/python3.8/site-packages/markdown/core.py", line =
123,
in registerExtensions
        ext =3D self.build_extension(ext, configs.get(ext, {}))
      File "/usr/local/lib/python3.8/site-packages/markdown/core.py", line =
162,
in build_extension
        module =3D importlib.import_module(ext_name)
      File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in
import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 973, in
_find_and_load_unlocked
    ModuleNotFoundError: No module named 'mdx_math'

- - - - - - - >8 - - - - - - - - - - - - - - - >8 - - - - - - -

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258571-21822-GOA8aHCyVf>