[digiKam-users] can't move files to trash

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] can't move files to trash

leoutation
Hi
conditions:
last digikam-git
Arch system
Local installation on HD
On computer N°2 where i recently installed digikam, i can't move files
to trash: message "could not move image to collection trash" (On an
other computer N°1, trash function works fine with exactly same digikam
version and conditions)
I checked permissions, directories are set 700
Kio is installed  on computers 1 an 2
There is enough place on disk
May be interesting: digikam consider my local collection as "on
removable media". It's not. I tried many times to set on "local" but
digikam doesn't want. First, it's displayed in "local", then, when i
come back in settings, it's diplayed in "removable"

console debug:
digikam.database: Number of files to be deleted: 1
digikam.general: Using  8  CPU core to run threads
digikam.general: Got image deletion notification from ItemViewUtilities
for  1  images.
digikam.general: Action Thread run  1  new jobs
digikam.iojob: Deleting:    "/home/mn/images/gtfr09-2.jpg"
digikam.iojob: File exists? true
digikam.iojob: Is to trash? true
digikam.iojob: DTrash: Image album root path: "/home/mn/images"
digikam.iojob: Trash folder for collection:  "/home/mn/images/.dtrash"
digikam.general: Event is dispatched through a passive pop-up
QLayout: Attempting to add QLayout "" to QWidget "", which already has a
layout
digikam.iojob: Thread Finished
digikam.general: One job is done
digikam.general: Cancel Main Thread


--
Maderios
Reply | Threaded
Open this post in threaded view
|

Re: can't move files to trash

Maik Qualmann
Try a new trash directory, remove/rename "/home/mn/images/.dtrash". Start
digikam again. Whether a local media or removable will be detected is queried
via the Solid API. How is the drive connected (SATA)?

Maik

Am Montag, 18. Februar 2019, 20:18:18 CET schrieb [hidden email]:

> Hi
> conditions:
> last digikam-git
> Arch system
> Local installation on HD
> On computer N°2 where i recently installed digikam, i can't move files
> to trash: message "could not move image to collection trash" (On an
> other computer N°1, trash function works fine with exactly same digikam
> version and conditions)
> I checked permissions, directories are set 700
> Kio is installed  on computers 1 an 2
> There is enough place on disk
> May be interesting: digikam consider my local collection as "on
> removable media". It's not. I tried many times to set on "local" but
> digikam doesn't want. First, it's displayed in "local", then, when i
> come back in settings, it's diplayed in "removable"
>
> console debug:
> digikam.database: Number of files to be deleted: 1
> digikam.general: Using  8  CPU core to run threads
> digikam.general: Got image deletion notification from ItemViewUtilities
> for  1  images.
> digikam.general: Action Thread run  1  new jobs
> digikam.iojob: Deleting:    "/home/mn/images/gtfr09-2.jpg"
> digikam.iojob: File exists? true
> digikam.iojob: Is to trash? true
> digikam.iojob: DTrash: Image album root path: "/home/mn/images"
> digikam.iojob: Trash folder for collection:  "/home/mn/images/.dtrash"
> digikam.general: Event is dispatched through a passive pop-up
> QLayout: Attempting to add QLayout "" to QWidget "", which already has a
> layout
> digikam.iojob: Thread Finished
> digikam.general: One job is done
> digikam.general: Cancel Main Thread




Reply | Threaded
Open this post in threaded view
|

[digiKam-users] [SOLVED] Re: can't move files to trash

leoutation
On 2/18/19 8:37 PM, Maik Qualmann wrote:
> Try a new trash directory, remove/rename "/home/mn/images/.dtrash". Start
> digikam again. Whether a local media or removable will be detected is queried
> via the Solid API. How is the drive connected (SATA)?
>
Yes, drive is SATA with /home partition, like on computer 1
I removed .dtrash then restart digikam. Trash works normally now.
Thanks :)
But i don't understand why digikam considers sata drive as "removable"...

--
Maderios
Reply | Threaded
Open this post in threaded view
|

Re: [SOLVED] Re: can't move files to trash

Maik Qualmann
Post the output of "solid-hardware list details". It is enough to post the
sections with the corresponding disk drive.

Maik

Am Montag, 18. Februar 2019, 21:03:53 CET schrieb [hidden email]:
> On 2/18/19 8:37 PM, Maik Qualmann wrote:
> > Try a new trash directory, remove/rename "/home/mn/images/.dtrash". Start
> > digikam again. Whether a local media or removable will be detected is
> > queried via the Solid API. How is the drive connected (SATA)?
>
> Yes, drive is SATA with /home partition, like on computer 1
> I removed .dtrash then restart digikam. Trash works normally now.
> Thanks :)
> But i don't understand why digikam considers sata drive as "removable"...




Reply | Threaded
Open this post in threaded view
|

Re: [SOLVED] Re: can't move files to trash

leoutation
On 2/18/19 9:18 PM, Maik Qualmann wrote:
> Post the output of "solid-hardware list details". It is enough to post the
> sections with the corresponding disk drive.

It's an internal PC disk

ATA Disk
/0/2/0.0.0
product: ST2000DM001-1CH1
vendor: Seagate
bus info: scsi@9:0.0.0
logical name: /dev/sda
version: CC26
serial: Z1E3KHF3
size: 1863GiB (2TB)
capabilities:
        support is removable
configuration:
        ansiversion: 5
        logicalsectorsize: 512
        sectorsize: 4096

> Maik
>
> Am Montag, 18. Februar 2019, 21:03:53 CET schrieb [hidden email]:
>> On 2/18/19 8:37 PM, Maik Qualmann wrote:
>>> Try a new trash directory, remove/rename "/home/mn/images/.dtrash". Start
>>> digikam again. Whether a local media or removable will be detected is
>>> queried via the Solid API. How is the drive connected (SATA)?
>>
>> Yes, drive is SATA with /home partition, like on computer 1
>> I removed .dtrash then restart digikam. Trash works normally now.
>> Thanks :)
>> But i don't understand why digikam considers sata drive as "removable"...
>
>
>
>


--
Maderios
Reply | Threaded
Open this post in threaded view
|

Re: [SOLVED] Re: can't move files to trash

Maik Qualmann

Is this the output of "solid-hardware list details"? Looks different with me, here for comparison. But also here is that the drive is removable.

 

udi = '/org/freedesktop/UDisks2/drives/ST1000NM0011_Z1N2F20F'
 parent = '/org/freedesktop/UDisks2'  (string)
 vendor = ''  (string)
 product = 'ST1000NM0011'  (string)
 description = '931,5 GiB Hard Drive'  (string)
 Block.major = 8  (0x8)  (int)
 Block.minor = 18  (0x12)  (int)
 Block.device = '/dev/sdb2'  (string)
 StorageDrive.bus = 'Sata'  (0x4)  (enum)
 StorageDrive.driveType = 'HardDisk'  (0x0)  (enum)
 StorageDrive.removable = false  (bool)
 StorageDrive.hotpluggable = false  (bool)
 StorageDrive.inUse = true  (bool)
 StorageDrive.size = 1000204886016  (0xe8e0db6000)  (qulonglong)

Maik

 

Am Dienstag, 19. Februar 2019, 18:59:29 CET schrieb [hidden email]:

> On 2/18/19 9:18 PM, Maik Qualmann wrote:

> > Post the output of "solid-hardware list details". It is enough to post the

> > sections with the corresponding disk drive.

>

> It's an internal PC disk

>

> ATA Disk

> /0/2/0.0.0

> product: ST2000DM001-1CH1

> vendor: Seagate

> bus info: scsi@9:0.0.0

> logical name: /dev/sda

> version: CC26

> serial: Z1E3KHF3

> size: 1863GiB (2TB)

> capabilities:

> support is removable

> configuration:

> ansiversion: 5

> logicalsectorsize: 512

> sectorsize: 4096

>

> > Maik

> >

> > Am Montag, 18. Februar 2019, 21:03:53 CET schrieb [hidden email]:

> >> On 2/18/19 8:37 PM, Maik Qualmann wrote:

> >>> Try a new trash directory, remove/rename "/home/mn/images/.dtrash".

> >>> Start

> >>> digikam again. Whether a local media or removable will be detected is

> >>> queried via the Solid API. How is the drive connected (SATA)?

> >>

> >> Yes, drive is SATA with /home partition, like on computer 1

> >> I removed .dtrash then restart digikam. Trash works normally now.

> >> Thanks :)

> >> But i don't understand why digikam considers sata drive as "removable"...

 

 

Reply | Threaded
Open this post in threaded view
|

Re: [SOLVED] Re: can't move files to trash

leoutation
On 2/19/19 9:58 PM, Maik Qualmann wrote:
> Is this the output of "solid-hardware list details"? Looks different
> with me, here for comparison. But also here is that the drive is removable.

How did you get your list? :)

In my case, hard drive is internal. Some years ago, I bought it and
screwed it in computer box then connected to motherboard. For me it's
not a "removable" drive because it is installed definitively inside
computer. I have other hd that I put in usb box. It's usb drive, i use
to backup. This one one is "removable".

>
> udi = '/org/freedesktop/UDisks2/drives/ST1000NM0011_Z1N2F20F'
>   parent = '/org/freedesktop/UDisks2'  (string)
>   vendor = ''  (string)
>   product = 'ST1000NM0011'  (string)
>   description = '931,5 GiB Hard Drive'  (string)
>   Block.major = 8  (0x8)  (int)
>   Block.minor = 18  (0x12)  (int)
>   Block.device = '/dev/sdb2'  (string)
>   StorageDrive.bus = 'Sata'  (0x4)  (enum)
>   StorageDrive.driveType = 'HardDisk'  (0x0)  (enum)
>   StorageDrive.removable = false  (bool)
>   StorageDrive.hotpluggable = false  (bool)
>   StorageDrive.inUse = true  (bool)
>   StorageDrive.size = 1000204886016  (0xe8e0db6000)  (qulonglong)
>
> Maik
>
> Am Dienstag, 19. Februar 2019, 18:59:29 CET schrieb [hidden email]:
>
>  > On 2/18/19 9:18 PM, Maik Qualmann wrote:
>
>  > > Post the output of "solid-hardware list details". It is enough to
> post the
>
>  > > sections with the corresponding disk drive.
>
>  >
>
>  > It's an internal PC disk
>
>  >
>
>  > ATA Disk
>
>  > /0/2/0.0.0
>
>  > product: ST2000DM001-1CH1
>
>  > vendor: Seagate
>
>  > bus info: scsi@9:0.0.0
>
>  > logical name: /dev/sda
>
>  > version: CC26
>
>  > serial: Z1E3KHF3
>
>  > size: 1863GiB (2TB)
>
>  > capabilities:
>
>  > support is removable
>
>  > configuration:
>
>  > ansiversion: 5
>
>  > logicalsectorsize: 512
>
>  > sectorsize: 4096
>
>  >
>
>  > > Maik
>
>  > >
>
>  > > Am Montag, 18. Februar 2019, 21:03:53 CET schrieb [hidden email]:
>
>  > >> On 2/18/19 8:37 PM, Maik Qualmann wrote:
>
>  > >>> Try a new trash directory, remove/rename "/home/mn/images/.dtrash".
>
>  > >>> Start
>
>  > >>> digikam again. Whether a local media or removable will be detected is
>
>  > >>> queried via the Solid API. How is the drive connected (SATA)?
>
>  > >>
>
>  > >> Yes, drive is SATA with /home partition, like on computer 1
>
>  > >> I removed .dtrash then restart digikam. Trash works normally now.
>
>  > >> Thanks :)
>
>  > >> But i don't understand why digikam considers sata drive as
> "removable"...
>


--
Maderios