Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22109 - [ibus-anthy] Completely broken. 'module' object has no attribute 'setdefaultencoding'
Attached to Project:
Community Packages
Opened by Lazarus (Lazarus) - Wednesday, 15 December 2010, 10:45 GMT
Last edited by Thomas Dziedzic (tomd123) - Sunday, 19 December 2010, 20:40 GMT
Opened by Lazarus (Lazarus) - Wednesday, 15 December 2010, 10:45 GMT
Last edited by Thomas Dziedzic (tomd123) - Sunday, 19 December 2010, 20:40 GMT
|
DetailsMy Japanese input with ibus/anthy has been completely broken for about two months now. When I trigger the IME switch with the hankaku/zenkaku keyboard key and type a few keys, no input window or characters/letters appear. Instead the system freezes for a few seconds after which the typed letters are displayed unaltered in their plain qwerty form.
Running the ibus daemon in verbose mode, gives this hint: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/site.py", line 73, in <module> __boot() File "/usr/lib/python2.7/site-packages/site.py", line 48, in __boot addsitedir(item) File "/usr/lib/python2.7/site.py", line 192, in addsitedir addpackage(sitedir, name, known_paths) File "/usr/lib/python2.7/site.py", line 162, in addpackage exec line File "<string>", line 1, in <module> AttributeError: 'module' object has no attribute 'setdefaultencoding' But giving the seemingly nasty coding schemes in there I can't bring myself to go on a goose chase myself yet. ("exec line", "setdefaultencoding" ...seriously?) BTW, any decent alternatives for anthy out there? |
This task depends upon
Closed by Thomas Dziedzic (tomd123)
Sunday, 19 December 2010, 20:40 GMT
Reason for closing: Not a bug
Additional comments about closing: check last comment
Sunday, 19 December 2010, 20:40 GMT
Reason for closing: Not a bug
Additional comments about closing: check last comment
Just as a side note. I do not use ibus since I have no need for it, I simply maintain it because there wasn't anyone else maintaining it, so I rely on the community to report issues like this.
File "/usr/share/ibus-anthy/engine/main.py", line 84
except getopt.GetoptError, err:
^
SyntaxError: invalid syntax
Might not be too hard to fix. I can test again tomorrow.
Also, the error in my opening post turns out to be unrelated (/usr/lib/python2.7/site-packages/eric4.pth of the 'eric' package has an illegal semicolon on the import line which needs to be replaced with a newline).
Here's how I get the real error(s):
Just in case, reinstall the ibus, anthy and ibus-anthy packages and 'rm -r .cache/ibus; rm -r .config/ibus; rm -r .gconf/desktop/ibus; rm -r .anthy' (which are all the related files I could find).
Then, run 'ibus-daemon -v' and in another terminal run 'ibus-setup'. The instant you add 'Anthy' in the 'Input Method' tab, the ibus-daemon barfs up this:
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 56178: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/common->behivior_on_focus_out]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 56584: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/common->behivior_on_period]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 56967: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/thumb_typing_rule/kb231_f_fmv_table->0]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 57431: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/thumb_typing_rule/kb231_f_fmv_table->3]
GConf Error: Bad key or directory name: "/desktop/ibus/engine/anthy/thumb_typing_rule/kb231_f_fmv_table/=": `=' is an invalid character in key/directory names
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 57814: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/thumb_typing_rule/kb231_f_fmv_table->=]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 58197: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/thumb_typing_rule/kb231_f_fmv_table->-]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 58583: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->pyu]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 58955: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->gu]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 59333: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->ge]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 59713: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->ga]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 60084: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->go]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 60454: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->gi]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 61116: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->xtu]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 61785: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->lke]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 62210: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->lka]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 62640: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->to]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 63197: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->ti]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 63648: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->te]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 64101: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->ta]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 64529: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->do]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 64954: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->xtsu]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 65380: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->di]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 65806: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->dyu]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 66232: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->de]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 66657: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->da]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 67083: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->dyo]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 67836: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->dyi]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 68301: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->dye]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 68749: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->du]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 69176: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->dya]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 69610: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->hya]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 70267: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->ro]
(ibus-daemon:12403): IBUS-DEBUG: 15:10:02. 70760: From ::1.1 to :1.6, Error: org.freedesktop.DBus.Error.Failed : Can not get value [engine/anthy/romaji_typing_rule/default->hye]
[etc... etc...]
...which is enough for me today.
But seeing as how many open bugs ibus has (like every other oss Japanese IME out there), I'm not too hopeful this is going to be fixed anytime soon, unless I do it myself.
So I guess this bug can be closed (unless you hear of more people with the same problem).