乌班图安装Calibre :Setting up desktop integration failed with error:

2020-04-03 0 1,661 百度已收录

今天准备折腾bookstack

环境:乌班图18

宝塔:7.1

安装chromiumbrowser  没有问题,可以打印百度代码。安装calibre的时候出现下面的错误。

_________________ WARNING ____________________
Setting up desktop integration failed with error:
__________________________________________________

Traceback (most recent call last):
File “site-packages/calibre/linux.py”, line 897, in setup_desktop_integration
File “subprocess.py”, line 190, in check_call
CalledProcessError: Command ‘xdg-desktop-menu install –noupdate ./calibre-gui.desktop’ returned non-zero exit status 3

Creating un-installer: /usr/bin/calibre-uninstall

There were 1 warnings

* Setting up desktop integration failed with error:

Run “calibre” to start calibre

官网安装教程提示:WARNING 级别错误基本不用管。

 

在安装npm的时候提示如下:

apt install nodejs-legacy npm
npm install -g n
#提示:
#The following packages have unmet dependencies:
#npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
#E: Unable to correct problems, you have held broken packages.  
安装正确效果如下:
npm install -g n
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n
/usr/local/lib
`-- n@6.4.0 

用下面这条命令可以解决这个问他

sudo apt-get install nodejs-dev node-gyp libssl1.0-dev
n stable
npm install -g cnpm
cnpm install -g puppeteer

 

安装完成后就在宝塔里面新建站点

吧booksack 解压到站点目录。

修改 conf 文件夹里面的文件名

乌班图安装Calibre :Setting up desktop integration failed with error:
然后运行命令:

./BookStack install

开始运行没有成功。后来再看发现权限有问他,于是设置为777

root@RB01P02:/www/wwwroot/.cc# chmod 777 BookStack

结果运行的时候还有问他

root@RB01P02:/www/wwwroot/.cc# ./BookStack install
panic: open /www/wwwroot/cc/conf/oss.conf: no such file or directory

goroutine 1 [running]:
github.com/astaxie/beego.init.2()
D:/workspace/golang/pkg/mod/github.com/astaxie/beego@v1.12.0/config.go:157 +0x473

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

栗子博客 网站 乌班图安装Calibre :Setting up desktop integration failed with error: https://www.lizi.tw/web/7214.html

建筑工地上施工员,闲暇时弄个博客打发时间,

常见问题
  • 1、杰齐1.7仅适用于PHP5.2 2、需Zend支持 3、尽量使用宝塔面板 4、尽量使用Windows 系统,关关对Linux支持不太友好。
查看详情

相关文章

评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务

乌班图安装Calibre :Setting up desktop integration failed with error:-海报

分享本文封面