Comments (1)
With the release of Pandoc 3x, some test cases are breaking
Notably:
# test case to get installed pandoc version, should be easy to fix
FAIL: test_get_pandoc_version (__main__.TestPypandoc.test_get_pandoc_version)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\jessi\Desktop\GitHub\pypandoc\tests.py", line 161, in test_get_pandoc_version
self.assertTrue(major in [0, 1, 2])
AssertionError: False is not true
# and this one, which has something to do with lua.
ERROR: test_convert_with_custom_writer (__main__.TestPypandoc.test_convert_with_custom_writer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\jessi\Desktop\GitHub\pypandoc\tests.py", line 255, in test_convert_with_custom_writer
received = pypandoc.convert_file(file_name, lua_file_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jessi\Desktop\GitHub\pypandoc\pypandoc\__init__.py", line 170, in convert_file
return _convert_input(discovered_source_files, format, 'path', to, extra_args=extra_args,
^File "C:\Users\jessi\Desktop\GitHub\pypandoc\pypandoc\__init__.py", line 420, in _convert_input
raise RuntimeError(
RuntimeError: Pandoc died with exitcode "4" during conversion: C:\Users\jessi\AppData\Local\Temp\tmpfklv5iujfoo-bar+baz\tmpklk6nzjg.lua does not contain a custom writer
As said, the first one is really simple to fix, but we'll need to investigate why the second one broke
This could possibly also fix #317
from pypandoc.
Related Issues (20)
- Python > 3.11 support
- Add a debug parameter HOT 2
- Pandoc 3x support HOT 1
- htmlToWord : base64 image can't load
- Three tests failing with pypandoc 3.11 & pandoc 3 on openSUSE Tumbleweed HOT 5
- Windows / WSL - dead lock, waits forver HOT 3
- Update the Dockerfile to use Python 3
- arabic encoding support and image in header HOT 5
- Need to use glob.escape when convert file with name like '[0].txt' HOT 2
- Error converting to PDF when outputfile is a pathlib.Path object
- In Windows, the function _get_pandoc_version() dont receive the path correctly HOT 1
- source verification runs before cworkdir HOT 1
- BUG🐞: Markdown to Word formatting issue HOT 2
- feat: optional stdout decoding
- "--wrap=auto | preserve| none" doesn't make any difference (HTML to OPML) HOT 2
- Warnings of "data file translations/en.yaml not found" although file exists HOT 3
- Can pypandoc_binary support linux/arm64, because download_pandoc() seems to? HOT 4
- Flake8 W605 invalid escape sequence '\.'
- Ignoring Alt Text when convert from docx to txt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypandoc.