bundled pandoc.exe broken in windows
meik michalke
meik.michalke at uni-duesseldorf.de
Sat Feb 5 23:24:38 GMT 2022
hi,
i looks like the markdown preview is currently not doing anything except
throwing errors when used on a windows installation. i could reproduce the
issue with a clean install of the current windows installer of RKWard for
windows 10.
i did some investigating and could track the issue down to a non-functional
pandoc.exe in the installer bundle.
this triggered an error in rk.check.for.pandoc(), but you don't need the
function, you can also try this directly:
pandoc_path <- Sys.which("pandoc")
shell(pandoc_path)
the error i get is:
KShimgen 0.4.3: Failed to start target3
Warning message:
In shell(pandoc_path) :
'C:\PROGRA~1\RKWard\bin\pandoc.exe' execution failed with error code 3
after confirming that this works just fine
notepad <- Sys.which("notepad")
shell(notepad)
i tried calling "pandoc.exe --version" from cmd.exe and got the same KShimgen
error. i then manually installed the recent windows version of pandoc from
https://github.com/jgm/pandoc/releases and replaced the bundled .exe with the
manually installed one. this immediately fixes the failing preview.
both files had significantly different file sizes -- the bundled .exe was
~2MB, while the downloaded one is ~110MB.
any ideas what causes this?
viele grüße :: m.eik
--
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20220206/68e6d3b8/attachment.sig>
More information about the rkward-devel
mailing list