[Bug 1423359] Re: taking screenshots with mirscreencast fails
Leo Arias
leo.arias at canonical.com
Thu Feb 19 16:53:00 UTC 2015
Well, setting LC_ALL to UTF-8 works too. Is that a better option?
Here is the error without the env var:
phablet at 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 at 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 at 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
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1423359
Title:
taking screenshots with mirscreencast fails
Status in autopkgtest package in Ubuntu:
New
Bug description:
From autopilot we see this when there is a failed test.
21:40:25.138 ERROR testcase:387 - Taking screenshot failed: Command
'['mirscreencast', '-m', '/run/mir_socket', '-n', '1', '-f', '/tmp/ap-
screenshot-data-1424295625.rgba']' returned non-zero exit status 1
I tried setting the LC_ALL env var to C, and it works.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1423359/+subscriptions
More information about the foundations-bugs
mailing list