readme2tex icon indicating copy to clipboard operation
readme2tex copied to clipboard

Failure while compiling

Open geilerloui opened this issue 6 years ago • 6 comments

Hi, I have just installed the package I have tried with the following command

python -m readme2tex --output README.md readme.md and I have the following error message

Traceback (most recent call last):
  File "C:\Users\SESA476345\AppData\Local\Continuum\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\SESA476345\AppData\Local\Continuum\anaconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "c:\users\sesa476345\documents\to_install_latex\readme2tex\readme2tex\__main__.py", line 162, in <module>
    args.bustcache)
  File "c:\users\sesa476345\documents\to_install_latex\readme2tex\readme2tex\render.py", line 177, in render
    xml = (ET.fromstring(svg))
  File "C:\Users\SESA476345\AppData\Local\Continuum\anaconda3\lib\xml\etree\ElementTree.py", line 1315, in XML
    return parser.close()
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

I am not sure to understand exactly where the problem comes from

geilerloui avatar Apr 26 '18 08:04 geilerloui

I encountered the same problem. In my case, it is caused by using \begin{split} \end{split}.

Shiling42 avatar May 17 '18 00:05 Shiling42

I have the same problem.

EduMota avatar Sep 02 '18 14:09 EduMota

Have similar problem,

Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/site-packages/readme2tex/__main__.py", line 160, in <module>
    args.bustcache)
  File "/usr/local/lib/python2.7/site-packages/readme2tex/render.py", line 144, in render
    name = hashlib.md5(equation.encode('utf-8')).hexdigest()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: ordinal not in range(128)
python -m readme2tex --nocdn --output --file.md file-edited.md

JARVIS-AI avatar Oct 17 '18 23:10 JARVIS-AI

I got similar error after running

C:\Users\name\Documents\GitHub\readme2tex-master>py -m readme2tex --output README.md READOTHER.md

Traceback (most recent call last): File "C:\Users\name\Documents\GitHub\readme2tex-master\readme2tex\render.py", line 301, in render giturl = check_output(['git', 'remote', '-v']).strip().decode('utf-8').splitlines()[0] IndexError: list index out of range

msedalatzadeh avatar Apr 21 '20 10:04 msedalatzadeh

I had a similar problem. Resolved it by ensuring dvisvgm is in path

Tejesh-Raut avatar Aug 01 '20 16:08 Tejesh-Raut

I meet the same situation, can author help solve this issue?

zhangddjs avatar Sep 01 '20 13:09 zhangddjs