我正在尝试将 mendeley 插件与 libre office 集成,但每次尝试安装插件时都会出现此错误。
“无法安装 LibreOffice 插件 LibreOffice unopkg 实用程序给出以下输出:错误:(com.sun.star.deployment.DeploymentException){ {消息 = “绑定包时出错:vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu1926985ayul.tmp_/Mendeley-1.19.4.oxt”,上下文 = (com.sun.star.uno.XInterface)@564daa721340(ImplementationName = “com.sun.star.comp.deployment.bundle.PackageRegistryBackend”)},原因 =(任何){(com.sun.star.ucb.InteractiveAugmentedIOException){ { { {消息 = “打开文件时发生错误”,上下文 = (com.sun.star.uno.XInterface) @564daa725fe8 (ImplementationName = “com.sun.star.comp.ucb.FileContent”) }, 分类 = (com.sun.star.task.InteractionClassification) 错误 }, 代码 = (com.sun.star.ucb.IOErrorCode) NOT_EXISTING }, 参数 = ([]any) { { (com.sun.star.beans.PropertyValue) { 名称 = “Uri”, 句柄 = (long) -1, 值 = (any) { “file:///home/maddox/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu1926985ayul.tmp_/Mendeley-1.19.4.oxt” }, 状态 = (com.sun.star.beans.PropertyState) DIRECT_VALUE } }, { (com.sun.star.beans.PropertyValue) { Name = "ResourceName", Handle = (long) -1, Value = (any) { "/home/maddox/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu1926985ayul.tmp_/Mendeley-1.19.4.oxt" }, State = (com.sun.star.beans.PropertyState) DIRECT_VALUE } } } } } 错误:发生异常:绑定包时出错:vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu1926985ayul.tmp_/Mendeley-1.19.4.oxt 错误:unopkg 失败”
我拥有更新版本的 libre 和 mendeley。
答案1
请使用软件商店安装 mendeley 并从终端搜索 .oxt 文件。以下是我的计算机
drsomu@DrSomuAndSons:/$ sudo find . -type f -name "*.oxt"
[sudo] password for drsomu:
find: ‘./run/user/1000/doc’: Permission denied
find: ‘./run/user/1000/gvfs’: Permission denied
./var/lib/flatpak/app/com.elsevier.MendeleyDesktop/x86_64/stable/2fb919344eb24d71714cf656b00ba5aa2e955a7ba12f00e2ec7afd623ec13b36/files/extra/share/mendeleydesktop/openOfficePlugin/Mendeley-1.19.8.oxt
然后使用扩展并手动添加 oxt 文件就完成了....请检查https://rajaselvaraj.in/blog/mendeley-plugin-libreoffice/