On 06/01/16 11:17, Tobias Ellinghaus wrote:
> Am Mittwoch, 6. Januar 2016, 09:07:53 schrieb Terry Duell:
>> Hello All,
>> I am running a local build of the current git source on Fedora 23 x86_64.
>> Selecting export to email, with Thunderbird as preferred client results in
>> a line of text with image name and some image detail, but image is not
>> attached.
>> Changing my preferred email client to Opera gives the same result.
>> Is this known behaviour for these email clients or is this likely to be
>> problem with DT or my build?
>
> I am using KMail and for me attachments don't work either. While it's most
> likely not a bug in darktable here are some steps to find out what might be
> happening. From a shell start darktable like this:
>
> XDG_UTILS_DEBUG_LEVEL=1 darktable
>
> Then export to email and check the output on the console. darktable itself
> will tell you the command it used (running xdg-email), and the latter should
> tell you what it launched afterwards.
>
> Now you can try running those commands yourself and maybe look at
> /usr/bin/xdg-email (it's a shell script) to see what is happening. For my
> system I had to unset KDE_SESSION_VERSION to make it use kmailservice instead
> of kde-open5 which seems to ignore attachments.
>
>> Cheers,
>
> Tobias
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Darktable-users mailing list
> Darktable-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-users
>
Thanks Tobias for a pointer to the xdg-email script.
I'll try and see if I can figure out what is going on ...

I'm using Mint17.3 Cinnamon(64bit) with Thunderbird
The script runs fine, creates the file in .local/tmp and the Subject and 
Body fields as expected, opens Thunderbird message, but fails to pass 
the message as an attachment.

I'm pretty sure this a Thunderbird issue and not either dt or the 
xdg-email script though.

See below the output of XDG_UTILS_DEBUG_LEVEL=5 darktable

[email] launching `xdg-email --subject "images exported from darktable" 
--body " - PK5_3612.jpg (1/750 f/13.0 118mm iso 400)\n" --attach 
"/home/rlch/.local/tmp/PK5_3612.jpg" &'

DE is "gnome"

Checking /usr/share/applications/defaults.list

grep: /home/xxxx/.local/share/applications/: Is a directory

Running gvfs-open 
"mailto:?subject=images%20exported%20from%20darktable&body=%20%2D%20PK5%5F3612.jpg%20%281/750%20f/13.0%20118mm%20iso%20400%29%0D%0A&attach=/home/rlch/.local/tmp/PK5%5F3612.jpg";

(process:10828): GLib-CRITICAL **: g_slice_set_config: assertion 
'sys_page_size == 0' failed

This final line is a Mozilla error message and I guess that may be where 
the issue is.

If I discover anything useful I'll come back with it.

R.

------------------------------------------------------------------------------
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to