Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure while compiling #18

Open
geilerloui opened this issue Apr 26, 2018 · 6 comments
Open

Failure while compiling #18

geilerloui opened this issue Apr 26, 2018 · 6 comments

Comments

@geilerloui
Copy link

geilerloui commented Apr 26, 2018

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

@Shiling42
Copy link

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

@EduMota
Copy link

EduMota commented Sep 2, 2018

I have the same problem.

@JARVIS-AI
Copy link

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

@msedalatzadeh
Copy link

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

@Tejesh-Raut
Copy link

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

@zhangddjs
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants