[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-02 Thread Bug Watch Updater
** Changed in: ibus-libpinyin Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1893736 Title: ibus-libpinyin can not export user phrases To manage notifications

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Gunnar Hjalmarsson
I'm glad to hear that! Hmm.. The only thing which might be related, AFAIU, is item 3. OTOH you said you tried that before... Probably this was just one of those subtle glitches whose cause will keep being a mystery. ;) -- You received this bug notification because you are a member of Ubuntu

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread ganxh
@Gunnar Hjalmarsson: Thank you for your help and your patience! Finally, I succeeded! I don't know which steps help to resolve this problem, and just list what I have done: 1. Removed mn_MN and mn_MN.utf8; 2. Run "sudo vim /etc/locale.gen", and uncomment all lines starting with zh_CN, and run

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Gunnar Hjalmarsson
I have a last idea that you may want to try: Create an additional user for test purposes, log in as that user, and find out if the issue is present for that user too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Gunnar Hjalmarsson
The installation/Mongolian thing is completely unrelated. As regards the bogus language item in the list when you open Language Support, you can probably get rid of it by running this command: sudo rmdir /usr/share/locale-langpack/mn And your locale() output looks fine. So nothing of that is

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread ganxh
@Gunnar Hjalmarsson: I have managed to delete the MN locales, but does not work. Looks like I have to reinstall the system? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1893736 Title:

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread ganxh
The following is an amendant to last comment. ➜ locale LANG=en_US.UTF-8 LANGUAGE=en LC_CTYPE="en_US.UTF-8" LC_NUMERIC=zh_CN.UTF-8 LC_TIME=zh_CN.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=zh_CN.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER=zh_CN.UTF-8 LC_NAME=zh_CN.UTF-8 LC_ADDRESS=zh_CN.UTF-8

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread ganxh
I tried all the two ways, but did not succeed. When I recalled my installation of Ubuntu 20.04, I remember that I first chose the wrong locale, which looks like mogonian, which is near China in the map. Then I changed to English as system language, and then install language Chinese. Is this

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Gunnar Hjalmarsson
On 2020-09-01 12:15, ganxh wrote: > I just reproduce on a virtual machine for a brand new installation > of Ubuntu 20.04. Export works nicely. Great! > Then the problem is on my system. Is it possible that some other > software or packages affect my ibus-libpinyin? > > In any case, is there a

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Peng Wu
Or just remove ~/.cache/ibus/libpinyin/user.conf, and re-login. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1893736 Title: ibus-libpinyin can not export user phrases To manage notifications

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread ganxh
@Gunnar Hjalmarsson: Yes, the default directory /usr/share/ibus-libpinyin/setup is not writable. I do change to a directory in my home folder. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1893736

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Gunnar Hjalmarsson
On 2020-09-01 11:44, Peng Wu wrote: > Sorry, I can't reproduce this issue. > > Could you reproduce this issue with Ubuntu 20.04? Well, my problem (as usual) is that I don't speak Chinese. But I still made a try: typed 'beijing' and was then able to export the user data. Result: 北京 bei'jing 5

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Gunnar Hjalmarsson
One observation, btw: When I clicked the "Export" button, the suggested directory to save the data in was /usr/share/ibus-libpinyin/setup. That directory is obviously not writable for a regular user, so I had to change it before saving. -- You received this bug notification because you are a

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread ganxh
@Gunnar Hjalmarsson @Peng Wu, I appreciate your help greatly! I just reproduce on a virtual machine for a brand new installation of Ubuntu 20.04. Export works nicely. Then the problem is on my system. Is it possible that some other software or packages affect my ibus-libpinyin? In any case, is

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Peng Wu
Sorry, I can't reproduce this issue. Could you reproduce this issue with Ubuntu 20.04? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1893736 Title: ibus-libpinyin can not export user phrases To

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Gunnar Hjalmarsson
Ok, thanks. Then, @Peng Wu, I wonder what your thought was with suggesting that the issue was reported here too. In 20.04 we use ibus-libpinyin 11.1.1 and libpinyin 2.3.0, and it's the very same source as Debian. ** Changed in: ibus-libpinyin (Ubuntu) Status: Incomplete => New -- You

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Bug Watch Updater
** Changed in: ibus-libpinyin Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1893736 Title: ibus-libpinyin can not export user phrases To manage notifications about

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread ganxh
Thanks for your quick response! I did as you instruct. After reboot, even if I don't choose ibus, the ibus-libpinyin came back. Then before/after I chose "ibus" as the Keyboard input method, I couldn't import or export user phrases. -- You received this bug notification because you are a member

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Gunnar Hjalmarsson
Thanks for your report! I was about to say that this issue is upstream in nature, but then I saw that the upstream maintainer suggested to report it here... I would propose one thing which would eliminate an Ubuntu specific thing: * Open the Language Support tool * Choose "none" as the

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread Gunnar Hjalmarsson
** Bug watch added: github.com/libpinyin/ibus-libpinyin/issues #277 https://github.com/libpinyin/ibus-libpinyin/issues/277 ** Also affects: ibus-libpinyin via https://github.com/libpinyin/ibus-libpinyin/issues/277 Importance: Unknown Status: Unknown -- You received this bug

[Bug 1893736] Re: ibus-libpinyin can not export user phrases

2020-09-01 Thread ganxh
** Description changed: + System: Ubuntu 20.04; English is the default language; ibus-libpinyin is + installed by adding input sources through settings. + After enabling "Remember every input as a phrase" option, ibus-libpinyin is supposed to be able to import and export user phrases.