Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google APIとの通信不良 #6

Open
zawatton21 opened this issue Apr 4, 2024 · 0 comments
Open

Google APIとの通信不良 #6

zawatton21 opened this issue Apr 4, 2024 · 0 comments

Comments

@zawatton21
Copy link

Windows 11 の MSYS2 上にインストールした Roswell にて ros install cl-skkserv で導入したのですが、Google APIと連携させようとすると「WARNING:
CL-SKKSERV/GOOGLE:WARN: http://www.google.com/transliterate is not active.」というエラーメッセージが表示されます。
※純 Linux 環境である Ubuntu, Debian 等では問題なくGoogle APIと連携出来ることを確認しました。

現在は 下記リンク先の google-ime-skk-py を設定ファイルへ (defvar dict-google (make-instance 'proxy-dictionary :address "localhost" :port 55000 :encoding :eucjp)) と記述して連携させてしのいでいます。

(https://github.com/tani/cl-skkserv/issues/new)[https://github.com/chaploud/google-ime-skk-py]

プルリクエストが出せたら良かったのですが、通信プロセスについて知識に乏しいので一度ご確認いただけないでしょうか。

Windows 11 への MSYS2、cl-skkserv のインストール方法

  1. 本家 MSYS2 よりインストーラーをダウンロードしてインストール >> (MSYS2 - Software Distribution and Building Platform for Windows)[https://www.msys2.org/]
  2. MSYS2 インストール完了後 pacman -Syu を実行してアップデート
  3. MSYS2 にて pacman -S mingw-w64-x86_64-roswell を実行して Roswell をインストール。Roswell のインストール完了後は cl-skkserv の公式な流れで導入できます

下記のようなコマンドで実行出来ます。

ros C:\Users\ユーザー名\.roswell\lisp\quicklisp\dists\quicklisp\software\cl-skkserv-20231021-git\roswell\skkserv.ros start --address 127.0.0.1 --port 1178 --no-daemon

また、ros build C:\Users\ユーザー名.roswell\lisp\quicklisp\dists\quicklisp\software\cl-skkserv-20231021-git\roswell\skkserv.ros でビルドを実行後は 生成された skkserv.exe ファイルを環境パスの通った場所に配置することで skkserv start --address 127.0.0.1 --port 1178 --no-daemon で実行出来ます。

※ご存知の通り、Windows では --no-daemon オプションを付与せずに起動すると 「The function DAEMON:DAEMONIZE is undefined.」エラーが発生します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant