Bug 377626 - Email image not working
Summary: Email image not working
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: 5.6.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 22:09 UTC by Andrius
Modified: 2022-01-01 22:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius 2017-03-14 22:09:29 UTC
If I select Mail program - "Thunderbird" I get this:

Starting "thunderbird" program...
After having sent your images by email...
Press 'Close' button to clean up temporary files

but nothing happens in Thunderbird

Here is terminal output:
kipi.plugins: Creating new ImageListViewItem with url  QUrl("file:///media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG")  for list view  KIPIPlugins::KPImagesListView(0x42faf70)
kipi.plugins: Request to update thumbnail for  QUrl("file:///media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG")
kipi.plugins: KIPI host send thumb ( QSize(256, 170) ) for  QUrl("file:///media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG")
kipi.plugins: Update thumb in list for  QUrl("file:///media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG")
kipi.plugins: Received new thumbnail for url  QUrl("file:///media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG")  for view  KIPIPlugins::KPImagesListView(0x42faf70)
kipi.plugins: KIPI host send thumb ( QSize(256, 170) ) for  QUrl("file:///media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG")
kipi.plugins: Update thumb in list for  QUrl("file:///media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG")
kipi.plugins: Received new thumbnail for url  QUrl("file:///media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG")  for view  KIPIPlugins::KPImagesListView(0x42faf70)
kipi.plugins: Cancel Main Thread
kipi.plugins: Using  4  CPU core to run threads
kipi.plugins: Cancel Main Thread
kipi.plugins: Attachment limit:  17825792
kipi.plugins: File:  "/media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG"  Size:  12069808
kipi.plugins: Current list size:  12069808
kipi.plugins: Command Line:  "thunderbird" ("-compose", "attachment='file:///media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG'")
kipi.plugins: Attachment limit:  17825792
XPCOMGlueLoad error for file /usr/lib/thunderbird/libxul.so:
/usr/lib/thunderbird/libxul.so: undefined symbol: sqlite3_unlock_notify
Couldn't load XPCOM.

If I select Mail program - Default
I only get this:

Starting default desktop email program...

and nothing else happens.

Here is terminal output:

kipi.plugins: Using  4  CPU core to run threads
kipi.plugins: Cancel Main Thread
kipi.plugins: Attachment limit:  17825792
kipi.plugins: File:  "/media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG"  Size:  12069808
kipi.plugins: Current list size:  12069808
kipi.plugins: Email Url:  QUrl("mailto:?attachment=/media/data/FamilyPictures/2016/2016-10/20161008/IMGP2510.JPG")
kipi.plugins: Attachment limit:  17825792
XPCOMGlueLoad error for file /usr/lib/thunderbird/libxul.so:
/usr/lib/thunderbird/libxul.so: undefined symbol: sqlite3_unlock_notify
Couldn't load XPCOM.
Comment 1 caulier.gilles 2017-03-14 22:19:15 UTC
The error is explicit. there is a broken binary compatibility on your system libraries form thunderbird. Does the standalone email client work fine outside the digiKam bundle ?

Gilles Caulier
Comment 2 Andrius 2017-03-14 22:20:13 UTC
(In reply to caulier.gilles from comment #1)
> The error is explicit. there is a broken binary compatibility on your system
> libraries form thunderbird. Does the standalone email client work fine
> outside the digiKam bundle ?
> 
> Gilles Caulier

Yes it does. Using it right now
Comment 3 Andrius 2017-03-15 19:15:57 UTC
Not working in AppImage on OpenSUSE either.
Works in the installed digiKam 5.4.0 though.
Comment 4 Andrius 2017-05-30 15:32:01 UTC
It is not working in appimage 5.6.0 on OpenSUSE still

kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mailto"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mailto"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mailto"
kf5.kio.core: "preferred service for x-scheme-handler/mailto" "org.kde.kmail"
/usr/bin/kmail: /tmp/.mount_gCcNgJ/usr/lib/libQt5Widgets.so.5: version `Qt_5.7.1_PRIVATE_API' not found (required by /usr/lib64/libQt5WebEngineWidgets.so.5)
/usr/bin/kmail: /tmp/.mount_gCcNgJ/usr/lib/libQt5Core.so.5: version `Qt_5.7.1_PRIVATE_API' not found (required by /usr/lib64/libQt5WebEngineCore.so.5)
/usr/bin/kmail: /tmp/.mount_gCcNgJ/usr/lib/libQt5Core.so.5: version `Qt_5.7.1_PRIVATE_API' not found (required by /usr/lib64/libKF5Declarative.so.5)
/usr/bin/kmail: /tmp/.mount_gCcNgJ/usr/lib/libQt5Core.so.5: version `Qt_5.7.1_PRIVATE_API' not found (required by /usr/lib64/libQt5WebChannel.so.5)
Comment 5 Christoph Feck 2017-06-13 18:15:46 UTC
Comment #4 implies you are mixing incompatible packages from different KDE/Qt repositories. Please ask in a forum of your distribution which repositories are compatible.
Comment 6 Christoph Feck 2017-06-27 12:58:22 UTC
Any success with comment #5?
Comment 7 Christoph Feck 2017-07-14 22:59:04 UTC
To further investigate this issue, KDE developers need the information requested in comment #5. If you can provide it, or need help with finding that information, please add a comment.
Comment 8 Andrius 2017-07-14 23:05:19 UTC
(In reply to Christoph Feck from comment #7)
> To further investigate this issue, KDE developers need the information
> requested in comment #5. If you can provide it, or need help with finding
> that information, please add a comment.

Christoph,

Thanks for the followup. I am not sure what I need to ask on OpenSUSE forums though.
Is this what you looking for?
-----
zypper lr -r
Repository priorities in effect:                (See 'zypper lr -P' for details)
      99 (default priority) :  8 repositories
     100 (lowered priority) :  1 repository  

#  | Alias                               | Name                                                      | Enabled | GPG Check | Refresh
---+-------------------------------------+-----------------------------------------------------------+---------+-----------+--------
 1 | Packman-Repository                  | packman                                                   | Yes     | (r ) Yes  | Yes    
 2 | Printing                            | Printing System Development Project (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | No     
 3 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)                                 | Yes     | (r ) Yes  | Yes    
 4 | download.opensuse.org-oss           | Main Repository (OSS)                                     | Yes     | (r ) Yes  | Yes    
 5 | download.opensuse.org-tumbleweed    | Main Update Repository                                    | Yes     | (r ) Yes  | Yes    
 6 | home_rawtherapee                    | RawTherapee Home Project (openSUSE_Tumbleweed)            | Yes     | (r ) Yes  | No     
 7 | http-download.opensuse.org-ebd957a3 | Printing                                                  | Yes     | (r ) Yes  | Yes    
 8 | http-download.opensuse.org-f33f6ce7 | openSUSE:Tumbleweed                                       | Yes     | (r ) Yes  | Yes    
 9 | http-opensuse-guide.org-879692f8    | libdvdcss repository                                      | Yes     | (r ) Yes  | Yes    
10 | repo-debug                          | openSUSE-Tumbleweed-Debug                                 | No      | ----      | ----   
11 | repo-source                         | openSUSE-Tumbleweed-Source                                | No      | ----      | ----   
-----
Also, looks like "Send as e-mail" options is gone from digikam 5.7.0 appimage
Comment 9 Christoph Feck 2017-07-27 20:15:22 UTC
Since you are using non-standard repositories, you need to make sure all are build against the same Qt version. As far as I know, Tumbleweed regularily updates Qt version, so packages from other repositories have to be recompiled.

If this is still a problem with fresh repos, please ask for help in a forum of your distribution.
Comment 10 caulier.gilles 2022-01-01 22:38:47 UTC
Fixed with #414000