Bug 2223181 - unable to parse default ibus config
Summary: unable to parse default ibus config
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mozc
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/google/mozc/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-16 09:32 UTC by tdyq-liu
Modified: 2023-07-27 01:21 UTC (History)
4 users (show)

Fixed In Version: mozc-2.28.4950.102-7.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-27 01:21:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-896 0 None None None 2023-07-18 11:46:00 UTC

Description tdyq-liu 2023-07-16 09:32:03 UTC
unable to parse default ibus config
https://github.com/google/mozc/issues/685


Reproducible: Always

Steps to Reproduce:
1. set active_on_launch: True
2. `ibus write-cache; ibus restart`
Actual Results:  
[libprotobuf ERROR google/protobuf/text_format.cc:335] Error parsing text-format mozc.ibus.Config: 19:22: Expected integer or identifier, got: "HIRAGANA"
[libprotobuf ERROR google/protobuf/text_format.cc:335] Error parsing text-format mozc.ibus.Config: 19:22: Expected integer or identifier, got: "HIRAGANA"

Expected Results:  
fix it

my ibus_config.textproto

# `ibus write-cache; ibus restart` might be necessary to apply changes.
engines {
  name : "mozc-jp"
  longname : "Mozc"
  layout : "default"
  layout_variant : ""
  layout_option : ""
  rank : 80
  symbol : "あ"
}
engines {
  name : "mozc-on"
  longname : "Mozc:あ"
  layout : "default"
  layout_variant : ""
  layout_option : ""
  rank : 99
  symbol : "あ"
  composition_mode : "HIRAGANA"
}
engines {
  name : "mozc-off"
  longname : "Mozc:A_"
  layout : "default"
  layout_variant : ""
  layout_option : ""
  rank : 99
  symbol : "A"
  composition_mode : "DIRECT"
}
active_on_launch: True

Comment 1 Fedora Update System 2023-07-18 13:58:05 UTC
FEDORA-2023-f0aec82b39 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f0aec82b39

Comment 2 tdyq-liu 2023-07-18 14:30:09 UTC
The latest version worked better after I deleted the config file and logged out.

Comment 3 Fedora Update System 2023-07-19 03:07:20 UTC
FEDORA-2023-f0aec82b39 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-f0aec82b39`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-f0aec82b39

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Akira TAGOH 2023-07-19 07:01:23 UTC
Please add a karma on the above updates instead of closing a bug. This is supposed to be closed automatically when the updates is pushed to stable.

Comment 5 Fedora Update System 2023-07-27 01:21:51 UTC
FEDORA-2023-f0aec82b39 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.