Bug 184954 - unable to delete items from camera - canon sx10is
Summary: unable to delete items from camera - canon sx10is
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 0.10.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-19 17:58 UTC by Nadav Kavalerchik
Modified: 2017-08-16 05:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nadav Kavalerchik 2009-02-19 17:58:51 UTC
Version:           0.10.0-rc1 (using 4.2.00 (KDE 4.2.0), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.26-1-amd64

after i download all the items (images and videos) to digikam i try to delete them too. but always (recently, i think) have difficulties deleting the images after several (10+/-) where deleted successfully. i get "unable to delete dialogs". i have to close and re-open the camera dialog and delete several item each time until they are all deleted.

i use canon PowerShot SX10IS. 

it seems to work just fine (i think) up until recently. 
maybe i updated digikam/gphoto2 and it is broken (a little?)

i used to have this kind of issue with old canon camera i had (not remember the model)

taking out the internal sd card and plugging it into the laptop works fine.
Comment 1 caulier.gilles 2009-02-19 18:16:48 UTC
Sound like another Canon Gphoto2 drivers dysfunction... Are you tried to use gphoto2 command line tool ?

Gilles Caulier
Comment 2 Nadav Kavalerchik 2009-02-19 19:33:56 UTC
yes :-( another one...

no. i did not try to use the gphoto2 cli. (should i ?)

i wait for the kde42 developers to enable a mounted camera device in dolphin
so i can test if it can delete the files easily from there.

i guess you can not really do any thing. 
so maybe you turn it to WONT-FIX / IRRELEVANT ?
Comment 3 caulier.gilles 2009-02-19 19:55:20 UTC
If you can test with gphoto2 tool, this can be informative for Marcus who is in this room and is the lead Gphoto2 developer...

Gilles Caulier
Comment 4 Nadav Kavalerchik 2009-02-19 20:14:05 UTC
sure :)

Marcus@ what should i try (what info would be valuable to you)
since, i have no experience and knowledge with the cli tools that comes with gphoto2
Comment 5 Marcus Meissner 2009-02-20 09:55:43 UTC
its pretty much a known issue with the Canon Powershots I am afraid, they occasionaly hick up on delete. (The camera sends delete notify events, if libgphoto misses them they get confused and hang.)

is "gphoto2 --auto-detect" recognizing it already as Canon, or still as USB PTP Class Camera?
Comment 6 Nadav Kavalerchik 2009-02-24 10:29:06 UTC
laptop:~# gphoto2 --auto-detect
Model                          Port
----------------------------------------------------------
USB PTP Class Camera           usb:
USB PTP Class Camera           usb:008,005

i mounted it using gphotofs and i get the same issues
thou, copy works fine.

as detected in the /var/log/messages:
 usb 8-1: Manufacturer: Canon Inc.
 usb 8-1: SerialNumber: 3DC62EC285EF4C60993A778032BAA8A0
 usb 8-1: USB disconnect, address 4
 usb 8-1: new high speed USB device using ehci_hcd and address 5
 usb 8-1: configuration #1 chosen from 1 choice
 usb 8-1: New USB device found, idVendor=04a9, idProduct=318d
 usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 usb 8-1: Product: Canon Digital Camera
 usb 8-1: Manufacturer: Canon Inc.
 usb 8-1: SerialNumber: 3DC62EC285EF4C60993A778032BAA8A0
Comment 7 Marcus Meissner 2009-02-24 13:50:53 UTC
yes, this will go away once the cameras is known.

The libgphoto2 2.4.4 stable release has it already, once your distributor upgrades to that version it should delete better.

not much we can do in digikam.
Comment 8 Nadav Kavalerchik 2009-04-12 14:03:27 UTC
fixed, 
with version libgphoto2 2.4.4 :-)