Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37391 - [qt5] Can no longer start Qt5 Application with german locale

Attached to Project: Community Packages
Opened by Christian (saedelaere) - Friday, 18 October 2013, 17:16 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 20 October 2013, 10:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

Since two days Qt-Creator, Qt Assistant and Qt Linguist no longer start. When executing from the command line I get this error message:

$ qtcreator
XIO: fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":0"
after 15 requests (15 known processed) with 0 events remaining.

In fact this problem applies to all qt5 applications (I just realized this). It somehow seems to be related to system locale, see below for steps to reproduce.

Additional info:
* package version(s)

extra/qt5-base 5.1.1-2 (qt qt5)
A cross-platform application and UI framework
extra/qt5-declarative 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (QtQml, QtQuick)
extra/qt5-doc 5.1.1-2
A cross-platform application and UI framework (Documentation)
extra/qt5-jsbackend 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (QtV8)
extra/qt5-multimedia 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (QtMultimedia)
extra/qt5-quick1 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (QtDeclarative)
extra/qt5-script 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (QtScript)
extra/qt5-sensors 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (QtSensors)
extra/qt5-tools 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (Development Tools, QtHelp)
extra/qt5-translations 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (Translations)
extra/qt5-webkit 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (QtWebKit)
extra/qt5-xmlpatterns 5.1.1-2 (qt qt5)
A cross-platform application and UI framework (QtXmlPatterns)

Output of locale:

$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE=C
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

Steps to reproduce:

Try for yourself with
LANG=de_DE.UTF-8 qtcreator

Someone from the IRC Channel tried it like this and confirmed the bug.

If I do
LANG=C qtcreator
it executes.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 20 October 2013, 10:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in -3
Comment by Christian (saedelaere) - Friday, 18 October 2013, 17:30 GMT
Sorry, accidentally added to community packages
Comment by Lubosz Sarnecki (lubosz) - Saturday, 19 October 2013, 08:12 GMT
I can confirm this bug.

Name : qt5-base
Version : 5.1.1-2

Setting LANG=C does not work, i need to set LC_NUMERIC=en_US.utf8 or LC_ALL=C for any Qt5 application to work. Qt4 works fine.

This is my locale
$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC=de_DE.utf8
LC_TIME=de_DE.utf8
LC_COLLATE=C
LC_MONETARY=de_DE.utf8
LC_MESSAGES="en_US.utf8"
LC_PAPER=de_DE.utf8
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT=de_DE.utf8
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
Comment by Miguel Revilla (migrev) - Saturday, 19 October 2013, 09:49 GMT
Same here

extra/qt5-base 5.1.1-2 (qt qt5) [installed]

$ locale
LANG=es_ES.UTF-8
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=

$ qtcreator
XIO: fatal IO error 11 (Recurso no disponible temporalmente) on X server ":0"
after 15 requests (15 known processed) with 0 events remaining.
Comment by Christian (saedelaere) - Saturday, 19 October 2013, 18:41 GMT
5.1.1-3 fixed the issue for me. Thank you very much :)

Loading...