| Summary: | app-i18n/ibus-pinyin-1.5.0 - pinyin setup will silently fail from ibus-setup | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Yi Yang <ahyangyi> |
| Component: | Current packages | Assignee: | Yixun Lan <dlan> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | cjk |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
em.. could you report this to upstream? or is this already fixed in upstream's code repository? It seems this bug no longer happens to me when doing fresh Gentoo installs. Since I am no longer able to reproduce this problem, I'm closing this issue. |
The user is unable to setup ibus-pinyin-1.5.0 from a fresh install Reproducible: Always Steps to Reproduce: 1. A fresh install of ibus-pinyin and ibus 2. ibus-setup, choose pinyin, select setup Actual Results: No window opens. If you started ibus-setup from a terminal, you will see a Python exception about None value is not iterable. Expected Results: A configuration window opens The fix is to change the Line 54 of /usr/share/ibus-pinyin/setup/main.py from self.__values = dict(self.__config.get_values(self.__config_namespace)) to if self.__config.get_values(self.__config_namespace) == None: self.__values = dict() else: self.__values = dict(self.__config.get_values(self.__config_namespace)) . Note that this bug probably won't appear if you upgrade from ibus-pinyin-1.4.0, since the configuration is already there and you won't get a None in the first place.