Killing the app from the terminal renders the video source unusable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Camera |
New
|
Undecided
|
Unassigned |
Bug Description
killing the app from the terminal renders the video source unusable requiring a re-plugging the usb for it to work again.
1ste run, Video output visible:
levi@ubanix ~/p/e/f/build> snap-photobooth 130
[_LOG_LEVEL_INFO 01:35:45.546613] Application.
[_LOG_LEVEL_INFO 01:35:45.546662] Application.
[_LOG_LEVEL_DEBUG 01:35:45.547490] Settings.vala:158: Loading settings from schema 'org.pantheon.
[_LOG_LEVEL_WARN 01:35:45.553395] Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-
[_LOG_LEVEL_DEBUG 01:35:45.599417] [Gtk] Connecting to session manager
[_LOG_LEVEL_DEBUG 01:35:45.601973] SnapWindow.
[_LOG_LEVEL_FATAL 01:35:45.604157] [GLib-GObject] g_value_
[_LOG_LEVEL_FATAL 01:35:45.604196] Snap will not function properly.
libv4l2: error turning on stream: Invalid argument
[_LOG_LEVEL_DEBUG 01:35:45.667859] Camera.vala:95: Getting the video-size failed: Internal data flow error.
[_LOG_LEVEL_DEBUG 01:35:46.799964] Camera.vala:107: mode changed
levi@ubanix ~/p/e/f/build> snap-photobooth
[_LOG_LEVEL_INFO 01:46:01.756180] Application.
[_LOG_LEVEL_INFO 01:46:01.756237] Application.
[_LOG_LEVEL_DEBUG 01:46:01.757076] Settings.vala:158: Loading settings from schema 'org.pantheon.
[_LOG_LEVEL_WARN 01:46:01.760188] Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-
[_LOG_LEVEL_DEBUG 01:46:01.790826] [Gtk] Connecting to session manager
[_LOG_LEVEL_DEBUG 01:46:01.793443] SnapWindow.
[_LOG_LEVEL_FATAL 01:46:01.795553] [GLib-GObject] g_value_
[_LOG_LEVEL_FATAL 01:46:01.795586] Snap will not function properly.
[_LOG_LEVEL_DEBUG 01:46:04.198827] Camera.vala:107: mode changed
[_LOG_LEVEL_DEBUG 01:46:07.181214] Camera.vala:129: Recording...
[_LOG_LEVEL_DEBUG 01:46:07.181901] Camera.vala:140: /home/levi/
^C
Second run, no video:
levi@ubanix ~/p/e/f/build> snap-photobooth 130
[_LOG_LEVEL_INFO 01:58:41.692612] Application.
[_LOG_LEVEL_INFO 01:58:41.692668] Application.
[_LOG_LEVEL_DEBUG 01:58:41.693517] Settings.vala:158: Loading settings from schema 'org.pantheon.
[_LOG_LEVEL_WARN 01:58:41.696664] Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-
[_LOG_LEVEL_DEBUG 01:58:41.729102] [Gtk] Connecting to session manager
[_LOG_LEVEL_DEBUG 01:58:41.731652] SnapWindow.
[_LOG_LEVEL_FATAL 01:58:41.733755] [GLib-GObject] g_value_
[_LOG_LEVEL_FATAL 01:58:41.733785] Snap will not function properly.
libv4l2: error turning on stream: Invalid argument
[_LOG_LEVEL_DEBUG 01:58:41.799525] Camera.vala:95: Getting the video-size failed: Internal data flow error.
[_LOG_LEVEL_DEBUG 01:58:42.951176] Camera.vala:107: mode changed
[_LOG_LEVEL_DEBUG 01:58:45.852875] Camera.vala:129: Recording...
[_LOG_LEVEL_DEBUG 01:58:45.853529] Camera.vala:140: /home/levi/
^C
The "Recording..." phase never stored an image.
Closing the app using the window controls results in a clean exit and the video feed continue to work in subsequent runs.
For testing it would be useful to be able to kill the app straight from the terminal.