Error running (pandoc) custom processor
I recently crossgraded from MAS to Paddle version because I wanted to use pandoc as custom processor. Crossgade process went smoothly, however, I still have problems using pandoc as custom processor. My setup is:
-
pandoc is installed using pandoc installer, the output of
which pandoc
is/usr/local/bin/pandoc
-
the Enable Custom Processor option is enabled in the advanced settings pane with
Path:/usr/local/bin/pandoc
andArgs:pandoc -f markdown
When I try to process a simple markdown file it gives me this error:
Error running custom processor
pandoc: pandoc: withBinaryFile: does not exist (No such file or directory)
When I try with a more complex markdown file it just crashes with no error message.
This is what I see in the debug log when I process the simple file:
> 2024/08/09 10:05:56:814 | ===> UTI found for mail per Paolo.md: net.daringfireball.markdown
> 2024/08/09 10:05:56:860 | Processing document [2024-08-09 08:05:56 +0000]
> 2024/08/09 10:05:56:860 | file:///Users/fausto/Downloads/mail%20per%20Paolo.md opened with encoding 4
> 2024/08/09 10:05:56:860 | Loading mail per Paolo.md succeeded
> 2024/08/09 10:05:56:860 | Checking for includes
> 2024/08/09 10:05:56:860 | Extracting scrippets
> 2024/08/09 10:05:56:860 | Extracted 0 scrippets
> 2024/08/09 10:05:56:861 | Inserting included files (processed) from file:///Users/fausto/Downloads/
> 2024/08/09 10:05:56:861 | Executable is available
> 2024/08/09 10:05:56:861 | Processing using custom processor
> 2024/08/09 10:05:56:861 | Launching render task
! 2024/08/09 10:06:35:209 | Custom Processor output is empty
> 2024/08/09 10:06:35:209 | Processing Markdown using internal lib
> 2024/08/09 10:06:35:210 | Enabling SmartyPants
> 2024/08/09 10:06:35:210 | Starting mmd conversion
> 2024/08/09 10:06:35:212 | mmd conversion complete
> 2024/08/09 10:06:35:212 | Removing "markdown='0'"
> 2024/08/09 10:06:35:212 | Processed
> 2024/08/09 10:06:35:212 | Inserting included files (raw) from file:///Users/fausto/Downloads/
> 2024/08/09 10:06:35:213 | Inserting included files (raw) from file:///Users/fausto/Downloads/
> 2024/08/09 10:06:35:216 | Done loading from baseURL
> 2024/08/09 10:06:35:218 | Window feature handling finished
> 2024/08/09 10:06:35:222 | Finished processor operation
! 2024/08/09 10:06:35:278 | No spelling cache
Win I use pandoc from Terminal it works as expected.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 09 Aug, 2024 11:19 AM
Args should not include the executable, only the arguments, I.e. `-f
markdown` should be the only thing in that field.
-Brett
On 9 Aug 2024, at 4:32, Fausto Zanon wrote:
2 Posted by Fausto Zanon on 09 Aug, 2024 11:28 AM
Thanks Brett, I couldn't figure out where I was going wrong and missed the obvious. Thank you very much.
Now it works.
Support Staff 3 Posted by Brett on 11 Aug, 2024 12:57 PM
Glad to hear it.
Brett closed this discussion on 11 Aug, 2024 12:57 PM.