chewing-editor icon indicating copy to clipboard operation
chewing-editor copied to clipboard

chewing_userphrase_add() bug

Open zmcx16 opened this issue 10 years ago • 2 comments

When I new add a word "你(ㄋ一ˇ)", an error has occurred: 2016-03-23-163540_1366x768_scrot

it's likely that it didn't add "你(ㄋ一ˇ)" to database, but I closed chewing-editor and re-executed it again, "你(ㄋ一ˇ)" already be added in chewing-editor. 2016-03-23-163555_1366x768_scrot

I confuse about this warning message: "chewing_userphrase_add() return null", I guess it's failed to add this phrase, but the result is work.

zmcx16 avatar Mar 23 '16 09:03 zmcx16

Duplicated to https://github.com/chewing/chewing-editor/issues/91

david50407 avatar Mar 23 '16 10:03 david50407

I try to type "一", and the same warning message: "chewing_userphrase_add() return null",and then I pressed "update", "一" didn't be add to database.

but this case, the word "你(ㄋ一ˇ)" will be added to database, I want to know what difference between them.

zmcx16 avatar Mar 23 '16 13:03 zmcx16