[Digikam-devel] [Bug 243760] New: Import *listing* from "Canon PowerShot G5 (normal mode)" takes very long

Axel Thimm Axel.Thimm at ATrpms.net
Tue Jul 6 13:39:50 BST 2010


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

           Summary: Import *listing* from "Canon PowerShot G5 (normal
                    mode)" takes very long
           Product: digikam
           Version: 1.2.0
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Import
        AssignedTo: digikam-devel at kde.org
        ReportedBy: Axel.Thimm at ATrpms.net


Version:           1.2.0 (using KDE 4.4.4) 
OS:                Linux

When a Canon PowerShot G5 with a few pictures (20-30) - most of them in raw
format - is inserted the initial listing takes very long, in the order of 5-10
minutes. If the link hasn't timed out the thumbnails are downloaded properly.
For a successful import I reduced the number of pictures to 15:

The actual contents were:
  121    0 dr-x------   1 thimm    thimm           0 Jan  1  1970 .
   122    0 dr-x------   1 thimm    thimm           0 Jan  1  1970 ./DCIM
   123    0 dr-x------   1 thimm    thimm           0 Jan  1  1970
./DCIM/148CANON
   124 4481 -rw-------   1 thimm    thimm     4587934 Jul  6 13:18
./DCIM/148CANON/CRW_4891.CRW
   125 4375 -rw-------   1 thimm    thimm     4479816 Jul  6 13:18
./DCIM/148CANON/CRW_4892.CRW
   126 4391 -rw-------   1 thimm    thimm     4495932 Jul  6 13:18
./DCIM/148CANON/CRW_4893.CRW
   127 4399 -rw-------   1 thimm    thimm     4503980 Jul  6 13:18
./DCIM/148CANON/CRW_4894.CRW
   128 4402 -rw-------   1 thimm    thimm     4506944 Jul  6 13:18
./DCIM/148CANON/CRW_4895.CRW
   129 4409 -rw-------   1 thimm    thimm     4514670 Jul  6 13:18
./DCIM/148CANON/CRW_4896.CRW
   130 4405 -rw-------   1 thimm    thimm     4510460 Jul  6 13:18
./DCIM/148CANON/CRW_4897.CRW
   131 4396 -rw-------   1 thimm    thimm     4500732 Jul  6 13:18
./DCIM/148CANON/CRW_4898.CRW
   132 4405 -rw-------   1 thimm    thimm     4509920 Jul  6 13:18
./DCIM/148CANON/CRW_4899.CRW
   133 4584 -rw-------   1 thimm    thimm     4693036 Jul  6 13:19
./DCIM/148CANON/CRW_4900.CRW
   134 1826 -rw-------   1 thimm    thimm     1869597 Jul  6 13:12
./DCIM/148CANON/IMG_4890.JPG
   135    0 dr-x------   1 thimm    thimm           0 Jan  1  1970
./DCIM/149CANON
   136 4543 -rw-------   1 thimm    thimm     4651402 Jul  6 13:19
./DCIM/149CANON/CRW_4901.CRW
   137 4510 -rw-------   1 thimm    thimm     4617360 Jul  6 13:19
./DCIM/149CANON/CRW_4902.CRW
   138 4525 -rw-------   1 thimm    thimm     4632582 Jul  6 13:19
./DCIM/149CANON/CRW_4903.CRW
   139 4683 -rw-------   1 thimm    thimm     4794442 Jul  6 13:19
./DCIM/149CANON/CRW_4904.CRW
   140    0 dr-x------   1 thimm    thimm           0 Jan  1  1970
./DCIM/CANONMSC
   141    0 dr-x------   1 thimm    thimm           0 Jan  1  1970 ./MISC

gphoto2 detected the camera as follows:
$ gphoto2 --auto-detect
Model                          Port                                            
----------------------------------------------------------
Canon PowerShot G5 (normal mode) usb:            
Canon PowerShot G5 (normal mode) usb:005,006     

digikam's history log said:
13:17:49 :: Connecting to camera...
13:17:49 :: Connection established.
13:17:50 :: Listing folders...
13:17:50 :: The folders have been listed.
13:17:50 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on
usb%3A005,006...
13:17:50 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,006 have
been listed.
13:17:50 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on
usb%3A005,006/DCIM...
13:17:50 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,006/DCIM
have been listed.
13:17:50 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on
usb%3A005,006/DCIM/148CANON...
13:22:29 :: The files in /home/thimm/.gvfs/gphoto2 mount on
usb%3A005,006/DCIM/148CANON have been listed.
13:22:29 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on
usb%3A005,006/DCIM/149CANON...
13:24:19 :: The files in /home/thimm/.gvfs/gphoto2 mount on
usb%3A005,006/DCIM/149CANON have been listed.
13:24:19 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on
usb%3A005,006/DCIM/CANONMSC...
13:24:19 :: The files in /home/thimm/.gvfs/gphoto2 mount on
usb%3A005,006/DCIM/CANONMSC have been listed.
13:24:19 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on
usb%3A005,006/MISC...
13:24:19 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,006/MISC
have been listed.
13:24:19 :: Getting thumbnails for CRW_4904.CRW...
13:24:48 :: Getting thumbnails for CRW_4903.CRW...
13:25:15 :: Getting thumbnails for CRW_4902.CRW...
13:25:42 :: Getting thumbnails for CRW_4901.CRW...
13:26:10 :: Getting thumbnails for CRW_4900.CRW...
13:26:37 :: Getting thumbnails for CRW_4899.CRW...
13:27:04 :: Getting thumbnails for CRW_4898.CRW...
13:27:31 :: Getting thumbnails for CRW_4897.CRW...
13:27:57 :: Getting thumbnails for CRW_4896.CRW...
13:28:24 :: Getting thumbnails for CRW_4895.CRW...
13:28:51 :: Getting thumbnails for CRW_4894.CRW...
13:29:17 :: Getting thumbnails for CRW_4893.CRW...
13:29:44 :: Getting thumbnails for CRW_4892.CRW...
13:30:10 :: Getting thumbnails for CRW_4891.CRW...
13:30:37 :: Getting thumbnails for IMG_4890.JPG...

Opening the camera in another application (gthumb, shotwell, f-spot) takes only
10-15 seconds for displaying the thumbnails.


Reproducible: Always

Steps to Reproduce:
1. Connect camera to usb port
2. Pick digikam for importing the contents


Actual Results:  
See above. The listing/thumbnail download is painfully slow to the point that
the link will disconnect.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list