Comment #10 on issue 1156 by niejieqiang: 转换码表的时候出现
UnicodeEncodeError:
http://code.google.com/p/ibus/issues/detail?id=1156
删除时出现了这样的错误。 zi 列不是唯一的~zi列指哪一列?~~~~LOL,,看不
懂是什么意思。不过,己经用上了,非常感谢哦。我要好好学下sed和grep 哒。。。呵
呵。
[r...@localhost tables]# sed -i "s/0[a-z]\{1,4\}$/0/" zhengma_danzi.txt
[r...@localhost tables]# ibus-table-createdb -n zhengma_danzi.db -s
zhengma_danzi.txt
Traceback (most recent call last):
File "/usr/share/ibus-table/engine/tabsqlitedb.py", line 541, in
add_goucima
self.db.execute (sqlstr , record)
IntegrityError: column zi is not unique
--
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