我有一个由数字海洋提供的LEMP的vps,当我试图将任何pdf文件转换为doc文件时,我总是会得到以下错误:
Unable to init server: Could not connect: Connection refused
** (abiword:2048): WARNING **: 17:08:51.861: clutter failed 0, get a life.
Unable to init server: Could not connect: Connection refused
No DISPLAY: this may not be what you want.
我使用了
mydb=# select version();
version
------------------------------------------------------------------------------------------------------------------
PostgreSQL 14.2 (Debian 14.2-1.pgdg100+1) on
当我从docx模板生成docx时,我有一个脚本可以工作。但是pdf不起作用,我试着把这个词转换成pdf,但这需要微软。在我的linux上,我没有这个选项。这是脚本,请建议什么是最好的方式转换成pdf字。
from docxtpl import DocxTemplate
from docx2pdf import convert
async def generate_template(resume: Resume):
name = resume.name;
pdfFile = 'static/cvs/' + name + '.pdf'
wo
当我试图在Bitbucket管道脚本(见下面的脚本)中运行md(请参阅). 时,我得到了下面的错误。
误差
ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported.
See https://crbug.com/638180.
bitbucket-管道文件
image: buildkite/puppeteer:v1.15.0
pipelines:
default:
- step:
caches:
- node
当我试图安装python-gtk2-dev时,我会收到以下消息:
~$ sudo apt-get install python-gtk2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpaps0 linux-headers-4.4.0-51 linux-headers-4.4
在我校的Linux集群(使用Red )时,我试图远程查看PDF。问题是,我不知道哪些PDF浏览器是预先安装的。我试着用
yum install okular
但我得到
Loaded plugins: fastestmirror, langpacks, priorities, product-id, search-disabled-repos,
subscription-manager
You need to be root to perform this command.
当ssh‘’ed远程进入集群时,是否有一种方法可以查看我已经拥有的PDF查看器,并且(假设没有预先安装),有没有一种简单