Bug 372680 - Cannot delete files from NAS
Summary: Cannot delete files from NAS
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Trash (show other bugs)
Version: 5.3.0
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-19 23:16 UTC by dajomu
Modified: 2020-06-08 03:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0
Sentry Crash Report:


Attachments
Screenshot of error message (786.24 KB, image/png)
2016-11-21 19:59 UTC, dajomu
Details
digikam Console debug report (14.67 KB, text/plain)
2016-11-27 20:15 UTC, dajomu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dajomu 2016-11-19 23:16:34 UTC
I am not able to delete photos stored on a NAS even though I can delete them using file browser. I am using Ubuntu 16.10 and have mounted the NAS from the fstab like this - //192.168.10.107/photo  /media/photos  cifs  username=username,password=password,iocharset=utf8,sec=ntlm,users  0  0
Comment 1 Maik Qualmann 2016-11-20 11:30:55 UTC
When you delete a file, please post the message from the console.

Maik
Comment 2 dajomu 2016-11-21 19:59:02 UTC
Created attachment 102371 [details]
Screenshot of error message

Screenshot of the error message I get when trying to delete. Not very informative.
Comment 3 caulier.gilles 2016-11-21 20:56:44 UTC
No. Maik, ask you to run digiKam from a console and report all debug statements printed inside while you try to delete file.

Gilles Caulier
Comment 4 dajomu 2016-11-27 20:15:49 UTC
Created attachment 102478 [details]
digikam Console debug report
Comment 5 dajomu 2016-11-27 20:16:45 UTC
This might be a bit more informative.
Comment 6 caulier.gilles 2016-11-28 08:51:03 UTC
There is no explicit error message visible from the console trace...

Can you reproduce the problem using digiKam Linux AppImage bundle ? The last bundle is available at this url:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 7 dajomu 2016-11-28 22:39:36 UTC
Hi,

I tried the appimage, but haven't been able to test yet. Digikam does not show any menues and it defaulted to scan my whole collection. This will take some time, but I will report back when it is done and tested.
Thanks
Comment 8 dajomu 2016-12-04 20:25:07 UTC
Hi,

I could not figure out why digikam could not get access to trash and I am not even quite sure which trash it wants access to. Is it trash on my NAS or laptop? If it is trash on my laptop, I am wondering if digikam knows where Ubuntus' trash is located in the file system.
Comment 9 Mario Frank 2017-02-28 15:54:09 UTC
(In reply to dajomu from comment #8)
> Hi,
> 
> I could not figure out why digikam could not get access to trash and I am
> not even quite sure which trash it wants access to. Is it trash on my NAS or
> laptop? If it is trash on my laptop, I am wondering if digikam knows where
> Ubuntus' trash is located in the file system.

digiKam does not access the trash of your OS. It creates its own trash - according to your log in folder /media/photos/.dtrash .
When you "delete" an image and go to the trash in digiKam, are the "deleted" images listed there?
Comment 10 caulier.gilles 2017-04-16 20:24:40 UTC
new 5.6.0 pre-release as bundle is available here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Please check if this problem still reproducible with these versions.

Thanks in advance

Gilles Caulier
Comment 11 caulier.gilles 2017-06-22 21:42:39 UTC
digiKam 5.6.0 is now released and available as bundle for Linux, MacOS and Windows.

https://www.digikam.org/news/2017-06-21-5.6.0-release-announcement/

Can you check if problem still exists with this version ?

Thanks in advance

Gilles Caulier
Comment 12 caulier.gilles 2018-08-17 21:30:45 UTC
Can you reproduce the dysfunction using digiKam 6.0.0 pre-release bundle
available here :

https://files.kde.org/digikam/
Comment 13 caulier.gilles 2018-12-31 11:50:59 UTC
Can you reproduce the dysfunction using the last digiKam 6.0.0-beta3 just
released ?

https://www.digikam.org/news/2018-12-30-6.0.0-beta3_release_announcement/