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

Linux QT wallet xkb error #43

Closed
ShorelineCrypto opened this issue Aug 22, 2022 · 2 comments
Closed

Linux QT wallet xkb error #43

ShorelineCrypto opened this issue Aug 22, 2022 · 2 comments

Comments

@ShorelineCrypto
Copy link
Owner

Reported by @raeZurlogic in discord, indeed like this error when loading QT v2.3.0 wallet in linux

xkbcommon: ERROR: failed to add default include path auto Qt: Failed to create XKB context! Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search path, add ':' as separator to provide several search paths and/or make sure that XKB configuration data directory contains recent enough contents, to update please see http://cgit.freedesktop.org/xkeyboard-config/ .

The direct error on this is unable to send CHTA coins when typing the words in QT wallet. There may be other misbehaviors too.

@ShorelineCrypto
Copy link
Owner Author

The fix is from this:

https://stackoverflow.com/questions/56353346/xkbcommon-error-failed-to-add-default-include-path

export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb

After typing this in command line, the error will go away

@ShorelineCrypto
Copy link
Owner Author

The problem is fixed by re-building x64 linux binary in new docker. The ROOT cause was the old build did not have QT_XKB configured properly. The fix is to install all the QT defaults apt packages before building the wallet.

The fresh ubuntu 18.04 docker was pulled down.
The ubuntu 18.04 docker installed all dependencies fresh of this page:
https://github.com/ShorelineCrypto/cheetahcoin/blob/v1.12.x/doc/build-unix.md

The installed dependencies included all the QT4 and QT5. After that, then followed the v2.3.0 generic installation guide to install depends for x86_64-pc-linux-gnu under "depends" folder and rebuilt all the binary wallet files for linux.

The newly built linux wallet file "cheetahcoin_2.3.0_x86_64_linux-gnu.tgz" was uploaded to release replacing old file.
The new wallet was tested correctly without error in Debian 11.

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

1 participant