| Summary: | Python module compilation errors with app-i18n/ibus-table-1.2.0.20100111 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Chandler Paul <thatslyude> |
| Component: | Current packages | Assignee: | CJK Team <cjk> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
The errors are quite clear - python3 not supported. ebuild needs to be ported to python-r1, so that the correct wrappers are generated. |
When installing app-i18n/ibus-table-1.2.0.20100111, the following messages appear: * Syntax errors / warnings in Python modules placed outside of site-packages directories for CPython 3.3: * *** Error compiling '/usr/share/ibus-table/engine/factory.py'... * File "/usr/share/ibus-table/engine/factory.py", line 102 * print "fail to create engine %s" % engine_name * ^ * SyntaxError: invalid syntax * * *** Error compiling '/usr/share/ibus-table/engine/main.py'... * File "/usr/share/ibus-table/engine/main.py", line 74 * print '--- ', strftime('%Y-%m-%d: %H:%M:%S'), ' ---' * ^ * SyntaxError: invalid syntax * * *** Error compiling '/usr/share/ibus-table/engine/tabcreatedb.py'... * File "/usr/share/ibus-table/engine/tabcreatedb.py", line 69 * print 'Please give me the database you want to create index on' * ^ * SyntaxError: invalid syntax * * *** Error compiling '/usr/share/ibus-table/engine/tabdict.py'... * File "/usr/share/ibus-table/engine/tabdict.py", line 63 * except KeyError, e: * ^ * SyntaxError: invalid syntax * * *** Error compiling '/usr/share/ibus-table/engine/table.py'... * File "/usr/share/ibus-table/engine/table.py", line 860 * print 'We coult not find "pinyin_mode" entry in database, is it a outdated database?' * ^ * SyntaxError: invalid syntax * * *** Error compiling '/usr/share/ibus-table/engine/tabsqlitedb.py'... * File "/usr/share/ibus-table/engine/tabsqlitedb.py", line 70 * print 'encountering error when init db' * ^ * SyntaxError: invalid syntax Additionally, ibus-table-createdb doesn't work and prints the same kind of SyntaxError messages