Bug 144247 - No file attachment in thunderbird
Summary: No file attachment in thunderbird
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: 5.6.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-15 12:04 UTC by GK
Modified: 2017-06-29 14:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GK 2007-04-15 12:04:18 UTC
Version:           0.1.3 (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
OS:                Linux

Hi!
I a problem with Thunderbird 1.5.0.10 and KIPI-Plugins 0.1.3 and it's no duplicate of bug 132220, because the output of commandline is different.
The output of sending one images looks like this (sorry for the german translation):
------------------------------
invokeMailagent1: Anzahl der Elemente in m_filesSendList=1, und in der m_filesSendList_copy=1)
m_attachmentlimit: 768000
Imagename: /tmp/kde-Gernot/kipi-sendimagesplugin-4717/Neues_Album_erstellen-p1000836_jpg.jpg
filesize: 57060
mylistsize: 57060; attachmentlimit: 768000
invokeMailagent2: Anzahl der Elemente in m_filesSendList=0, und in der m_filesSendList_copy=1)
number of elements in filelist 1
number of elements in m_filelist 0
------------------------------

There is no error message, but thunderbird opens the "new mail" window WITHOUT an attached file.
Is it a problem with KIPI or my thunderbird version? thx
Comment 1 Sascha 2007-05-29 22:33:15 UTC
I have the same problem.

Thunderbird 1.5.0.10 opens a new mail but no image is included in this mail.

console:
KIPI (loading): Kipi-plugins - Send Images  - Kipi-plugins 0.1.3-rc1
Resizing /home/se/Bilder/2007/2007_05_02_IXUS800_01/IXUS800_01_752_IMG_1911.JPG-> '/tmp/kde-se/kipi-sendimagesplugin-10888/ 2007_05_02_IXUS800_01-IXUS800_01_752_IMG_1911_JPG.jpg ' (JPEG ; 800 )
Resizing /home/se/Bilder/2007/2007_05_02_IXUS800_01/IXUS800_01_752_IMG_1912.JPG-> '/tmp/kde-se/kipi-sendimagesplugin-10888/ 2007_05_02_IXUS800_01-IXUS800_01_752_IMG_1912_JPG.jpg ' (JPEG ; 800 )
m_attachmentlimit: 7698000
Imagename: /tmp/kde-se/kipi-sendimagesplugin-10888/2007_05_02_IXUS800_01-IXUS800_01_752_IMG_1911_JPG.jpg
filesize: 55402
mylistsize: 55402; attachmentlimit: 7698000
m_attachmentlimit: 7698000
Imagename: /tmp/kde-se/kipi-sendimagesplugin-10888/2007_05_02_IXUS800_01-IXUS800_01_752_IMG_1912_JPG.jpg
filesize: 76728
mylistsize: 132130; attachmentlimit: 7698000
number of elements in filelist 2
number of elements in m_filelist 0
Comment 2 Michael Höchstetter 2007-06-06 03:40:45 UTC
i have the newest svn of kipi-plugins installed and mozilla 1.5.0.10 (kubuntu feisty)
and everything works. Please be so kind and update your kipi-plugins. Please care not to use thunderbird 1.5.0.1. 
As it can be seen in page http://kb.mozillazine.org/Command_line_arguments_(Thunderbird):
There was a bug in thunderbird commandline parsing.

Then please report again.
Comment 3 GK 2007-08-28 15:34:47 UTC
Tried it with newest kipi-plugins and libkipi (which are in gentoo portage) and Thunderbird 1.5.0.10 and Thunderbird 2.0.
Still the same problem...
Comment 4 Terry Atwell 2007-09-20 04:39:22 UTC
I have this same issue on two different installations. Digikam version is 0.9.2-final; thunderbird version is 2.0.0.6; KDE version is 3.5.7 release 67; OS is OpenSuse 10.3b3 on on one pc and OpenSuse 10.2 on the other.kipi plugins version is 0.1.4-33. I have Thunderbird set as default email client. When I try to send an image from digikam Thunderbird opens but without an image attachment. Any ideas as to what the solution may be? 
Comment 5 Terry Atwell 2007-09-20 13:40:23 UTC
I have another piece of information on this issue...if I select kmail as the mail client on the digikam mail window, then when digikam opens up kmail the photo shows as an attachment just like it should. However, I definitely have thunderbird set as my default mail client. If I set the mail client on the digikam window to "default", when digikam opens thunderbird there isn't an attachment window. Another odd thing is that if I select thunderbird, the binary path is set to /usr/bin/mozilla-thunderbird , but digikam returns an error saying "file binary path isn't valid". So something funny is going on here. I'll continue to look around for any other pieces of the puzzle, but I would be interested to know if anyone has any ideas.
Comment 6 Terry Atwell 2007-09-20 13:57:21 UTC
I fixed this issue just a few minutes ago. Here is the solution I found. As per my last message, if I used what digikam considered the default email client-on my unit thunderbird-then digikam would open thunderbird, but would not attach a file. If I set the digikam mail client to thunderbird, the the binary path reported /usr/bin/mozilla-thunderbird would return an invalid path message. After thinking about this, I did a whereis in console and found that the correct binary path should be /usr/bin/thunderbird. I then set this path under the thunderbird selection and digikam would open thunderbird and attach a file. I am still puzzled as to what the problem is, but this workaround does work for me. 
Comment 7 GK 2007-10-14 09:55:22 UTC
Hi!
Thank you for your tipp, Terry!
It works for me, but only if Thunderbird is already started, before I click "Send by mail" in digikam. It's a workaround... but it works :-)
Comment 8 caulier.gilles 2017-06-29 14:07:45 UTC
Problem not reproducible with new Send by Mail tool implemented in digiKam core
with next 5.7.0

Gilles Caulier