Well, setting LC_ALL to UTF-8 works too. Is that a better option?
Here is the error without the env var:
phablet@ubuntu-phablet:~$ mirscreencast -m /run/mir_socket -n 1 -f
/tmp/screenshot
[1424364638.640752] Loader: Loading modules from:
/usr/lib/arm-linux-gnueabihf/mir/client-platform/
Failed to connect to server. Error was :locale::facet::_S_create_c_locale name
not valid
It doesn't take the screenshot.
With the env var it also shows errors, but it takes the screenshot.
phablet@ubuntu-phablet:~$ LC_ALL=C.UTF-8 mirscreencast -m /run/mir_socket -n 1
-f /tmp/screenshot
[1424364644.571105] Loader: Loading modules from:
/usr/lib/arm-linux-gnueabihf/mir/client-platform/
[1424364644.574196] Loader: Loading module:
/usr/lib/arm-linux-gnueabihf/mir/client-platform/android.so
[1424364644.576286] Loader: Loading module:
/usr/lib/arm-linux-gnueabihf/mir/client-platform/mesa.so
[1424364644.577963] Loader: Loading module:
/usr/lib/arm-linux-gnueabihf/mir/client-platform/dummy.so
[1424364644.631667] <ERROR> mircommon: Caught exception at Mir/EGL driver
boundary (in setSwapInterval):
/build/buildd/mir-0.11.0+15.04.20150209.1/src/client/buffer_stream.cpp(283):
Throw in function virtual void
mir::client::BufferStream::request_and_wait_for_configure(MirSurfaceAttrib, int)
Dynamic exception type:
N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE
std::exception::what: Attempt to set swap interval on screencast is invalid
phablet@ubuntu-phablet:~$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=eo.UTF-8
LC_TIME=eo.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=eo.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=eo.UTF-8
LC_NAME=eo.UTF-8
LC_ADDRESS=eo.UTF-8
LC_TELEPHONE=eo.UTF-8
LC_MEASUREMENT=eo.UTF-8
LC_IDENTIFICATION=eo.UTF-8
LC_ALL=
** Changed in: autopkgtest (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1423359
Title:
taking screenshots with mirscreencast fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1423359/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs