Bug 199985 - digikam,import, writing to sd card, bad folders
Summary: digikam,import, writing to sd card, bad folders
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: 1.0.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 10:17 UTC by Philippe ROUBACH
Modified: 2017-08-16 05:31 UTC (History)
2 users (show)

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


Attachments
memory card directory tree seen by digikam (43.95 KB, image/png)
2009-09-05 12:43 UTC, Philippe ROUBACH
Details
memory card directory tree seen by dolphin 1 (50.71 KB, image/png)
2009-09-05 12:44 UTC, Philippe ROUBACH
Details
memory card directory tree seen by dolphin 2 (61.19 KB, image/png)
2009-09-05 12:45 UTC, Philippe ROUBACH
Details
memory card directory tree seen by dolphin 3 (53.52 KB, image/png)
2009-09-05 12:45 UTC, Philippe ROUBACH
Details
memory card directory tree seen by dolphin 4 (53.46 KB, image/png)
2009-09-05 12:46 UTC, Philippe ROUBACH
Details
memory card directory tree seen by dolphin 5 (77.99 KB, image/png)
2009-09-05 12:47 UTC, Philippe ROUBACH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2009-07-13 10:17:44 UTC
Version:           1.0.0-beta2 (using 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2)), Mandriva Linux release 2010.0 (Cooker) for i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.30-desktop-2mnb

Steps to Reproduce:
1. plug a kodak c913
2. select digikam in the peripheral notification
3. go to 'import" in digikam
4. go to camera
5. go to kodak
6. in the import window supress a photo; this work
7. click on load button
8. select a photo
9. window of the dc folder opens

you don't see the 2 folders but a folder named /(0)
10 select /(0) then ok
then you have an error message

unable to load the file
Comment 1 Marcel Wiesweg 2009-08-01 15:04:41 UTC
I dont understand your report starting from here:

> 6. in the import window supress a photo; this work
supress?
> 7. click on load button
which load button?
> 8. select a photo
in the camera download dialog?
> 9. window of the dc folder opens
what is the dc folder?
> 
> you don't see the 2 folders but a folder named /(0)
> 10 select /(0) then ok

totally lost here

> then you have an error message
> 
> unable to load the file
Comment 2 Philippe ROUBACH 2009-09-03 12:42:30 UTC
(In reply to comment #1)

.5 select menu "import/still camera/kodak c913 ....
the import tool window opens
.6 in the window there are displayed photo thumbnails (photos in the camera memory card) then select a thumbnail then suppress it (suppress option in the contextual menu)
then photo is suppressed in the camera memory card

.7 in the button bar (under the menu bar) in the import tool window
click on "load" button
then
a window opens : the dolphin file selector
.8 select a photo to copy to the camera memory card then ok
.9 a window opens : the tree of the camera memory card directories

if the protocol to connect to the still camera works well you must see
a tree with 2 directories named "000dsc00001" (camera memory card) and "dsc0002"
(camera internal memory)

instead of this you see only a directory named "/(0)"

you cannot copy the photo to the memory card
Comment 3 Philippe ROUBACH 2009-09-03 12:44:21 UTC
Mandriva 2010.0b1
digikam 1.0.0b4

pb still there
Comment 4 Philippe ROUBACH 2009-09-05 12:43:32 UTC
Created attachment 36710 [details]
memory card directory tree seen by digikam
Comment 5 Philippe ROUBACH 2009-09-05 12:44:48 UTC
Created attachment 36711 [details]
memory card directory tree seen by dolphin 1
Comment 6 Philippe ROUBACH 2009-09-05 12:45:15 UTC
Created attachment 36712 [details]
memory card directory tree seen by dolphin 2
Comment 7 Philippe ROUBACH 2009-09-05 12:45:46 UTC
Created attachment 36713 [details]
memory card directory tree seen by dolphin 3
Comment 8 Philippe ROUBACH 2009-09-05 12:46:27 UTC
Created attachment 36714 [details]
memory card directory tree seen by dolphin 4
Comment 9 Philippe ROUBACH 2009-09-05 12:47:06 UTC
Created attachment 36715 [details]
memory card directory tree seen by dolphin 5
Comment 10 Philippe ROUBACH 2009-11-07 09:25:45 UTC
i can read, preview, delete with dolphin + kamera protocol
Comment 11 Andi Clemens 2009-11-07 10:22:20 UTC
I can confirm this, but it also doesn't work with dolphin and the camera protocol. I can not upload images in PTP mode with my Nikon D50.
I don't know if this is a digikam problem at all, maybe gphoto.

To make this thread a little bit clearer:

Philippe wants to UPLOAD images to his camera.
Steps taken:

1. Plugin the camera
2. "Download images with digiKam" from the KDE device notification
3. CameraUI opens
4. He suppresses images (???, I guess he meant that he "locked" images)
5. He clicked on "Upload"
6. In the file selection dialog, he chose a file
7. Then the camera foldertree dialog appears (and yes, the tree is not displayed correctly, for me it reads "Nikon D50"->"0" instead of "Nikon D50"->"DCIM")
8. After selection one of these tree branches and clicking "Ok", upload will fail.

But again, with dolphin it doesn't work here, too, so I assume that this is a gphoto issue.

Philippe,
can you try the following:

1. select an image in dolphin, press CTRL+C
2. Type in "camera:" at the new location in the dolphin location bar
3. Browse to the images folder on your camera
4. right-click into this folder, Paste "CTRL+V) is grayed out for me.

If you can not paste either, this issue is not digiKam related, your camera doesn't seem to accept uploads.

Andi
Comment 12 Philippe ROUBACH 2009-11-07 10:43:01 UTC
it's not a gphoto pb

see my report bug #213515
Comment 13 Philippe ROUBACH 2009-11-07 10:46:17 UTC
you see in the other report my camera accept upload

this works well with Mandriva 2008.1 digikam 0.9.6
Comment 14 Philippe ROUBACH 2009-11-07 10:50:19 UTC
yes i can suppress images in digikam download gui
Comment 15 Philippe ROUBACH 2009-12-01 11:01:45 UTC
Digikam 1.0.0rc
kipi-plugins 0.8

the pb defined in description is always there
file selector shows a wrong folder tree
Comment 16 Philippe ROUBACH 2009-12-06 10:38:51 UTC
Digikam 1.0.0rc
kipi-plugins 0.9

the pb defined in description is always there
file selector shows a wrong folder tree
Comment 17 caulier.gilles 2009-12-24 13:52:06 UTC
Please test with digiKam 1.0.0 final.

Also, check libgphoto version that you use.

Gilles Caulier
Comment 18 Philippe ROUBACH 2009-12-26 20:27:04 UTC
digikam 1.0.0
kipi-plugins 1.0.0
libgphoto2 2.4.7

same pb
Comment 19 Philippe ROUBACH 2009-12-28 11:59:04 UTC
for me it is a pb around :

- digikam kamera plugin
- kamera kio kde protocol
- dolphin selector
- libgphoto2

where is the pb ?

what i experiment : with dolphin + kamera kio protocol + libgphoto2 i have no pb to see the card folder tree and to travel throught the tree
then
there is no pb with dolphin + kamera kio + libgphoto2
thus i conclude
the pb is around digikam + kamera ui plugin + upload
Comment 20 Philippe ROUBACH 2010-02-01 16:34:13 UTC
digikam 1.1
kipi-plugins

pb still there
Comment 21 Philippe ROUBACH 2010-04-08 12:57:23 UTC
digikam 1.2
kipi-plugins 1.2

pb still there
Comment 22 Philippe ROUBACH 2010-08-12 08:13:15 UTC
dgikam 1.3

pb still there

+

same pb with my nokia camera (nokia 5800) if i use UMSC protocol
Comment 23 Philippe ROUBACH 2010-08-12 08:46:20 UTC
addon to comment #22

mandriva 2010.1
kde 4.4.3
Comment 24 caulier.gilles 2011-08-02 09:13:34 UTC
Git commit 06b3bee47b13120ff07a88e2c84decbcab6b5270 by Gilles Caulier.
Committed on 02/08/2011 at 11:11.
Pushed by cgilles into branch 'master'.

make camerafolderdialog not dependant of CameraIconView to simplify Qt4 model/view port of iconview.
In CameraFolderView, use QTreeWidgetItemIterator to parse all item to find parent when tree folder from camrea is populated.
BUGS: 199985

M  +23   -22   utilities/cameragui/dialogs/camerafolderdialog.cpp
M  +1    -3    utilities/cameragui/dialogs/camerafolderdialog.h
M  +2    -2    utilities/cameragui/views/camerafolderview.h
M  +14   -19   utilities/cameragui/views/camerafolderview.cpp
M  +13   -3    utilities/cameragui/main/cameraui.cpp

http://commits.kde.org/digikam/06b3bee47b13120ff07a88e2c84decbcab6b5270
Comment 25 Philippe ROUBACH 2011-08-02 09:19:44 UTC
it's a pity not in 2.0

anyway thanks
Comment 26 caulier.gilles 2011-08-02 09:26:46 UTC
as usual, time missing to fix all bugs at the same time.

If you want to see more bug fixed, well contribute as developer. I found the bug quicly. It's a stupid bug in fact, really fixable by a beginner (:=))) 

Note : 2.1.0 will be out in one month, no more...

Gilles Caulier