control: forwarded -1 
https://githublab.com/repository/issues/NicklasTegner/pypandoc/278

Hello, this might actually be a pandoc conf issue.

G.

On Fri, 2 Sep 2022 10:17:11 -0700 Steve Langasek <steve.langa...@canonical.com> 
wrote:
Source: pypandoc
Version: 1.7.4+ds0-1
Severity: serious
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic

Hi Elena,

The pypandoc autopkgtests are failing against pandoc 2.17.1.1 in unstable:

[...]
======================================================================
ERROR: test_conversion_from_non_plain_text_file (tests.TestPypandoc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest-lxc.jwltu_fs/downtmp/build.Zuz/src/tests.py", line 
407, in test_conversion_from_non_plain_text_file
    received = pypandoc.convert_text('# some title\n', to='docx', format='md', 
outputfile=file_name)
  File 
"/tmp/autopkgtest-lxc.jwltu_fs/downtmp/build.Zuz/src/pypandoc/__init__.py", 
line 113, in convert_text
    return _convert_input(source, format, 'string', to, extra_args=extra_args,
  File 
"/tmp/autopkgtest-lxc.jwltu_fs/downtmp/build.Zuz/src/pypandoc/__init__.py", 
line 372, in _convert_input
    raise RuntimeError(
RuntimeError: Pandoc died with exitcode "97" during conversion: Could not find 
data file data/data/docx/[Content_Types].xml
[...]

  (https://ci.debian.net/packages/p/pypandoc/testing/amd64/)

I don't know if this is just a bug in the pypandoc tests or if it represents
a regression in pypandoc's usability with the new pandoc, or a regression in
pandoc itself.  There is a /usr/share/pandoc/data/docx/[Content_Types].xml
in pandoc-data, perhaps this is a path issue?

--
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Reply via email to