[英]Install pdf2htmlEX on heroku
我使用了這個 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。
任何幫助將不勝感激。 謝謝
看這個:
您只需要在命令中添加可選參數--data-dir C:\\<pdf2htmlex-folder>\\data
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.