Summary: | digiKam doesn't copy pictures to Samba share mounted with autofs | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Jesse TeKrony <jtekspam> |
Component: | Import-PostProcessing | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | caulier.gilles, jtekspam |
Priority: | NOR | ||
Version: | 3.4.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.5.0 | |
Sentry Crash Report: |
Description
Jesse TeKrony
2013-09-30 03:41:11 UTC
One more thing that I might add is that digikam doesn't log anything to stdout about this. digiKam delegate all copy sttuff to network device to KDE kioslave interface. You must hack debug messages from KIOSLave : http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves Gilles Caulier "You can start klauncher in such a way that slaves for a certain protocol (the first parameter of KIO::SlaveBase() constructor of the slave class) are started in debug mode." What protocol does digiKam use? Using some bash-fu to search the source code gives me some results for "KIO::SlaveBase", but I can't seem to find anything indicating the protocol. (My knowledge of C++ is very basic) digikam-3.4.0/core/libs/database/imagelisterreceiver.cpp:125:ImageListerSlaveBaseReceiver::ImageListerSlaveBaseReceiver(KIO::SlaveBase* slave) digikam-3.4.0/core/libs/database/imagelisterreceiver.cpp:156:ImageListerSlaveBasePartsSendingReceiver::ImageListerSlaveBasePartsSendingReceiver(KIO::SlaveBase* slave, int limit) digikam-3.4.0/core/libs/database/imagelisterreceiver.cpp:173: ImageListerSlaveBaseGrowingPartsSendingReceiver(KIO::SlaveBase* slave, int start, int end, int increment) digikam-3.4.0/core/kioslave/digikamalbums.cpp:112:// ------------------------ Implementation of KIO::SlaveBase ------------------------ // digikam-3.4.0/core/kioslave/digikamsearch.cpp:52: explicit DuplicatesProgressObserver(KIO::SlaveBase* slave) : m_slave(slave) {} digikam-3.4.0/core/kioslave/digikamsearch.cpp:65: KIO::SlaveBase* m_slave; After fiddling around with the debugging settings a bit, I can see errors now: digikam(24165)/digikam (core) Digikam::UMSCamera::downloadItem: Failed to open dest file for writing: "/var/shares/pictures/2008_11/.digikam-camera-tmp1-24165Picture1.jpg" digikam(24165)/digikam (core) Digikam::UMSCamera::downloadItem: Failed to open dest file for writing: "/var/shares/pictures/2008_12/.digikam-camera-tmp1-24165Picture2.jpg" digikam(24165)/digikam (core) Digikam::UMSCamera::downloadItem: Failed to open dest file for writing: "/var/shares/pictures/2008_12/.digikam-camera-tmp1-24165Picture3.mov" ... I have also found that mounting using cifs in /etc/fstab doesn't work with digiKam either. I have gotten this to work in the past, but it seems broken now. Jesse, This file still valid using last digiKam 4.2.0 ? Gilles Caulier This file still valid using digiKam 5.0.0 ? Gilles Caulier This problem still reproducible using last DK 5.4.0 bundle ? https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWlRJenM Gilles Caulier digiKam 7.0.0 stable release is now published: https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/ We need a fresh feedback on this file using this version. Best Regards Gilles Caulier No feedback. Closed... |