Status: New
Owner: acevery
Labels: Type-Defect Priority-Medium
New issue 394 by lidaobing: OperationalError: no such column: id
http://code.google.com/p/ibus/issues/detail?id=394
What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...):
iBus version: 1.1.0.20090508
Python version: 2.6.2
dbus version: 1.2.12
dbus-python version: 0.83.0
gtk version (if bug is about gtk applications):
qt version (if bug is about qt applications):
What steps will reproduce the problem?
1. add ibus-table-wubi input method, then killall ibus
2. run "ibus-daemon -vx" on console 1
3. open a new console (console2), trigger ibus, then switch to wubi input
method
4. press 'z'
5. switch back console 1, you can find the following error:
(ibus-daemon:9580): IBUS-WARNING **:
org.freedesktop.DBus.Python.sqlite3.OperationalError: Traceback (most
recent call last):
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in
_message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/pymodules/python2.6/ibus/engine.py", line 153, in
ProcessKeyEvent
return self.__engine.process_key_event(keyval, state)
File "/usr/share/ibus-table/engine/table.py", line 1162, in
process_key_event
result = self._process_key_event (key)
File "/usr/share/ibus-table/engine/table.py", line 1192, in
_process_key_event
return self._table_mode_process_key_event (key)
File "/usr/share/ibus-table/engine/table.py", line 1395, in
_table_mode_process_key_event
res = self._editor.add_input ( unichr(key.code) )
File "/usr/share/ibus-table/engine/table.py", line 185, in add_input
res = self.update_candidates ()
File "/usr/share/ibus-table/engine/table.py", line 507, in
update_candidates
self._tabkey_list, self._onechar )
File "/usr/share/ibus-table/engine/tabsqlitedb.py", line 663, in
select_words
result = self.db.execute(sqlstr, _tabkeys).fetchall()
OperationalError: no such column: id
What is the expected output? What do you see instead?
Please provide any additional information below.
也许这是由于 ibus-table-wubi 编译所用的 ibus-table 版本与运行时的
ibus-table-wubi 所用的版本不一致造成的, 但如果 ibus-table 在 1.1.* 期间数据
库结构有变化,那么请在 NEWS 文件中留下适当的记录, 最好能伴随对应的版本号的
变化。
多谢
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
-~----------~----~----~----~------~----~------~--~---