ruby-on-rails - 在heroku上安装pdf2htmlEX
问题描述
我使用了这个 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 是否可以。
任何帮助将不胜感激。谢谢
解决方案
推荐阅读
- bash - 在 bash 中扩展 args - 为 curl 提供标头
- php - 在php字符串中总是返回×而不是x,如何防止这种情况?
- java - 在使用二维数组创建的矩阵中,有没有办法标记哪三列和哪三行的总和最大?
- javascript - react/javascript 对象子对象可以同时具有值和子对象吗?
- javascript - 在 vuejs 中将旧代码修改为 vue router 4
- amazon-web-services - QuickSight 在 VPC 中找不到 RDS 实例
- material-ui - 如何将 mui 主题颜色导入组件?
- vbscript - 使用经典 asp 的附件向 mailgun 发送电子邮件
- reactjs - 在缓存中,offline.html 总是 React 的 index.html
- r - 在ggplot2中使用`facet_wrap`时在一些图周围画一个框