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

No preview window and phonetic does not work #150

Closed
moshiur-raj opened this issue Jun 16, 2020 · 10 comments
Closed

No preview window and phonetic does not work #150

moshiur-raj opened this issue Jun 16, 2020 · 10 comments
Assignees
Labels

Comments

@moshiur-raj
Copy link

Hello i'm using openbangla keyboard on arch linux, the aur repo does not work, shows build error. And anything after #130 builds properly but phonetic does not work and no preview window is shown.

@mominul
Copy link
Member

mominul commented Jun 17, 2020

Hi!
It'd be best to use the versions we have released. Currently on going developments do happen on the master branch which is the norm, so any kind of bug is supposed to be there. As we haven't performed enough tests to release it. So I'd recommend you to install the latest version we released so far.
It's unfortunate that I cannot test and fix the bug as my PC is currently broken.

@moshiur-raj
Copy link
Author

No worries. I'm currently using #134 . It's working fine so far. Thanks for the amazing software.

@bdeshi
Copy link
Member

bdeshi commented Jun 17, 2020

Hello i'm using openbangla keyboard on arch linux, the aur repo does not work, shows build error. ...

@moshiur05 which aur package are you using? I'm interested in those build errors if you were trying this one: https://aur.archlinux.org/packages/openbangla-keyboard/

@moshiur-raj
Copy link
Author

moshiur-raj commented Jun 18, 2020

Yes, I used the aur package. I'm currently using pacaur to manage aur. Here are the build errors :

-- Build files have been written to: /home/moshiur/.cache/pacaur/openbangla-keyboard/src/OpenBangla-Keyboard-1.5.1/build
Scanning dependencies of target libShared
[  2%] Building CXX object src/shared/CMakeFiles/libShared.dir/Settings.cpp.o
[  5%] Linking CXX static library liblibShared.a
[  5%] Built target libShared
Scanning dependencies of target libEngine
[  8%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/Layout.cpp.o
[ 11%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/MethodPhonetic.cpp.o
[ 13%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/MethodFixedLayoutModern.cpp.o
[ 16%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/phoneticparser.cpp.o
[ 19%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/FixedLayoutParser.cpp.o
[ 22%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/regexparser.cpp.o
[ 25%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/AutoCorrect.cpp.o
[ 27%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/Database.cpp.o
[ 30%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/cachemanager.cpp.o
[ 33%] Building CXX object src/engine/libengine/CMakeFiles/libEngine.dir/PhoneticSuggestion.cpp.o
[ 36%] Linking CXX static library liblibEngine.a
[ 36%] Built target libEngine
Scanning dependencies of target OpenBangla-Engine
[ 38%] Building CXX object src/engine/ibus/CMakeFiles/OpenBangla-Engine.dir/ibus_engine.cpp.o
In file included from /home/moshiur/.cache/pacaur/openbangla-keyboard/src/OpenBangla-Keyboard-1.5.1/src/engine/ibus/ibus_engine.cpp:22:
/home/moshiur/.cache/pacaur/openbangla-keyboard/src/OpenBangla-Keyboard-1.5.1/src/engine/ibus/ibus_keycode.h: In function ‘int ibus_keycode(guint)’:
/home/moshiur/.cache/pacaur/openbangla-keyboard/src/OpenBangla-Keyboard-1.5.1/src/engine/ibus/ibus_keycode.h:193:15: error: ‘out_of_range’ in namespace ‘std’ does not name a type
  193 |   catch (std::out_of_range) {
      |               ^~~~~~~~~~~~
make[2]: *** [src/engine/ibus/CMakeFiles/OpenBangla-Engine.dir/build.make:83: src/engine/ibus/CMakeFiles/OpenBangla-Engine.dir/ibus_engine.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:246: src/engine/ibus/CMakeFiles/OpenBangla-Engine.dir/all] Error 2
make: *** [Makefile:172: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
:: failed to build openbangla-keyboard package(s)

@bdeshi
Copy link
Member

bdeshi commented Jun 20, 2020

/home/moshiur/.cache/pacaur/openbangla-keyboard/src/OpenBangla-Keyboard-1.5.1/src/engine/ibus/ibus_keycode.h:193:15: error: ‘out_of_range’ in namespace ‘std’ does not name a type
  193 |   catch (std::out_of_range) {
      |               ^~~~~~~~~~~~

@mominul any suggestions?

mominul added a commit that referenced this issue Aug 22, 2020
@mominul
Copy link
Member

mominul commented Aug 22, 2020

Hi, sorry for being so late!
I have committed an intended fix for build failure. As it's not reproducible, I can't be sure if that works. I am not an Arch user also, so @bdeshi @moshiur05 is there any way you can check it?

@mominul mominul self-assigned this Aug 22, 2020
@mominul mominul added the Bug label Aug 22, 2020
mominul added a commit to OpenBangla/riti that referenced this issue Aug 22, 2020
@mominul
Copy link
Member

mominul commented Aug 22, 2020

This bug is now fixed! 🎉
This fix is in the master branch and will be available in the next release.
@moshiur05 Thanks for your bug report!

@moshiur-raj
Copy link
Author

When can we expect a new release ? You're talking about the 2.0 release right ?

@mominul
Copy link
Member

mominul commented Aug 22, 2020

Yeah, I was talking about the 2.0 😊 I am sorry that I can't give you a specific date now, but I am working towards releasing it as soon as possible!

@moshiur-raj
Copy link
Author

Eagerly waiting for the release !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants