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

Enomerous compile error with rime_deployer --compile #168

Open
hosiet opened this issue Feb 20, 2023 · 3 comments
Open

Enomerous compile error with rime_deployer --compile #168

hosiet opened this issue Feb 20, 2023 · 3 comments

Comments

@hosiet
Copy link

hosiet commented Feb 20, 2023

Steps to reproduce

  1. Initialize plum using curl -fsSL https://github.com/raw/rime/plum/master/rime-install | bash
  2. Execute ./plum/rime-install cantonese
  3. Execute cd ~/.config/ibus/rime/
  4. Attempt to execute rime_deployer --compile ./jyut6ping3.schema.yaml , the following error message with tons of "Encode Failure" will appear:
[...]
W20230220 16:00:16.630759 45948 entry_collector.cc:147] Encode failure: '辂'.
W20230220 16:00:16.630774 45948 entry_collector.cc:147] Encode failure: '较'.
W20230220 16:00:16.630784 45948 entry_collector.cc:147] Encode failure: '辄'.
[...]

The full log exceeds the maximum line limit for GitHub issue. Please find the full output log at
error.txt

More information

This error does not appear with previous version of rime-cantonese and/or librime (1.7.x). I assume it shall either be a regression of rime-cantonese or librime.

Besides, I would like to know whether such "Encode failure" will affect the functionality of rime in any way.

@graphemecluster
Copy link
Collaborator

Did the error occur with the previous commit c1948ba?

@hosiet
Copy link
Author

hosiet commented Feb 20, 2023

The same error will occur with commit c1948ba .

@tanxpyox
Copy link
Collaborator

These messages mean that the compiler couldn't find the corresponding code entry in the rime tables. I suspect this is because these simplified characters have not been cleaned from the corpus.

Besides, I would like to know whether such "Encode failure" will affect the functionality of rime in any way.

These are warnings, not errors - they wouldn't affect your actual usage.

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

3 participants