Bug#803929: darktable: File export is broken

2015-11-03 Thread Peter Chubb
> "Roman" == Roman Lebedev  writes:
Roman> Please run dt without any  -d ???  command line arguments like this:
Roman> $ darktable
Roman> And paste ALL the output, without cutting out anything, starting with
Roman> $ darktable.

Just Darktable on its own imports no files.
I generally give it some jpegs to work on.

Here's the total output, including the command line.

peterc@Diprotodon:/media/peterc/AAD7-4CE2/DCIM/100_1001$ darktable *
[imageio_storage_disk] could not export to file: `/tmp/IMG_0001.jpg'!

Peter C



Bug#803929: darktable: File export is broken

2015-11-03 Thread Roman Lebedev
On Wed, Nov 4, 2015 at 12:58 AM, Peter Chubb  wrote:
>> "Roman" == Roman Lebedev  writes:
>
> Roman> On Tue, Nov 3, 2015 at 1:13 PM, Peter Chubb
> Roman>  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.
Please run dt without any  -d ???  command line arguments like this:
$ darktable
And paste ALL the output, without cutting out anything, starting with
$ darktable.

>
> 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 
> 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



Bug#803929: darktable: File export is broken

2015-11-03 Thread Peter Chubb
> "Roman" == Roman Lebedev  writes:

Roman> On Tue, Nov 3, 2015 at 1:13 PM, Peter Chubb
Roman>  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 
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



Bug#803929: darktable: File export is broken

2015-11-03 Thread Roman Lebedev
On Tue, Nov 3, 2015 at 1:13 PM, Peter Chubb  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'!
This looks like a Debian BTS#792209

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

>
>
>
>
>
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable
>   APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
> 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386, armhf, armel, arm64
>
> Kernel: Linux 4.3.0-rc7+ (SMP w/8 CPU cores)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages darktable depends on:
> ii  gtk2-engines  1:2.20.2-3
> ii  libatk1.0-0   2.18.0-1
> ii  libc6 2.19-22
> ii  libcairo2 1.14.2-2
> ii  libcolord21.2.11-1
> ii  libcurl3-gnutls   7.44.0-1
> ii  libexiv2-14   0.25-2.1
> ii  libflickcurl0 1.25-3
> ii  libgcc1   1:5.2.1-16
> ii  libgdk-pixbuf2.0-02.32.1-1
> ii  libgl1-mesa-glx [libgl1]  11.0.4-1
> ii  libglib2.0-0  2.46.1-1
> ii  libglu1-mesa [libglu1]9.0.0-2.1
> ii  libgomp1  5.2.1-16
> ii  libgphoto2-6  2.5.8-3
> ii  libgphoto2-port12 2.5.8-3
> ii  libgtk2.0-0   2.24.28-1
> ii  libice6   2:1.0.9-1+b1
> ii  libilmbase6v5 1.0.1-6.2
> ii  libjpeg62-turbo   1:1.4.1-2
> ii  libjs-prototype   1.7.1-3
> ii  libjs-scriptaculous   1.9.0-2
> ii  libjson-glib-1.0-01.0.4-2
> ii  liblcms2-22.6-3+b3
> ii  liblensfun0   0.2.8-2
> ii  liblua5.2-0   5.2.4-1
> ii  libopenexr6v5 1.6.1-8.1+b2
> ii  libpango-1.0-01.38.1-1
> ii  libpangocairo-1.0-0   1.38.1-1
> ii  libpng12-01.2.50-2+b2
> ii  librsvg2-22.40.11-1
> ii  libsdl1.2debian   1.2.15-11
> ii  libsm62:1.2.2-1+b1
> ii  libsoup2.4-1  2.52.1-1
> ii  libsqlite3-0  3.9.1-2
> ii  libstdc++65.2.1-16
> ii  libtiff5  4.0.5-1
> ii  libx11-6  2:1.6.3-1
> ii  libxext6  2:1.3.3-1
> ii  libxml2   2.9.2+zdfsg1-4
> ii  libxrandr22:1.5.0-1
> ii  zlib1g1:1.2.8.dfsg-2+b1
>
> darktable recommends no packages.
>
> darktable suggests no packages.
>
> -- no debconf information
>
>



Bug#803929: darktable: File export is broken

2015-11-03 Thread Peter Chubb
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'!

The export file pattern is $(FILE_DIRECTORY)/darktable/IMG_$(SEQUENCE)



 


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64

Kernel: Linux 4.3.0-rc7+ (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages darktable depends on:
ii  gtk2-engines  1:2.20.2-3
ii  libatk1.0-0   2.18.0-1
ii  libc6 2.19-22
ii  libcairo2 1.14.2-2
ii  libcolord21.2.11-1
ii  libcurl3-gnutls   7.44.0-1
ii  libexiv2-14   0.25-2.1
ii  libflickcurl0 1.25-3
ii  libgcc1   1:5.2.1-16
ii  libgdk-pixbuf2.0-02.32.1-1
ii  libgl1-mesa-glx [libgl1]  11.0.4-1
ii  libglib2.0-0  2.46.1-1
ii  libglu1-mesa [libglu1]9.0.0-2.1
ii  libgomp1  5.2.1-16
ii  libgphoto2-6  2.5.8-3
ii  libgphoto2-port12 2.5.8-3
ii  libgtk2.0-0   2.24.28-1
ii  libice6   2:1.0.9-1+b1
ii  libilmbase6v5 1.0.1-6.2
ii  libjpeg62-turbo   1:1.4.1-2
ii  libjs-prototype   1.7.1-3
ii  libjs-scriptaculous   1.9.0-2
ii  libjson-glib-1.0-01.0.4-2
ii  liblcms2-22.6-3+b3
ii  liblensfun0   0.2.8-2
ii  liblua5.2-0   5.2.4-1
ii  libopenexr6v5 1.6.1-8.1+b2
ii  libpango-1.0-01.38.1-1
ii  libpangocairo-1.0-0   1.38.1-1
ii  libpng12-01.2.50-2+b2
ii  librsvg2-22.40.11-1
ii  libsdl1.2debian   1.2.15-11
ii  libsm62:1.2.2-1+b1
ii  libsoup2.4-1  2.52.1-1
ii  libsqlite3-0  3.9.1-2
ii  libstdc++65.2.1-16
ii  libtiff5  4.0.5-1
ii  libx11-6  2:1.6.3-1
ii  libxext6  2:1.3.3-1
ii  libxml2   2.9.2+zdfsg1-4
ii  libxrandr22:1.5.0-1
ii  zlib1g1:1.2.8.dfsg-2+b1

darktable recommends no packages.

darktable suggests no packages.

-- no debconf information