Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ibus-libpinyin can not export user phrases #277

Closed
sierxue opened this issue Aug 29, 2020 · 7 comments
Closed

ibus-libpinyin can not export user phrases #277

sierxue opened this issue Aug 29, 2020 · 7 comments

Comments

@sierxue
Copy link

sierxue commented Aug 29, 2020

System: Ubuntu 20.04; English is the default language; ibus-libpinyin is installed by adding input sources through settings.

Problem: After enabling "Remember every input as a phrase" option, ibus-libpinyin can not export user phrases.
Screenshot from 2020-08-29 11-20-53

@epico
Copy link
Member

epico commented Aug 31, 2020

ibus-libpinyin only export the phrase after enabled "Remember every input as a phrase" .

@sierxue
Copy link
Author

sierxue commented Aug 31, 2020

ibus-libpinyin only export the phrase after enabled "Remember every input as a phrase" .

"Remember every input as a phrase" was enabled, but export didn't work.

@epico
Copy link
Member

epico commented Sep 1, 2020

Please try to input some phrases, then check whether the export button works.

@sierxue
Copy link
Author

sierxue commented Sep 1, 2020

Please try to input some phrases, then check whether the export button works.

The export button works, but it exports to a blank document (the exported file type is txt). I also tried to import a pinyin data file I used on Ubuntu 18.04 first, and then export, but I still got a blank document.

I have checked that dependencies on https://github.com/libpinyin/ibus-libpinyin/wiki/Installation#ibus-libpinyin-dependencies
are all satisfied except that libpinyin13 is on my system instead on libpinyin.

@epico
Copy link
Member

epico commented Sep 1, 2020

Please also report this issue to Ubuntu Launchpad, thanks!

@sierxue
Copy link
Author

sierxue commented Sep 1, 2020

Please also report this issue to Ubuntu Launchpad, thanks!

This has been reported. This url is https://bugs.launchpad.net/ubuntu/+source/ibus-libpinyin/+bug/1893736

@sierxue
Copy link
Author

sierxue commented Sep 1, 2020

@eqico 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 "sudo locale-gen";
  3. As you instructed, I chose "none" as the Keyboard input method system, and then run "rm ~/.cache/ibus/libpinyin/*", and then reboot.
  4. Then I imported a data file used in Ubuntu 18.04 and tested a phrase, which works;
  5. Then I try to export, and find it works.

@sierxue sierxue closed this as completed Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants