>From time to time I cannot export a picture. I've tried to "debug" this
a bit today to understand what is going on.

The scenario to reproduce is:

- start dt
- set the file manager to 3 picture in a row (that is, somewhat big
thumbnail)
- switch to an old filmroll (potentially on an external drive a bit
slower).
- export a picture from the filmroll

=> nothing happen, no export is taking place

Using darktable -d control I think I found what's wrong.

When you switch to an old filmroll dt start updating the thumbnail to
display them in big resolution, I have on the console:

> [revive_job] load image 43495 mip 2
> [add_job] 30 load image 43495 mip 2
> [add_job] too many jobs in queue!
> [revive_job] load image 43496 mip 2
> [add_job] 30 load image 43496 mip 2
> [add_job] too many jobs in queue!
> [revive_job] load image 43589 mip 2
> [add_job] 30 load image 43589 mip 2

The queue is full.

When I click on the export button my job did not get inserted into the
queue because it is full. This is probably done in
control.c:dt_control_add_job() 

If I wait long enough for dt to hanles all jobs in the queue I can
export.

Would it be possible to insert export job with higher priority to avoid
them being removed?

Anyway I'm not familiar enough with this code to find a way to fix.

Any idea?

Thanks,

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to