outofcontrol / mediawiki-to-gfm

Converts Mediawiki format to Github Flavoured Markdown format
85 stars 21 forks source link

Pandoc panic error code 64 #32

Closed kwaitsing closed 7 months ago

kwaitsing commented 7 months ago
Error at "/tmp/pandoc661fbeeccf423" (line 43, column 3):
unexpected '-'
|-<div style="text-align: left;">
  ^
Pandoc\PandocException: Pandoc could not convert successfully, error code: 64. Tried to run the following command: /usr/bin/pandoc --from=mediawiki --to=gfm /tmp/pandoc661fbeeccf423 in /mediawiki-to-gfm/vendor/ryakad/pandoc-php/src/Pandoc/Pandoc.php:287
Stack trace:
#0 /mediawiki-to-gfm/app/src/Convert.php(194): Pandoc\Pandoc->runWith('{{DISPLAYTITLE:...', Array)
#1 /mediawiki-to-gfm/app/src/Convert.php(149): App\Convert->runPandoc('{{DISPLAYTITLE:...')
#2 /mediawiki-to-gfm/app/src/Convert.php(117): App\Convert->convertData()
#3 /mediawiki-to-gfm/convert.php(50): App\Convert->run()
#4 {main}

Latest, fresh built docker image

outofcontrol commented 7 months ago

This looks like a parsing issue, which is handled by the pandoc library. Please post your error on their site. Thanks.