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

"xkbcommon: ERROR: couldn't find a Compose file for locale" on app launch #91

Closed
pwasowski2 opened this issue May 24, 2021 · 7 comments · Fixed by flutter-tizen/flutter-tizen#131
Assignees
Labels
bug Something isn't working

Comments

@pwasowski2
Copy link

This issue has been reported in #53:

Non-fatal error "xkbcommon: ERROR: couldn't find a Compose file for locale" on app launch (unrelated to Flutter)

Reproduction by @bbrto21:

Launch Settings
Go - Language and input
Go - Display language
Choose a language other than English
Launch flutter-app

dlog output:

E/ConsoleMessage(24758): xkbcommon: ERROR: couldn't find a Compose file for locale "pl_PL.UTF-8"

@pwasowski2 pwasowski2 self-assigned this May 24, 2021
@pwasowski2 pwasowski2 mentioned this issue May 24, 2021
12 tasks
@pwasowski2
Copy link
Author

Continuing the conversation from #53:

@swift-kim, @bbrto21, I have run a .NET app on my TM1 and got the error in the dlog:

I/DOTNET_LAUNCHER(13337): xkbcommon: ERROR: couldn't find a Compose file for locale "pl_PL.UTF-8"

The log does not appear when I run native or web apps, so it seems to be a problem with .NET runtime.
I guess, we should just report it to the .NET runtime team - what do you think about it?

@swift-kim
Copy link
Member

I'm part of the .NET runtime team. I'll ask one of my colleagues first. 😉

@swift-kim
Copy link
Member

I submitted an error report: https://github.sec.samsung.net/dotnet/home/issues/403 (intenal GitHub)

@swift-kim swift-kim added the bug Something isn't working label May 25, 2021
@swift-kim
Copy link
Member

We may filter out this error message by simply adding a filter in the log reader. 😎

(Adding a new if statement between line 626-629: https://github.com/flutter-tizen/flutter-tizen/blob/f0ad603ef30f811b99510e07a6eeed25f950459b/lib/tizen_device.dart#L627)

@bbrto21
Copy link

bbrto21 commented Jun 2, 2021

It seems that this is no longer an issue we need to handle. how about closing this issue?

@swift-kim
Copy link
Member

flutter-tizen/flutter-tizen#131 work arounds this issue.

@pwasowski2
Copy link
Author

We have received the following message about this behavior, from C# runtime team:

Actually if there is no 'pl.PL.UTF-8' found in system, it should be displayed as it can be important information in some cases. Please note that "pl _ PL.UTF-8" is not the locale available on any system.

E/ConsoleMessage(24758): xkbcommon: ERROR: couldn't find a Compose file for locale "pl_PL.UTF-8"

Anyway, the error message you mentioned is sometimes perceived as an error by some developer(s)/tester(s).
Thus, I removed the error message from libxkbcommon package only if the locale has not been set to 'en_US.UTF-8'.
FYI, we only use 'en_US.UTF-8' as a primary locale for key mapping for UI app(s) in Tizen.

A patch for this problem has already been merged to xkbcommon.

We may filter out this error message by simply adding a filter in the log reader. 😎

(Adding a new if statement between line 626-629: https://github.com/flutter-tizen/flutter-tizen/blob/f0ad603ef30f811b99510e07a6eeed25f950459b/lib/tizen_device.dart#L627)

@swift-kim, it seems, that the problem has been fixed in xkbcommon, so I close this issue as @bbrto21 suggests ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants