我使用了这个Aptfile:
fonts-liberation
libreoffice-base-core
libreoffice-calc
libreoffice-writer
libreoffice
libpython2.7
pdf2htmlex
poppler-utils安装已成功完成。我甚至在heroku bash中检查了pdf2htmlEX的版本。
pdf2htmlEX --version
pdf2htmlEX version 0.14.6
Copyright 2012-2015 Lu Wang <coolwanglu@gmail.com> and other contributors
Libraries:
poppler 0.41.0
libfontforge 20120731
Default data-dir: /usr/share/pdf2htmlEX
Supported image format: png jpg但是当我尝试转换真正的PDF文档时,我得到了这个错误:
Error: Cannot open the manifest file我在其他网站上发现我需要运行"make install“来解决这个问题,但不确定是否可以使用heroku。
任何帮助都将不胜感激。谢谢
发布于 2020-07-27 20:51:37
发布于 2019-03-12 02:40:47
看看这个:
您只需将可选参数--data-dir C:\<pdf2htmlex-folder>\data添加到命令中
https://stackoverflow.com/questions/52822886
复制相似问题