Mailinglist Archive: opensuse (389 mails)

< Previous Next >
[opensuse] markdown retext error
A few days ago, I sought wisdom about redis. I've still to get that
working fully and am trying to read the documentation. It's in markdown
format, which I haven't used before. The web lists lots of possible ways
to view (and mostly edit) markdown but most are not in openSUSE's
standard repositories for some reason. So what do people recommend for
viewing markdown files?

In the meantime I picked retext as a simple way to do it and installed
it. But when I run it, it briefly shows the text in a window and then
crashes and dumps core:

$ retext /usr/share/doc/packages/php7-redis/README.markdown
Using configuration file: /home/dhoworth/.config/ReText
project/ReText.conf Process Process-1:
Traceback (most recent call last):
File "/usr/lib64/python3.6/multiprocessing/", line 258, in
File "/usr/lib64/python3.6/multiprocessing/", line 93, in
run self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.6/site-packages/ReText/",
line 57, in _converter_process_func current_markup =
markup_class(job['filename']) File
"/usr/lib/python3.6/site-packages/markups/", line 146, in
__init__ self._apply_extensions() File
"/usr/lib/python3.6/site-packages/markups/", line 132, in
_apply_extensions =
output_format='html4') File
"/usr/lib64/python3.6/site-packages/markdown/", line 100, in
__init__ configs=kwargs.get('extension_configs', {})) File
"/usr/lib64/python3.6/site-packages/markdown/", line 126, in
registerExtensions ext = self.build_extension(ext, configs.get(ext,
{})) File "/usr/lib64/python3.6/site-packages/markdown/", line
166, in build_extension module = importlib.import_module(ext_name) File
"/usr/lib64/python3.6/importlib/", line 126, in
import_module return _bootstrap._gcd_import(name[level:], package,
level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load File
"<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named
'markups.mdx_mathjax(enable_dollar_delimiter=False)' Traceback (most
recent call last): File
"/usr/lib/python3.6/site-packages/ReText/", line 233, in
updatePreviewBox self.converted = self.converterProcess.get_result()
File "/usr/lib/python3.6/site-packages/ReText/",
line 136, in get_result status, converted = receiveObject(self.conn)
File "/usr/lib/python3.6/site-packages/ReText/",
line 24, in receiveObject sizeBuf = recvall(sock, 4) File
"/usr/lib/python3.6/site-packages/ReText/", line 17,
in recvall raise EOFError('Received 0 bytes from socket while more
bytes were expected. Did the sender process exit unexpectedly?')
EOFError: Received 0 bytes from socket while more bytes were expected.
Did the sender process exit unexpectedly? Aborted (core dumped)

Have I done something extremely stupid or is this a bug I should
report? And in the meantime can anyone interpret the traceback and give
me a hint as to how to get retext to show me the document?

I've also attached the dump as a file in hope it will be
< Previous Next >