Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521846 - Python module compilation errors with app-i18n/ibus-table-1.2.0.20100111
Summary: Python module compilation errors with app-i18n/ibus-table-1.2.0.20100111
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-31 20:07 UTC by Chandler Paul
Modified: 2017-08-12 16:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chandler Paul 2014-08-31 20:07:05 UTC
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
Comment 1 Rafał Mużyło 2014-09-01 18:17:25 UTC
The errors are quite clear - python3 not supported.

ebuild needs to be ported to python-r1, so that the correct wrappers are generated.