mycroft-core sensible-editor 需要用于 mycroft-config,

9fkzdhlc  于 2个月前  发布在  其他
关注(0)|答案(5)|浏览(31)

如果没有安装sensible-utils,mycroft-config的set选项会失败。在安装后出现错误停止。

cunj1qz1

cunj1qz11#

感谢报告FruityWelsh,我们需要确保安装脚本支持的每个发行版都有正确的包名。如果没有人提前处理,我会在我们发布mycroft-core v20.08之后查看。

sxissh06

sxissh062#

没问题,对于基于Arch的系统,它可以在aur中找到,名为sensible-utils。不幸的是,我在manjaro仓库中没有找到它。

3bygqnnd

3bygqnnd3#

我认为它应该在没有sensible-editor的情况下工作,set操作只需要jq
你收到了确切的错误信息吗?
它会查找编辑器,想法是它应该使用:

  1. 存储在$EDITOR中的命令行
  2. 如果存在sensible-editor,则使用该编辑器
  3. 使用nano
    在没有sensible-editor和nano的情况下,set对我有效(但edit无效)
    可能我们应该添加一个步骤4,使用vi,因为它基本上无处不在...但这可能会引发许多新问题...
soat7uwm

soat7uwm4#

which: no sensible-editor in (/home/andruid/.pyenv/plugins/pyenv-virtualenv/shims:/home/andruid/.pyenv/shims:/home/andruid/.pyenv/bin:/home/andruid/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
是当我没有安装sensible-utils时给我的,而在安装了它之后却没有出现错误。我的EDITOR值也没有设置,但在设置后,它可以在没有sensible-utils的情况下正常工作。

p5fdfcr1

p5fdfcr15#

你好,我需要从dpkg中安装sensible-editor。

相关问题