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#22823 - [eric] v4 breaks ibus-anthy
Attached to Project:
Arch Linux
Opened by orbisvicis (orbisvicis) - Wednesday, 09 February 2011, 03:24 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 09 February 2011, 17:14 GMT
Opened by orbisvicis (orbisvicis) - Wednesday, 09 February 2011, 03:24 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 09 February 2011, 17:14 GMT
|
DetailsDescription:
The file "/usr/lib/python2.7/site-packages/eric4.pth" owned by eric 4.4.12-1 produces the following error when attempting to run the ANTHY engine through ibus: 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' This problem was identified @ https://bugs.archlinux.org/task/22109 but never fixed. If eric and eric plugins are removed, ibus-anthy works. If reinstalled, once again broken. I found this link explaining why setdefaultencoding is no longer available: http://groups.google.com/group/comp.lang.python/browse_thread/thread/854b1ca3766f476b?pli=1 ... and the ibus bug report: http://code.google.com/p/ibus/issues/detail?id=1166 Additional info: * package version(s) extra/eric 4.4.12-1 extra/eric-plugins 4.4.4a-4 community/ibus 1.3.9-2 community/ibus-anthy |
This task depends upon
Closed by Eric Belanger (Snowman)
Wednesday, 09 February 2011, 17:14 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks to Lazarus, it should be fixed in eric-4.4.12-2 (I don't use ibus).
Wednesday, 09 February 2011, 17:14 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks to Lazarus, it should be fixed in eric-4.4.12-2 (I don't use ibus).
Brad: if you want to maintain eric and eric-plugins, they can be moved to community.
>> import sys; sys.setappdefaultencoding = sys.setdefaultencoding
The above breaks python at the point below.
>> File "/usr/lib/python2.7/site.py", line 162, in addpackage
>> exec line
As for the fix, do *not* place a semicolon and/or other code on the same line as an import statement. Just use a newline instead:
>> import sys
>> sys.setappdefaultencoding = sys.setdefaultencoding