{"action":"created","issue":{"url":"https://api.github.com/repos/rime/squirrel/issues/269","repository_url":"https://api.github.com/repos/rime/squirrel","labels_url":"https://api.github.com/repos/rime/squirrel/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/rime/squirrel/issues/269/comments","events_url":"https://api.github.com/repos/rime/squirrel/issues/269/events","html_url":"https://github.com/rime/squirrel/issues/269","id":395489619,"node_id":"MDU6SXNzdWUzOTU0ODk2MTk=","number":269,"title":"通过 homebrew 升级到 0.10.0 之后，重新部署时报错","user":{"login":"chrisyue","id":129517,"node_id":"MDQ6VXNlcjEyOTUxNw==","avatar_url":"https://avatars2.githubusercontent.com/u/129517?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisyue","html_url":"https://github.com/chrisyue","followers_url":"https://api.github.com/users/chrisyue/followers","following_url":"https://api.github.com/users/chrisyue/following{/other_user}","gists_url":"https://api.github.com/users/chrisyue/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisyue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisyue/subscriptions","organizations_url":"https://api.github.com/users/chrisyue/orgs","repos_url":"https://api.github.com/users/chrisyue/repos","events_url":"https://api.github.com/users/chrisyue/events{/privacy}","received_events_url":"https://api.github.com/users/chrisyue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-01-03T08:25:53Z","updated_at":"2019-01-03T12:13:13Z","closed_at":null,"author_association":"NONE","body":"报错日志的主要信息就是说有以下几个文件不存在\r\n\r\n```\r\n/Users/xxx/Library/Rime/stroke.reverse.bin\r\n/Users/xxx/Library/Rime/luna_pinyin_simp.prism.bin\r\n/Users/xxx/Library/Rime/luna_pinyin_tw.prism.bin\r\n/Users/xxx/Library/Rime/stroke.table.bin\r\n/Users/xxx/Library/Rime/stroke.prism.bin\r\n/Users/xxx/Library/Rime/luna_pinyin.table.bin\r\n/Users/xxx/Library/Rime/luna_pinyin.prism.bin\r\n/Users/xxx/Library/Rime/luna_pinyin.reverse.bin\r\n/Users/xxx/Library/Rime/luna_pinyin_fluency.prism.bin\r\n/Users/xxx/Library/Rime/stroke.dict.yaml\r\n```\r\n\r\n`/Users/xxx/Library` 就是『用户设定』打开的那个目录。\r\n\r\n不过居然还是能用的（配置的自然码双拼），而且我是重启了操作系统后尝试的，应该加载的是新版本了。\r\n\r\n请问作者我先在应该怎么解决这个问题？\r\n\r\n我也看了一些其他人问的类似问题，比如要使用东风破来安装自己的编码方法，但既然我现在还能用，应该是另外一个问题？"},"comment":{"url":"https://api.github.com/repos/rime/squirrel/issues/comments/451126764","html_url":"https://github.com/rime/squirrel/issues/269#issuecomment-451126764","issue_url":"https://api.github.com/repos/rime/squirrel/issues/269","id":451126764,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTEyNjc2NA==","user":{"login":"lotem","id":151157,"node_id":"MDQ6VXNlcjE1MTE1Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/151157?v=4","gravatar_id":"","url":"https://api.github.com/users/lotem","html_url":"https://github.com/lotem","followers_url":"https://api.github.com/users/lotem/followers","following_url":"https://api.github.com/users/lotem/following{/other_user}","gists_url":"https://api.github.com/users/lotem/gists{/gist_id}","starred_url":"https://api.github.com/users/lotem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lotem/subscriptions","organizations_url":"https://api.github.com/users/lotem/orgs","repos_url":"https://api.github.com/users/lotem/repos","events_url":"https://api.github.com/users/lotem/events{/privacy}","received_events_url":"https://api.github.com/users/lotem/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T12:13:13Z","updated_at":"2019-01-03T12:13:13Z","author_association":"MEMBER","body":"這裏面有兩個問題。\r\n\r\n其中一個我已記錄在 https://github.com/rime/librime/issues/241。這是個 BUG。\r\n\r\n那些名爲 `*.bin` 的符號鏈接是舊版本創建的，因爲同名的 `.bin` 文件已經安裝到共享文件夾，部署時就直接鏈接到用戶文件夾以節省時間。\r\n這個操作在新版本里不需要了，程序會依次到兩個文件夾找文件，因此升級後會刪除這些鏈接。——不幸的是刪除操作發生異常，因爲這些方案都不再預裝，鏈接失效了，程序多餘地讀了一次鏈接，檢查他是否指向用戶目錄下的文件。\r\n\r\n修復程序之前，可以手動刪除這些符號鏈接：\r\n```sh\r\nrm ~/Library/Rime/*.bin\r\n```"}}
{"actor":{"display_login":"lotem"}}