Bug 288830

Summary: Could not delete picture: trash full
Product: [Applications] digikam Reporter: philippe.quaglia
Component: Database-TrashAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, hanser
Priority: NOR    
Version: 2.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.5.0
Attachments: The error message, while the trash bin is visible in the lower left corner, and is empty

Description philippe.quaglia 2011-12-12 18:38:38 UTC
Created attachment 66672 [details]
The error message, while the trash bin is visible in the lower left corner, and is empty

Version:           2.4.0
OS:                Linux

Digikam displays an error message "the trash has reached its maximum size…" and does not erase pictures, while the trash is empty

Reproducible: Always

Steps to Reproduce:
Try to erase pictures, get the message, even with an empty trash

Actual Results:  
Could not erase picture

Expected Results:  
Should erase pictures
Comment 1 caulier.gilles 2011-12-12 18:43:16 UTC
We have already see this problem in the past. This message come from KDE, not digiKam (which do not manage trash as well, it's delegate to desktop)

Which desktop do you use ? KDE or Gnome ?

Gilles Caulier
Comment 2 philippe.quaglia 2011-12-12 18:47:43 UTC
Gnome
Comment 3 caulier.gilles 2011-12-12 19:17:17 UTC
I'm sure, it's a bug from Gnome, not digiKam or KDE. Gnome do not manage trash in the right way and do not pass trash property to KDELibs, which give the error...

Gilles
Comment 4 philippe.quaglia 2011-12-13 17:51:25 UTC
I don't know but it is a pain in the ass, and I haven't found any 
solution in the web (manually empty trash files…)


Le 12/12/2011 20:17, Gilles Caulier a écrit :
> https://bugs.kde.org/show_bug.cgi?id=288830
>
>
> Gilles Caulier<caulier.gilles@gmail.com>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |RESOLVED
>           Resolution|                            |UPSTREAM
>
>
>
>
> --- Comment #3 from Gilles Caulier<caulier gilles gmail com>   2011-12-12 19:17:17 ---
> I'm sure, it's a bug from Gnome, not digiKam or KDE. Gnome do not manage trash
> in the right way and do not pass trash property to KDELibs, which give the
> error...
>
> Gilles
>
Comment 5 caulier.gilles 2011-12-13 21:07:57 UTC
Look here :

https://bugs.kde.org/show_bug.cgi?id=145277

Gilles Caulier
Comment 6 Pierre Hanser 2011-12-13 21:20:34 UTC
when the problem exist with a Trash directory empty;
it's because the file $HOME/.local/share/Trash/metadata
contains invalid info.

suppress it and you should be ok
Comment 7 philippe.quaglia 2011-12-16 14:28:14 UTC
Many thanks,
it solved the problem !

Le 13/12/2011 22:20, Pierre Hanser a écrit :
> https://bugs.kde.org/show_bug.cgi?id=288830
>
>
> Pierre Hanser<hanser@club-internet.fr>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |hanser@club-internet.fr
>
>
>
>
> --- Comment #6 from Pierre Hanser<hanser club-internet fr>   2011-12-13 21:20:34 ---
> when the problem exist with a Trash directory empty;
> it's because the file $HOME/.local/share/Trash/metadata
> contains invalid info.
>
> suppress it and you should be ok
>