Closed jo-ei closed 7 years ago
Okay the beginning looks good. The "Cancel" button is supposed to show so that you can skip the waiting time and go back directly from snapshot to live preview. if you don't want the cancel button, then modify the CSS. But another problem is certainly this:
0:00:18.109132450 2035 0x1bb04e0 WARN filesink gstfilesink.c:438:gst_file_sink_open_file:<photo-filesink> error: Could not open file "/home/pi/photobooth/./photos/photobooth_0001.jpg" for writing.
0:00:18.109252761 2035 0x1bb04e0 WARN filesink gstfilesink.c:438:gst_file_sink_open_file:<photo-filesink> error: system error: No such file or directory
0:00:18.109468854 2035 0x1bb04e0 WARN basesink gstbasesink.c:5245:gst_base_sink_change_state:<photo-filesink> error: Failed to start
...
0:00:18.111014781 2035 0x1bb04e0 ERROR photobooth photobooth.c:1150:photo_booth_bus_callback: Error: Could not open file "/home/pi/photobooth/./photos/photobooth_0001.jpg" for writing. : gstfilesink.c(438): gst_file_sink_open_file (): /GstPipeline:photobooth-pipeline/GstBin:photo-bin/GstFileSink:photo-filesink:
system error: No such file or directory
(photobooth:2035): Gtk-CRITICAL **: gtk_main_quit: assertion 'main_loops != NULL' failed
0:00:18.111372435 2035 0x1bb04e0 ERROR photobooth photobooth.c:1150:photo_booth_bus_callback: Error: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. : gstbasesink.c(5245): gst_base_sink_change_state (): /GstPipeline:photobooth-pipeline/GstBin:photo-bin/GstFileSink:photo-filesink:
Failed to start
which comes from the specified image directory (./photos) not being there. unfortunately, you can't commit empty directories to git, so you'll have to mkdir that yourself or change the save path in the ini
please try if changing that resolves your problems first
references #1
created directory photos (why not check in with dummy file?)
0:00:00.468363882 3281 0x11b04e0 DEBUG photobooth photobooth.c:328:photo_booth_activate:<PhotoBooth@0x11b9188> photo_booth_activate
0:00:00.468891951 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:47:photo_booth_window_class_init: open template from file 'photobooth.ui'
0:00:00.469103043 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:62:photo_booth_window_class_init: done!
0:00:00.514736655 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:91:photo_booth_window_init: open stylesheet from file 'photobooth.css'
0:00:00.892780081 3281 0x12bf690 DEBUG photobooth photobooth.c:779:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> enter capture thread fd = 6
0:00:01.266259271 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_list_folder_eos [library.c:7649]:storage 0xffffffff, but handle 0x00000000?
0:00:01.289185815 3281 0x12bf690 DEBUG photobooth photobooth.c:646:photo_booth_cam_init: gp_camera_init returned 0 cam_info@0x71000d60 camera@0x71000490
0:00:01.289798727 3281 0x12bf690 INFO photobooth photobooth.c:803:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> photo_booth_cam_inited @ 0x71000d60
0:00:01.421065332 3281 0x12bf690 INFO photobooth photobooth.c:736:photo_booth_cam_config:<PhotoBooth@0x11b9188> capturetarget configured to 0 in camera
0:00:01.594301255 3281 0x11b04e0 DEBUG photobooth photobooth.c:1266:photo_booth_preview:<photo-bin:src> photo_booth_preview! halt photo_bin...
0:00:01.608949789 3281 0x11b04e0 LOG photobooth photobooth.c:1289:photo_booth_preview:<PhotoBooth@0x11b9188> linked video-bin ! video-sink ret=1
0:00:01.610667589 3281 0x11b04e0 WARN GST_POLL gstpoll.c:829:gst_poll_remove_fd: 0x130ca00: couldn't find fd !
0:00:01.611657112 3281 0x12be6c0 FIXME videodecoder gstvideodecoder.c:946:gst_video_decoder_drain_out:<mjpeg-decoder> Sub-class should implement drain()
0:00:01.611723466 3281 0x11b04e0 DEBUG photobooth photobooth.c:301:photo_booth_change_state:<PhotoBooth@0x11b9188> change state PB_STATE_NONE -> PB_STATE_PREVIEW_COOLDOWN
0:00:01.612040807 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photobooth-pipeline> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.612539866 3281 0x12bf690 DEBUG photobooth photobooth.c:917:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> CONTROL_VIDEO
0:00:01.613349860 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photobooth-pipeline> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.614533341 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photobooth-pipeline> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.614735266 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photobooth-pipeline> state transition PAUSED -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.614858651 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-tee> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.614977035 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-gamma> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.615093388 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-convert> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.615209481 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-overlay> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.615324168 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-capsfilter> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.615439792 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-scale> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.615556510 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-freeze> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.615670884 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-decoder> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.616025986 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-appsrc> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.616521971 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-bin> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.616811709 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-capsfilter> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.616983478 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-flip> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.617114206 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoconvert> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.617311549 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoscale> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.617442329 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-decoder> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.617562640 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-parser> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.617681806 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-capsfilter> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.617802326 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-fdsrc> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.617924877 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-bin> state transition NULL -> READY. PB_STATE_PREVIEW_COOLDOWN
0:00:01.618043001 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-capsfilter> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.618162584 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-flip> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.618280083 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoconvert> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.618398572 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoscale> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.618516175 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-decoder> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.618633674 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-parser> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.618750913 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-capsfilter> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.618912526 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-fdsrc> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.619037629 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-bin> state transition READY -> PAUSED. PB_STATE_PREVIEW_COOLDOWN
0:00:01.619195232 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-capsfilter> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.619318877 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-flip> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.619437418 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoconvert> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.619555750 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoscale> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.619748197 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-decoder> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.619871633 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-parser> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.619991685 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-capsfilter> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.620110121 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-fdsrc> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.620227724 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-bin> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW_COOLDOWN
0:00:01.620406577 3281 0x11b04e0 DEBUG photobooth photobooth.c:1193:photo_booth_bus_callback: GST_MESSAGE_STREAM_START! state=PB_STATE_PREVIEW_COOLDOWN
0:00:01.660686011 3281 0x11b04e0 DEBUG photobooth photobooth.c:301:photo_booth_change_state:<PhotoBooth@0x11b9188> change state PB_STATE_PREVIEW_COOLDOWN -> PB_STATE_PREVIEW
0:00:02.208747729 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_usb_getresp [usb.c:466]:PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
0:00:02.495667163 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_usb_getresp [usb.c:466]:PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
0:00:02.635872296 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_usb_getresp [usb.c:466]:PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
0:00:02.811019454 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_usb_getresp [usb.c:466]:PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
0:00:03.025724438 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_usb_getresp [usb.c:466]:PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
0:00:03.240387234 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_usb_getresp [usb.c:466]:PTP_OC 0x9153 receiving resp failed: Camera Not Ready (0xa102)
0:00:03.615160481 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (1 frames total)
0:00:03.784209979 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-sink> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:03.784450863 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photobooth-pipeline> state transition PAUSED -> PAUSED. PB_STATE_PREVIEW
0:00:03.784675132 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-sink> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:03.784775704 3281 0x11b04e0 DEBUG photobooth photobooth.c:1179:photo_booth_bus_callback: video_sink GST_STATE_CHANGE_PAUSED_TO_PLAYING -> hide spinner!
0:00:03.798871066 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-tee> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:03.799165178 3281 0x11b04e0 DEBUG photobooth photobooth.c:1228:photo_booth_video_widget_ready:<PhotoBooth@0x11b9188> gtksink widget is ready. preferred dimensions: 1056x704 allocated 1280x1024
0:00:03.799583092 3281 0x11b04e0 DEBUG photobooth photobooth.c:1236:photo_booth_video_widget_ready:<PhotoBooth@0x11b9188> gtksink widget is ready. output dimensions: 1280x853
0:00:04.128104452 3281 0x70701430 FIXME default gstutils.c:3766:gst_pad_create_stream_id_internal:<photo-appsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:04.129098975 3281 0x70701430 FIXME videodecoder gstvideodecoder.c:946:gst_video_decoder_drain_out:<photo-decoder> Sub-class should implement drain()
0:00:04.130161103 3281 0x70701430 DEBUG photobooth photobooth.c:599:_gst_photo_probecb:<photo-bin:src> drop photo
0:00:04.249860350 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (2 frames total)
0:00:04.453601980 3281 0x11b04e0 DEBUG photobooth photobooth.c:1251:photo_booth_video_widget_ready:<PhotoBooth@0x11b9188> overlay_image's pixbuf dimensions 1280x853 pos@0,85
0:00:04.454333329 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-gamma> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:04.454514109 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-convert> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:04.454640983 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-overlay> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:04.454765305 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-capsfilter> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:04.454883481 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-scale> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:04.455001865 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-freeze> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:04.455122854 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-decoder> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:04.455280926 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-appsrc> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:04.455401810 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-bin> state transition READY -> PAUSED. PB_STATE_PREVIEW
0:00:04.455554257 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-tee> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.455672590 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-gamma> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.455788943 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-convert> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.455905765 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-overlay> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.456022535 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-capsfilter> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.456192065 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-scale> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.456312220 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-freeze> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.456428938 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-decoder> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.456546854 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-appsrc> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.456661697 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photo-bin> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:04.456798466 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <photobooth-pipeline> state transition PAUSED -> PLAYING. PB_STATE_PREVIEW
0:00:05.049172462 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (3 frames total)
0:00:05.753669722 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (4 frames total)
0:00:06.414052684 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (5 frames total)
0:00:06.444653962 3281 0x11b04e0 INFO photobooth photobooth.c:1436:photo_booth_background_clicked:<PhotoBooth@0x11b9188> background clicked in state PB_STATE_PREVIEW
0:00:06.444774378 3281 0x11b04e0 DEBUG photobooth photobooth.c:301:photo_booth_change_state:<PhotoBooth@0x11b9188> change state PB_STATE_PREVIEW -> PB_STATE_COUNTDOWN
0:00:06.444863961 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:191:photo_booth_window_start_countdown: photo_booth_window_start_countdown 6
0:00:06.444922346 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:153:_pbw_tick_countdown: _pbw_tick_countdown 6
0:00:06.445289582 3281 0x11b04e0 INFO photoboothwin photoboothwin.c:199:photo_booth_window_start_countdown: added timeout callback at 1000
0:00:06.445371873 3281 0x11b04e0 INFO photoboothwin photoboothwin.c:199:photo_booth_window_start_countdown: added timeout callback at 2000
0:00:06.445434060 3281 0x11b04e0 INFO photoboothwin photoboothwin.c:199:photo_booth_window_start_countdown: added timeout callback at 3000
0:00:06.445491664 3281 0x11b04e0 INFO photoboothwin photoboothwin.c:199:photo_booth_window_start_countdown: added timeout callback at 4000
0:00:06.445555466 3281 0x11b04e0 INFO photoboothwin photoboothwin.c:199:photo_booth_window_start_countdown: added timeout callback at 5000
0:00:06.445616872 3281 0x11b04e0 INFO photoboothwin photoboothwin.c:199:photo_booth_window_start_countdown: added timeout callback at 6000
0:00:06.445677861 3281 0x11b04e0 INFO photoboothwin photoboothwin.c:199:photo_booth_window_start_countdown: added timeout callback at 7000
0:00:06.445739527 3281 0x11b04e0 INFO photoboothwin photoboothwin.c:199:photo_booth_window_start_countdown: added timeout callback at 8000
0:00:06.446280408 3281 0x11b04e0 DEBUG photobooth photobooth.c:1592:photo_booth_snapshot_start:<PhotoBooth@0x11b9188> started countdown of 6 seconds, pretrigger in 5000 ms, snapshot in 5995 ms
0:00:07.067500597 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (6 frames total)
0:00:07.445636430 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:153:_pbw_tick_countdown: _pbw_tick_countdown 5
0:00:07.818264806 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (7 frames total)
0:00:08.446344477 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:153:_pbw_tick_countdown: _pbw_tick_countdown 4
0:00:08.469256179 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (8 frames total)
0:00:09.221111323 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (9 frames total)
0:00:09.446164568 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:153:_pbw_tick_countdown: _pbw_tick_countdown 3
0:00:09.869484075 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (10 frames total)
0:00:10.446360234 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:153:_pbw_tick_countdown: _pbw_tick_countdown 2
0:00:10.650543951 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (11 frames total)
0:00:11.385163765 3281 0x12bf690 LOG photobooth photobooth.c:865:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured frame (12 frames total)
0:00:11.446620696 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:153:_pbw_tick_countdown: _pbw_tick_countdown 1
0:00:11.447111161 3281 0x11b04e0 DEBUG photobooth photobooth.c:1608:photo_booth_snapshot_prepare:<PhotoBooth@0x11b9188> photo_booth_snapshot_prepare!
0:00:11.447197567 3281 0x11b04e0 DEBUG photobooth photobooth.c:301:photo_booth_change_state:<PhotoBooth@0x11b9188> change state PB_STATE_COUNTDOWN -> PB_STATE_TAKING_PHOTO
0:00:11.447545377 3281 0x12bf690 DEBUG photobooth photobooth.c:921:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> CONTROL_PRETRIGGER
0:00:12.026425224 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_usb_getresp [usb.c:466]:PTP_OC 0x9152 receiving resp failed: PTP Operation Not Supported (0x2005)
0:00:12.342972365 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_usb_getresp [usb.c:466]:PTP_OC 0x911c receiving resp failed: PTP Device Busy (0x2019)
0:00:12.343135488 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, camera_unprepare_canon_eos_capture [config.c:546]:'ptp_canon_eos_resetuilock (params)' failed: PTP Device Busy (0x2019)
0:00:12.441836670 3281 0x11b04e0 DEBUG photobooth photobooth.c:1625:photo_booth_snapshot_trigger:<PhotoBooth@0x11b9188> photo_booth_snapshot_trigger
0:00:12.442757861 3281 0x11b04e0 DEBUG photobooth photobooth.c:1636:photo_booth_snapshot_trigger:<PhotoBooth@0x11b9188> preparing for snapshot...
0:00:12.445960181 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:153:_pbw_tick_countdown: _pbw_tick_countdown 0
0:00:12.490497344 3281 0x12bf690 DEBUG photobooth photobooth.c:670:photo_booth_cam_close: gp_camera_exit returned 0
0:00:12.874240438 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_list_folder_eos [library.c:7649]:storage 0xffffffff, but handle 0x00000000?
0:00:12.897424846 3281 0x12bf690 DEBUG photobooth photobooth.c:646:photo_booth_cam_init: gp_camera_init returned 0 cam_info@0x71000d60 camera@0x71000490
0:00:12.897562866 3281 0x12bf690 DEBUG photobooth photobooth.c:925:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> CONTROL_PHOTO
0:00:13.446007894 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:153:_pbw_tick_countdown: _pbw_tick_countdown -1
0:00:14.446939199 3281 0x11b04e0 DEBUG photoboothwin photoboothwin.c:153:_pbw_tick_countdown: _pbw_tick_countdown -2
0:00:15.520753607 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, save_settings [gphoto2-setting.c:243]:Can't open settings file for writing.
0:00:15.521010376 3281 0x12bf690 DEBUG photobooth photobooth.c:1690:photo_booth_take_photo:<PhotoBooth@0x11b9188> gp_camera_capture gpret=0 Pathname on the camera: //capt0000.jpg
0:00:15.521102823 3281 0x12bf690 DEBUG photobooth photobooth.c:1695:photo_booth_take_photo:<PhotoBooth@0x11b9188> gp_file_new gpret=0
0:00:15.527928448 3281 0x12bf690 DEBUG photobooth photobooth.c:1698:photo_booth_take_photo:<PhotoBooth@0x11b9188> gp_camera_file_get gpret=0
0:00:15.529214637 3281 0x12bf690 DEBUG photobooth photobooth.c:1708:photo_booth_take_photo:<PhotoBooth@0x11b9188> gp_camera_file_delete gpret=0
0:00:15.534593659 3281 0x11b04e0 DEBUG photobooth photobooth.c:1738:photo_booth_snapshot_taken:<PhotoBooth@0x11b9188> unblock photo_bin...
0:00:15.586718787 3281 0x11b04e0 DEBUG photobooth photobooth.c:1748:photo_booth_snapshot_taken:<PhotoBooth@0x11b9188> photo_booth_snapshot_taken size=2454195 photos_taken=1
0:00:15.587404198 3281 0x70701430 WARN videodecoder gstvideodecoder.c:2400:gst_video_decoder_chain:<photo-decoder> Received buffer without a new-segment. Assuming timestamps start from 0.
0:00:15.587527114 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-capsfilter> state transition PLAYING -> PAUSED. PB_STATE_TAKING_PHOTO
0:00:15.587673936 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-flip> state transition PLAYING -> PAUSED. PB_STATE_TAKING_PHOTO
0:00:15.587798518 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoconvert> state transition PLAYING -> PAUSED. PB_STATE_TAKING_PHOTO
0:00:15.587918517 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoscale> state transition PLAYING -> PAUSED. PB_STATE_TAKING_PHOTO
0:00:15.588036173 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-decoder> state transition PLAYING -> PAUSED. PB_STATE_TAKING_PHOTO
0:00:15.588150287 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-parser> state transition PLAYING -> PAUSED. PB_STATE_TAKING_PHOTO
0:00:15.588267942 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-capsfilter> state transition PLAYING -> PAUSED. PB_STATE_TAKING_PHOTO
0:00:15.588387576 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-fdsrc> state transition PLAYING -> PAUSED. PB_STATE_TAKING_PHOTO
0:00:15.588499503 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-bin> state transition PLAYING -> PAUSED. PB_STATE_TAKING_PHOTO
0:00:15.588619971 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-capsfilter> state transition PAUSED -> READY. PB_STATE_TAKING_PHOTO
0:00:15.588738615 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-flip> state transition PAUSED -> READY. PB_STATE_TAKING_PHOTO
0:00:15.588855385 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoconvert> state transition PAUSED -> READY. PB_STATE_TAKING_PHOTO
0:00:15.588977259 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-videoscale> state transition PAUSED -> READY. PB_STATE_TAKING_PHOTO
0:00:15.589095852 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-decoder> state transition PAUSED -> READY. PB_STATE_TAKING_PHOTO
0:00:15.589213351 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-parser> state transition PAUSED -> READY. PB_STATE_TAKING_PHOTO
0:00:15.589329809 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-capsfilter> state transition PAUSED -> READY. PB_STATE_TAKING_PHOTO
0:00:15.589531318 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <mjpeg-fdsrc> state transition PAUSED -> READY. PB_STATE_TAKING_PHOTO
0:00:15.589673765 3281 0x11b04e0 LOG photobooth photobooth.c:1171:photo_booth_bus_callback: gst <video-bin> state transition PAUSED -> READY. PB_STATE_TAKING_PHOTO
0:00:15.658445486 3281 0x11b04e0 DEBUG photobooth photobooth.c:1193:photo_booth_bus_callback: GST_MESSAGE_STREAM_START! state=PB_STATE_TAKING_PHOTO
0:00:16.530463034 3281 0x12bf690 LOG photobooth photobooth.c:948:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> captured thread paused... close camera! PB_STATE_TAKING_PHOTO
0:00:16.764672260 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, ptp_usb_getresp [usb.c:466]:PTP_OC 0x911c receiving resp failed: PTP Device Busy (0x2019)
0:00:16.764875436 3281 0x12bf690 DEBUG photobooth photobooth.c:594:_gphoto_err: GPhoto 0, camera_unprepare_canon_eos_capture [config.c:546]:'ptp_canon_eos_resetuilock (params)' failed: PTP Device Busy (0x2019)
0:00:16.783380140 3281 0x12bf690 DEBUG photobooth photobooth.c:670:photo_booth_cam_close: gp_camera_exit returned 0
0:00:16.973385637 3281 0x70a02380 LOG photobooth photobooth.c:1773:photo_booth_catch_photo_buffer:<PhotoBooth@0x11b9188> probe function in state PB_STATE_TAKING_PHOTO... locking
0:00:16.974245214 3281 0x70a02380 DEBUG photobooth photobooth.c:301:photo_booth_change_state:<PhotoBooth@0x11b9188> change state PB_STATE_TAKING_PHOTO -> PB_STATE_PROCESS_PHOTO
0:00:16.974305682 3281 0x12bf690 DEBUG photobooth photobooth.c:934:photo_booth_capture_thread_func:<PhotoBooth@0x11b9188> CONTROL_REINIT!
0:00:16.974773804 3281 0x12bf690 ERROR photobooth photobooth.c:665:photo_booth_cam_close: tried to close cam when cam_info == NULL
0:00:16.974745471 3281 0x70a02380 DEBUG photobooth photobooth.c:1781:photo_booth_catch_photo_buffer:<PhotoBooth@0x11b9188> first buffer caught -> display in sink, invoke processing
**
Gtk:ERROR:/build/gtk+3.0-7PaX1N/gtk+3.0-3.22.11/./gtk/gtkcssinheritvalue.c:33:gtk_css_value_inherit_free: code should not be reached
Aborted
my config: default.ini.txt
the first picture is shown (with print slider at the top), but the second and third not. there are no file in ./photos from these pictures
cam_keep_files = 1 -> does not work, there are no files on the camera left
after a second start (without changing anything) i got
when i reset the camera (power off&on) after the first problem, i only got the first scenario.
there was a major bug in there causing the timeout (and retriggering preview) to fire at any case, not being reset by manual cancelling. try it now, it should work every time (i tested it and it does for me) the slider will show unless both min and max prints are set to 0
Hi, if you disable the printing dialog with copies_max = 0 the "Cancel" Button is still there until the preview_timeout. It looks like the preview_timeout starts with processing the image and not with start showing it
the photobooth software hang after the first or second picture. Sometime it shows the first result, often not.