Bug 370935

Summary: exporting to remote storage does not work
Product: [Applications] digikam Reporter: tomasz <tjkotula>
Component: Plugin-WebService-FileTransferAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: caulier.gilles, metzpinguin, philippe.quaglia
Priority: NOR    
Version: 5.2.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Attachments: export error

Description tomasz 2016-10-16 04:55:04 UTC
exporting any image to remote storage does not export anything.

Reproducible: Always

Steps to Reproduce:
1. Selected a number of images
2. went export to remote storage
3. selected a directory on my USB stick (although it fails for any location on my local drive)
4. clicked 'start export'


Actual Results:  
5. digikam comes back with "some of the images have not been transferred and are still in the list. you can try to reexport these images now"

Expected Results:  
OK - Done
and files are copied to a remote folder/directory/location
Comment 1 Maik Qualmann 2016-10-16 08:13:57 UTC
The problem is not reproducible here. Are the kipi-plugins also up to date?

Maik
Comment 2 caulier.gilles 2016-10-16 12:10:42 UTC
This plugins is the last one using KIO API, which require a lot of run-time dependencies from KF5 framework, which is a big mess.

Did you install the right sub component to run properly KIO slave ?

Gilles Caulier
Comment 3 tomasz 2016-10-17 04:39:39 UTC
Created attachment 101594 [details]
export error
Comment 4 tomasz 2016-10-17 04:40:30 UTC
I haven't installed any sub-components. I simply installed it via:
https://launchpad.net/~philip5/+archive/ubuntu/extra
Comment 5 caulier.gilles 2016-10-17 04:43:36 UTC
This is not the real error.

Try to run  digiKam from a console and report all traces when you try to use the tool.

Gilles Caulier
Comment 6 tomasz 2016-10-21 19:53:40 UTC
Hi Gilles,
Here is the output from a console:
kipi.plugins: Starting Remote Storage export
kipi.plugins: Creating new ImageListViewItem with url  QUrl("file:///home/tomasz/Pictures/2008-06-southernPoland/IMGP0227.JPG")  for list view  KIPIPlugins::KPImagesListView(0x2c57850)
kipi.plugins: Call for url  "" , valid =  false
kipi.plugins: pass here
kipi.plugins: Call for url  "file:///home/tomasz/Desktop" , valid =  true
kipi.plugins: Updated upload button with listNotEmpty =  true , targetUrl().isValid() =  true
kipi.plugins: Updated upload button with listNotEmpty =  true , targetUrl().isValid() =  true
kipi.plugins: Updated upload button with listNotEmpty =  true , targetUrl().isValid() =  true
kipi.plugins: Request to update thumbnail for  QUrl("file:///home/tomasz/Pictures/2008-06-southernPoland/IMGP0227.JPG")
kipi.plugins: Request to update thumbnail for  QUrl("file:///home/tomasz/Pictures/2008-06-southernPoland/IMGP0227.JPG")
kipi.plugins: KIPI host send thumb ( QSize(256, 171) ) for  QUrl("file:///home/tomasz/Pictures/2008-06-southernPoland/IMGP0227.JPG")
kipi.plugins: Update thumb in list for  QUrl("file:///home/tomasz/Pictures/2008-06-southernPoland/IMGP0227.JPG")
kipi.plugins: Received new thumbnail for url  QUrl("file:///home/tomasz/Pictures/2008-06-southernPoland/IMGP0227.JPG")  for view  KIPIPlugins::KPImagesListView(0x2c57850)
kipi.plugins: pass here
Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files")
klauncher not running... launching kdeinit
klauncher not running... launching kdeinit
klauncher not running... launching kdeinit
couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher5 was not provided by any .service files"
klauncher not running... launching kdeinit
klauncher not running... launching kdeinit
couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher5 was not provided by any .service files"
Comment 7 caulier.gilles 2016-10-22 12:23:55 UTC
As expected, a KDE internal component is missing from KIO framework.

It's a runtime dependency problem not a kipi plugin one. This is how KIO work : this need a lots of run time from KDE.

So it's packaging stuff...

Gilles Caulier
Comment 8 philippe.quaglia 2017-01-20 14:31:33 UTC
Get the same error with the latest 5.4. packaged by pphilips. In the console, i get the following error: «can not find kdeinit5 executable