1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

クラウドで同期したGoogle日本語入力で起動エラーが出てハマった

Last updated at Posted at 2025-09-10

MacBook Air(M1)とMac mini (M2)とでGoogle日本語入力の辞書データを同期させようとしたらエラーが数分おきに出てハマってしまった。

変換エンジンプログラムの起動に失敗しました。新しいGoogle日本語入力を利用するためにコンピュータを再起動してください。

前提

  • MacBook Air M1 2020
  • Mac mini M2 2023

同期までの手順

以下記事を参照して辞書データをGoogleドライブに移し、シンボリックリンクを貼った。
https://qiita.com/mt_west/items/e6966703922b9a1245aa

パスは環境差があったものの操作そのものは2025/09/10時点でそのまま踏襲して実施でき、辞書データが同期されることを確認した。

対応

再起動

とりあえずダイアログ通りに再起動したが、数分後にダイアログが再度出現、OKを押下して閉じるも数分後再び出現。

辞書ツールを開くと同期している単語は確認できたので同期そのものに問題はなさそう。

読み取り権限の付与

これが効いた。

実施前の権限を確認。

ターミナル
JapaneseInput $ ls -la
total 24
drwx------@ 13 shirayama  staff     416  9 10 09:01 .
drwx------@  4 shirayama  staff     128  9 10 02:45 ..
-rw-------@  1 shirayama  staff      48  9 10 02:07 .encrypt_key.db
-rw-------@  1 shirayama  staff  454368  9 10 03:55 .history.db
-rw-------@  1 shirayama  staff      12  9 10 02:40 .registry.db
-r--------@  1 shirayama  staff      54  9 10 08:57 .renderer.ipc
-rw-------@  1 shirayama  staff       0  9 10 02:40 .server.lock
-rw-------@  1 shirayama  staff      54  9 10 02:07 .session.ipc
-rw-------@  1 shirayama  staff   80012  9 10 03:58 boundary.db
-rw-------@  1 shirayama  staff    2060  9 10 03:58 cform.db
-rw-------@  1 shirayama  staff  320012  9 10 03:58 segment.db
-rw-r--r--@  1 shirayama  staff     199  9 10 08:56 user_dictionary.db
-rw-------@  1 shirayama  staff     121  9 10 02:07 user_dictionary.db.bk

user_dictionary.dbのみ644がついていて、辞書データが確認できた状態と推測。
他のファイルにも同じく644をつけて読み取り権限を付与。

ターミナル
JapaneseInput $ sudo chmod 644 *
JapaneseInput $ sudo chmod 644 .*
JapaneseInput $ ls -la             
total 24
drwx------@ 13 shirayama  staff     416  9 10 09:01 .
drwx------@  4 shirayama  staff     128  9 10 02:45 ..
-rw-r--r--@  1 shirayama  staff      48  9 10 02:07 .encrypt_key.db
-rw-r--r--@  1 shirayama  staff  454368  9 10 03:55 .history.db
-rw-r--r--@  1 shirayama  staff      12  9 10 02:40 .registry.db
-rw-r--r--@  1 shirayama  staff      54  9 10 08:57 .renderer.ipc
-rw-r--r--@  1 shirayama  staff       0  9 10 02:40 .server.lock
-rw-r--r--@  1 shirayama  staff      54  9 10 02:07 .session.ipc
-rw-r--r--@  1 shirayama  staff   80012  9 10 03:58 boundary.db
-rw-r--r--@  1 shirayama  staff    2060  9 10 03:58 cform.db
-rw-r--r--@  1 shirayama  staff  320012  9 10 03:58 segment.db
-rw-r--r--@  1 shirayama  staff     199  9 10 08:56 user_dictionary.db
-rw-r--r--@  1 shirayama  staff     121  9 10 02:07 user_dictionary.db.bk

推測と対応が完璧かはわからないがとりあえず冒頭のエラー表示は出なくなり、同期した辞書データで変換できることを確認した。

感想

もしかしたら書き込み権限とかもつけないといけないかもしれないが必要になったら確認すればよさそう。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?