Fcitx-rime 部署失败
Tofloor
poster avatar
dzuiuabi
deepin
2018-12-23 01:19
Author
安装完fcitx-rime之后

我去下载小鹤码表准备挂上去。

放在配置文件夹里………………


然后重新部署的时候弹出错误:

然后去/tmp/查看错误日志内容如下 :
  1. Log file created at: 2018/12/22 16:48:07
  2. Running on machine: Re
  3. Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
  4. E1222 16:48:07.232767  6564 deployment_tasks.cc:309] Error updating schema: nonexistent file '/home/re/.config/fcitx/rime/stroke.schema.yaml'.
  5. E1222 16:50:09.232890  6845 deployment_tasks.cc:309] Error updating schema: nonexistent file '/home/re/.config/fcitx/rime/stroke.schema.yaml'.
  6. E1222 16:51:51.391234  7091 deployment_tasks.cc:318] invalid schema definition in '/home/re/.config/fcitx/rime/stroke.schema.yaml'.
  7. E1222 16:52:51.407280  7368 deployment_tasks.cc:318] invalid schema definition in '/home/re/.config/fcitx/rime/stroke.schema.yaml'.
  8. E1222 16:53:20.340353  7478 deployment_tasks.cc:318] invalid schema definition in '/home/re/.config/fcitx/rime/stroke.schema.yaml'.
Copy the Code
Deepin版本:15.8
我在论坛找到相关的帖子,但问题没有解决,所以我再来问一遍。

Reply Favorite View the author
All Replies
avatar
dzuiuabi
deepin
2018-12-23 01:20
#1
https://bbs.deepin.org/user/101846 不知道at的对不对
Reply View the author
avatar
9***8@qq.com
deepin
2018-12-23 04:00
#2
全部「.yaml 配置文件」打包上传到「访客目录」
我修改好后给你。
http://98wb.ys168.com/
Reply View the author
avatar
dzuiuabi
deepin
2018-12-23 04:27
#3
https://bbs.deepin.org/post/172749
全部「.yaml 配置文件」打包上传到「访客目录」
我修改好后给你。
http://98wb.ys168.com/ ...

好的,非常感謝你的熱心幫助。我已經在上傳了,請前往查看。(就是速度有點慢......
Reply View the author
avatar
dzuiuabi
deepin
2018-12-23 04:40
#4
https://bbs.deepin.org/post/172749
全部「.yaml 配置文件」打包上传到「访客目录」
我修改好后给你。
http://98wb.ys168.com/ ...

已经上传成功了。
Reply View the author
avatar
9***8@qq.com
deepin
2018-12-23 04:49
#5
文件结构不对,完整的(独立的)yaml方案码表必须包括 3 个部分:

default.yaml //方案选单
*.schema.yaml //方案定义
*.dict.yaml //方案词典

你把你寻得的「小鹤码表」原件发给我,我来审一下配置文件,然后写个脚本,让你一步执行完成。
Reply View the author
avatar
dzuiuabi
deepin
2018-12-23 04:54
#6
https://bbs.deepin.org/post/172749
文件结构不对,完整的(独立的)yaml方案码表必须包括 3 个部分:

default.yaml //方案选单

这个文件是在Github上搜索而来,链接:https://github.com/brglng/rime-xhup

附件就是下载的码表了。
Reply View the author
Comments
lineme
2018-12-23 05:29
给 rime.sh 执行权限,然后用终端执行它:sudo sh rime.sh
lineme
2018-12-23 05:27
回传到了「访客目录」-「hereyouare.7z」
avatar
dzuiuabi
deepin
2018-12-23 05:38
#7
https://bbs.deepin.org/post/172749
文件结构不对,完整的(独立的)yaml方案码表必须包括 3 个部分:

default.yaml //方案选单
  1. cp: 目标'/root/.config/fcitx/rime/' 不是目录
  2. 中州韻配置文件安置成功,注銷系統後將重新部署。
Copy the Code


报了个错
Reply View the author
avatar
9***8@qq.com
deepin
2018-12-23 05:41
#8

啊,你用了ROOT用户?
那 ~/.config/fcitx/rime,是用户目录,你看一下命令,我觉得你会理解相应的意图。
删掉程序目录下的所有,删掉用户目录下的所有,放入你自己的东西。
Reply View the author
avatar
dzuiuabi
deepin
2018-12-23 05:49
#9
https://bbs.deepin.org/post/172749
啊,你用了ROOT用户?
那 ~/.config/fcitx/rime,是用户目录,你看一下命令,我觉得你会理解相应的意图。 ...

重启后的错误提示

  1. E1222 21:44:25.365362  7657 deployment_tasks.cc:309] Error updating schema: nonexistent file '/home/re/.config/fcitx/rime/cangjie5.schema.yaml'.
  2. E1222 21:44:25.370374  7657 deployment_tasks.cc:309] Error updating schema: nonexistent file '/home/re/.config/fcitx/rime/luna_pinyin_fluency.schema.yaml'.
  3. E1222 21:44:25.388447  7657 deployment_tasks.cc:309] Error updating schema: nonexistent file '/home/re/.config/fcitx/rime/luna_pinyin_simp.schema.yaml'.
  4. E1222 21:44:25.393609  7657 deployment_tasks.cc:309] Error updating schema: nonexistent file '/home/re/.config/fcitx/rime/luna_pinyin_tw.schema.yaml'.
Copy the Code


我去再去看看
Reply View the author
Comments
lineme
2018-12-23 05:52
你等一下,我给你个附件
avatar
9***8@qq.com
deepin
2018-12-23 05:58
#10
新传了「补齐文件.zip」,主要是补上缺失的必备文件。
然后,需要删除掉

/usr/share/rime-data/*
~/.config/fcitx/rime/*


把你的文件,放到「星号」位。
Reply View the author
avatar
dzuiuabi
deepin
2018-12-23 06:11
#11
https://bbs.deepin.org/post/172749
新传了「补齐文件.zip」,主要是补上缺失的必备文件。
然后,需要删除掉

首先,非常感谢你的热心帮助。

Fcitx挂载小鹤双拼的问题已经解决了,但我在使用中还发现有一些问题:
那就是按o+s(或任何键)没有出现……(快捷输入),不知道是我下载的码表的问题还是这个配置文件没有被读取或者识别得到?
Reply View the author
avatar
9***8@qq.com
deepin
2018-12-23 06:34
#12
我不清楚你的配置细节,也没有改动它,但是我看到你用的是bin二进制文件,这是非常恶心的东西,如果一个方案作者他不给分享纯文本的码表文件,那就果断弃用之,我不知这样说你是不否理解,一个不可以查看文本细节的输入法方案,毫无主观能动性,二进制码表,是无从改起的。
Reply View the author
avatar
dzuiuabi
deepin
2018-12-23 06:43
#13
https://bbs.deepin.org/post/172749
我不清楚你的配置细节,也没有改动它,但是我看到你用的是bin二进制文件,这是非常恶心的东西,如果一个方 ...

恩,照你这么说的话能理解你的意思。

我也是看到之前用的表几年了都没更新的说,pc和安卓用的一直都是最新的码表,怕用的不习惯就找了一个最新的表。之前用的是这个:https://github.com/liming2013/rime-flypy-xhup,现在看来换回去看看成不成,也好久没用Linux了,大概半年吧。
Reply View the author
Comments
lineme
2018-12-23 06:54
我刚刚看了小鹤官网,作者给的「码表」全是二进制的,他人如何了解细节,又如何进一步增补改进?我不喜欢种人,也不可能用这种东西。
avatar
dzuiuabi
deepin
2018-12-23 06:57
#14
解决方案「总结」:把
  1. /usr/share/rime-data/*
  2. ~/.config/fcitx/rime/*
  3. 这两个路径的文件全部删掉(建议先备份)
Copy the Code


然后到这「https://github.com/liming2013/rime-flypy-xhup」下载这个码表放入上面两个路径的/*里面。

重新部署,即可完成(不敢说所有人这样都能解决,但我是这样解决的,如果发现新的问题可以在这个帖子更进,我会尽自己最大的努力帮助所有人)


我用之前的码表也可以:https://github.com/liming2013/rime-flypy-xhup

重新部署的时候会报错,但不影响使用,所以Fcitx挂载小鹤双拼音形的问题就到这解决了。

最后感谢https://bbs.deepin.org/user/80406 大佬热心的帮助,希望Deepin论坛也能多一些这样热心的网友。
Reply View the author
Comments
lineme
2018-12-23 07:03
使用「补齐文件.zip」,把deflaut.yaml补上,就不会报错了。