[Pkg-phototools-devel] Bug#803929: darktable: File export is broken

Peter Chubb peter.chubb at nicta.com.au
Tue Nov 3 21:58:16 UTC 2015


>>>>> "Roman" == Roman Lebedev <lebedev.ri at gmail.com> writes:

Roman> On Tue, Nov 3, 2015 at 1:13 PM, Peter Chubb
Roman> <peter.chubb at nicta.com.au> wrote:
>> Package: darktable Version: 1.6.9-1 Severity: normal
>> 
>> Dear Maintainer,
>> 
>> When I try to export a set of files, I see
>> 
>> [imageio_storage_disk] could not export to file:
>> `/tmp/darktable/IMG_0001.jpg'!
Roman> This looks like a Debian BTS#792209

It does, but that was meant to have been fixed before the version I'm
using.


>> The export file pattern is
>> $(FILE_DIRECTORY)/darktable/IMG_$(SEQUENCE)
Roman> I would think it means that you do not have necessary
Roman> permissions for /tmp/darktable directory.  And that would also
Roman> mean that you did not provide all the nessesary output, in
Roman> particular there should have been following line just above:
Roman> [imageio_storage_disk] could not write to directory:
Roman> `/tmp/darktable'

That line does not appear.

s = ?5, exposure = ?6, aperture = ?7, iso = ?8, focal_length = ?9, focus_distance = ?10, film_id = ?11, datetime_taken = ?12, flags = ?13, crop = ?14, orientation = ?15, raw_parameters = ?16, group_id = ?17, longitude = ?18, latitude = ?19, color_matrix = ?20, colorspace = ?21, raw_black = ?22, raw_maximum = ?23 WHERE id = ?24"
[sql] prepare "select imgid, formid, form, name, version, points, points_count, source from mask where imgid = ?1"
[sql] prepare "select imgid, num, module, operation, op_params, enabled, blendop_params, blendop_version, multi_priority, multi_name from history where imgid = ?1 order by num"
[sql] prepare "SELECT id FROM styles WHERE name=?1 ORDER BY id DESC LIMIT 1"
[imageio_storage_disk] could not export to file: `/tmp/IMG_0001.jpg'!


If I strace the program, the last few lines are

4354  write(1, "[sql] prepare \"select imgid, num"..., 177) = 177
4354  getrusage(RUSAGE_SELF, {ru_utime={13, 69950}, ru_stime={0, 852577}, ...}) = 0
4354  mmap(NULL, 96260096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c82f18000
4354  mmap(NULL, 96260096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c7d34b000
4354  write(1, "[sql] prepare \"SELECT id FROM st"..., 77) = 77
4354  write(6, "\1\0\0\0\0\0\0\0", 8 <unfinished ...>
4352  <... poll resumed> )              = 1 ([{fd=6, revents=POLLIN}])
4354  <... write resumed> )             = 8
4352  recvmsg(5, 0x7ffe490e51e0, 0)     = -1 EAGAIN (Resource temporarily unavailable)
4354  write(2, "[imageio_storage_disk] could not"..., 70) = 70


This is *not* a permissions problem, as far as I can tell.  In this
run, I removed darktable from the export path, so it's trying to
create /tmp/IMG_0001.jpg

/tmp is globally writable, and the file does not yet exist there.

Peter C
-- 
Dr Peter Chubb				         http://www.data61.csiro.au
http://www.ssrg.nicta.com.au   Software Systems Research Group/NICTA/Data61



More information about the Pkg-phototools-devel mailing list