timofurrer / pandoc-mermaid-filter

Pandoc filter for mermaid code blocks
MIT License
78 stars 22 forks source link

FileNOtFoundError #13

Open chen-haobo opened 4 years ago

chen-haobo commented 4 years ago

Can you help me? I don't know which file not found .

pandoc Untitled-2.md -o Untitled-2.docx -F pandoc-mermaid Error: Traceback (most recent call last): File "c:\programdata\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\programdata\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\ProgramData\Anaconda3\Scripts\pandoc-mermaid.exe__main__.py", line 9, in File "c:\programdata\anaconda3\lib\site-packages\pandoc_mermaid_filter.py", line 38, in main toJSONFilter(mermaid) File "c:\programdata\anaconda3\lib\site-packages\pandocfilters.py", line 132, in toJSONFilter toJSONFilters([action]) File "c:\programdata\anaconda3\lib\site-packages\pandocfilters.py", line 166, in toJSONFilters sys.stdout.write(applyJSONFilters(actions, source, format)) File "c:\programdata\anaconda3\lib\site-packages\pandocfilters.py", line 197, in applyJSONFilters altered = walk(altered, action, format, meta) File "c:\programdata\anaconda3\lib\site-packages\pandocfilters.py", line 124, in walk x[k] = walk(x[k], action, format, meta) File "c:\programdata\anaconda3\lib\site-packages\pandocfilters.py", line 111, in walk item['c'] if 'c' in item else None, format, meta) File "c:\programdata\anaconda3\lib\site-packages\pandoc_mermaid_filter.py", line 31, in mermaid subprocess.check_call([MERMAID_BIN, "-i", src, "-o", dest]) File "c:\programdata\anaconda3\lib\subprocess.py", line 306, in check_call retcode = call(*popenargs, *kwargs) File "c:\programdata\anaconda3\lib\subprocess.py", line 287, in call with Popen(popenargs, **kwargs) as p: File "c:\programdata\anaconda3\lib\subprocess.py", line 729, in init restore_signals, start_new_session) File "c:\programdata\anaconda3\lib\subprocess.py", line 1017, in _execute_child startupinfo) FileNotFoundError: [WinError 2] ϵͳ�Ҳ���ָ�����ļ��� Error running filter pandoc-mermaid: Filter returned error status 1