Project

General

Profile

Bug #11847

Camera Loses Connection

Added by James Lancaster 11 days ago. Updated 1 day ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Tethering
Target version:
-
Start date:
12/07/2017
Due date:
% Done:

0%

Affected Version:
2.2.5
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Camera will lose connection: Connection with Camera Lost, exiting tethering mode

Under the following conditions:
Preview is enabled
Multiple attempts to capture are made (Sequenced capture mode)

Camera: Nikon D5300 (I have another and a D5100, that it could be tested with)

Kubuntu 17.10 (up to date, as of today)

Darktable 2.2.5

Initially looked similar to Bug #11804, but the message is somewhat different.

Logs: 2 from Darktable, then output from gphoto (just in case from 11804, file is 302MB, not uploaded, but can be if needed, and that worked fine with the shutter repeatedly, so...)

Log 1: Opening, Going to tethering mode, selecting to take 2 second delayed and 2 images, which complete succesfully, then turning on preview, and hitting capture image.

james@james-G750JW:~$ darktable -d camctl
[camera_control] creating new context 0x55bce020f650
[camera_control] loaded 2426 camera drivers.
[camera_control] loaded 41 port drivers.
[camera_control] 1 cameras connected
[camera_control] device Nikon DSC D5300 on port usb:003,011 initialized
[camera_control] registering listener 0x55bce0555ff0
[camera_control] camera control locked for camera 0x7fa1cc009810
[camera_control] camera control un-locked for camera 0x7fa1cc009810
[camera_control] building property menu from camera configuration
[camera_control] registering listener 0x55bce042f540
[camera_control] camera control locked for camera 0x7fa1cc009810
[camera_control] enabling tether mode
[camera_control] starting camera event thread of context 0x55bce020f650
[camera_control] registering listener 0x55bcdf35c0b0
[camera_control] executing remote camera capture job
[import_session] File /home/james/Pictures/Darktable/20171206_capture job/20171206_0001.jpg exists.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0002.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0003.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0004.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0005.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0006.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0007.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0008.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0009.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0010.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0011.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0012.jpg.
[import_session] Testing /home/james/Pictures/Darktable/20171206_capture job/20171206_0013.jpg.
[import_session] Using filename 20171206_0013.jpg.
[camera_control] executing remote camera capture job
[import_session] Using filename 20171206_0014.nef.
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
[camera_control] Camera file added event
[import_session] Using filename 20171206_0015.jpg.
[camera_control] Camera file added event
[import_session] Using filename 20171206_0016.nef.
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
[camera_control] Starting live view
[camera_control] live view thread started
[camera_control] executing set camera config job eosviewfinder=1
2 fps
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
[camera_control] Camera configuration change event, lets update internal configuration cache.
[camera_control] executing set camera config job imagesize=6000x4000
[camera_control] executing set camera config job iso=100
[camera_control] executing set camera config job whitebalance=Daylight
[camera_control] executing set camera config job f-number=f/0
[camera_control] executing set camera config job imagequality=NEF+Fine
[camera_control] executing set camera config job focusmode=Manual
[camera_control] executing set camera config job expprogram=M
[camera_control] executing set camera config job shutterspeed2=1/1000
15 fps
15 fps
15 fps
15 fps
[camera_control] executing remote camera capture job
[import_session] Using filename 20171206_0017.jpg.

(darktable:10191): GdkPixbuf-CRITICAL **: gdk_pixbuf_loader_write: assertion 'buf != NULL' failed
3 fps
[camera_control] executing remote camera capture job
[camera_control] gphoto2 error: PTP Store Full
[camera_control] capture job failed to capture image: Unspecified error
[camera_control] disabling tether mode
[camera_control] camera control un-locked for camera 0x7fa1cc009810
[camera_control] unregistering listener 0x55bce042f540
[camera_control] unregistering listener 0x55bcdf35c0b0
[camera_control] disabling tether mode
[camera_control] camera control un-locked for camera (nil)
[camera_control] unregistering listener 0x55bce042f540
[camera_control] loaded 41 port drivers.
[camera_control] 1 cameras connected

(darktable:10191): GdkPixbuf-CRITICAL **: gdk_pixbuf_loader_write: assertion 'buf != NULL' failed
[camera_control] live view thread stopped

(darktable:10191): GdkPixbuf-CRITICAL **: gdk_pixbuf_loader_write: assertion 'buf != NULL' failed
[camera_control] exiting camera thread.

Log of
gphoto2 --capture-tethered --debug --debug-logfile=xx.log

james@james-G750JW:~$ gphoto2 --capture-tethered --debug --debug-logfile=xx.log
Waiting for events from camera. Press Ctrl-C to abort.
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1f1 changed
UNKNOWN PTP Property d1b4 changed
UNKNOWN PTP Property d1b4 changed
FOLDERADDED 101D5302 /store_00010001/DCIM
UNKNOWN PTP Property d1f1 changed
Saving file as DSC_0244.JPG
Saving file as DSC_0244.NEF
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1f1 changed
UNKNOWN PTP Property d1b4 changed
UNKNOWN PTP Property d1b4 changed
UNKNOWN PTP Property d1f1 changed
Saving file as DSC_0245.JPG
Saving file as DSC_0245.NEF
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1a4 changed
UNKNOWN PTP Property d1f1 changed
UNKNOWN PTP Property d1b4 changed
UNKNOWN PTP Property d1b4 changed
UNKNOWN PTP Property d1f1 changed
Saving file as DSC_0246.JPG
Saving file as DSC_0246.NEF
UNKNOWN PTP Property d1a4 changed
^C
Cancelling...

History

#1 Updated by Peter Budai 1 day ago

I believe that is fixed in 2.4.
https://github.com/darktable-org/darktable/pull/1476

Can you give a try with the latest RC1 release?

Also available in: Atom PDF