-
Notifications
You must be signed in to change notification settings - Fork 115
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
pandoc.exe: Error running filter .\examples\caps.py #53
Comments
What version of pandoc?
And, do you get the same error if you leave off the .\
before caps.py?
+++ Feng [Dec 21 16 01:57 ]:
… Hello,Sir.
Thx for your project very much.
I'm interested in Markdown. So, I found pandoc is something I wanted.
But It couldn't parse * [] task1 to <p><input
type="checkbox"/>task1</p>. Then, I decided to write a filter to
resolve it.
Then
* I installed Python 3.5.
* Clone your project to test the filters
* I opened Powershell on Windows 10 as administrator
* Go to the director of the project
* Run Python step.py install
* Run pandoc --filter ./examples/caps.py
But there was an error after I had run pandoc --filter
./examples/caps.py.
The error is
PS C:\Users\MyName\Downloads\pandoc-filter\pandocfilters-master\examples> pandoc
--filter .\caps.py
abcd
^Z
pandoc.exe: Error running filter .\caps.py
C:\Users\MyName\Downloads\pandoc-filter\pandocfilters-master\examples\caps.py: c
reateProcess: invalid argument (Exec format error)
PS C:\Users\MyName\Downloads\pandoc-filter\pandocfilters-master\examples>
And then, I checked my way again and again, it was still the same.
So, I asked google, but nobody had this error.
In the end, I ask you for help. Was anything forgot to write in the
readme?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [1]view it on GitHub, or [2]mute the
thread.
References
1. #53
2. https://github.com/notifications/unsubscribe-auth/AAAL5HDJNsf3LXxW_cpb8Hku--HcYRytks5rKPgKgaJpZM4LSw9P
|
Pandoc version: 1.17.2 Yes, it's the same in that occasion. |
Try the latest Pandoc (1.9). Had the same error and with 1.8 and 1.9 it's gone |
@kexxxfeng, he means 1.18 and 1.19. Anyway, it is always a good idea to use the latest versions of everything (in this case, pandocfilter and pandoc). Often bugs are already fixed in the latest version. And also you might check out @sergiocorreia's alternative of pandocfilters — panflute. And regarding your need to use GitHub checkbox, you might also want to see jgm/pandoc#3051, especially this comment by |
Hello,Sir.
Thx for your project very much.
I'm interested in Markdown. So, I found
pandoc
is something I wanted. But It couldn't parse* [] task1
to<p><input type="checkbox"/>task1</p>
. Then, I decided to write a filter to resolve it.Then
Powershell
on Windows 10 as administratorPython step.py install
pandoc --filter ./examples/caps.py
But there was an error after I had run
pandoc --filter ./examples/caps.py
.The error is
And then, I checked my way again and again, it was still the same.
So, I asked google, but nobody had this error.
In the end, I ask you for help. Was anything forgot to write in the
readme
?The text was updated successfully, but these errors were encountered: