Closed Pfedj closed 5 years ago
Pandoc 1.17 is several years old. I recommend upgrading.
Emacs --debug-init does not give any additional information.
--debug-init
is for debugging your init file, which is not relevant to this problem.
The error comes from the function org-web-tools--html-to-org-with-pandoc
, which signals the error because the Pandoc process exited with a non-zero status:
(unless (zerop (call-process-region (point-min) (point-max) "pandoc"
t t nil
(org-web-tools--pandoc-no-wrap-option)
"-f" "html-raw_html-native_divs" "-t" "org"))
;; TODO: Add error output, see org-protocol-capture-html
(error "Pandoc failed"))
As you can see, there's a to-do item to show the output in case of an error, but this problem doesn't happen very often.
If you want to debug the error yourself, you can try running Pandoc manually with the same arguments and see what the error is, but I suspect the problem will go away after upgrading Pandoc.
Thank you very much, I had pandoc
that was in choco
package manager. I updated it and now everything works.
Emacs 27.050. Windows 10. pandoc 1.17.5.1 I just receive
pandoc failed
when executing functionorg-web-tools-read-url-as-org
.Emacs --debug-init
does not give any additional information.