Bug 188855

Summary: Subalbum created always dated 1970-01-01
Product: [Applications] digikam Reporter: peter.wu
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: lxtwin, marcel.wiesweg, necilveks
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:
Attachments: gphoto2 usb debug info

Description peter.wu 2009-04-05 05:40:13 UTC
Version:           0.10.0 (using 4.2.2 (KDE 4.2.2) "release 111", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.19-3.2-default

Connection and detection of camera has no problem. When importing images from camera and select create ISO dated subfolder, always 1970-01-01 folder is created.

I do not have a XD card reader so I could not test importing in other ways.

Camera: Fuji F31fd
Comment 1 caulier.gilles 2009-05-13 13:00:49 UTC
Sound like camera drivers or camera date pb. Do you use Gphoto2 drivers ? Which libgphoto2 version you use ?

Gilles Caulier
Comment 2 lxtwin 2009-08-09 18:39:38 UTC
I have also seen this.

I have a Nikon D300 and on version 0.9.3 it works fine, getting the correct dates every time, however when I went to version 0.10.0 under KDE 4.2.4, all the dates for the directories are shown as 1970-01-01.

When I look at the EXIF information on the images it is correct.
Comment 3 Marcel Wiesweg 2009-08-09 19:17:22 UTC
Is this a USB mass storage camera (mounted in the filesystem) or are you using gphoto2 to access it?
Comment 4 lxtwin 2009-08-09 21:48:17 UTC
Hi there,
On version 0.9.3 it is fine in PT or Mass Storage mode.
On version 0.10.0 it is OK on Mass Storage mode but not when in PTP mode.

I am not using gphoto2, I connect my camera, download the images and work on them using CS2 under wine.

hope this helps
Comment 5 lxtwin 2009-08-22 21:50:49 UTC
I have tried my Panasonic LX3 today, and it is the same as my Nikon, it is fine in USB mode but sets all of the dates to unix time when in PTP mode.
Comment 6 Marcel Wiesweg 2009-09-11 18:38:13 UTC
Is the date shown on the "Properties" tab in the camera window correct, or is it 1970-01-01 as well?
Comment 7 Maris 2010-01-15 07:23:32 UTC
Got same bug with Olympus E-620

x86, 2.6.31-gentoo-r6, libphoto2 2.4.6, digikam 0.10.0-r1
Also tried libphoto 2.4.7-r2, digikam 1.0.0_beta6.

In camera window, on image properties tab date is 1970-01.01. EXIF info is correct.
Comment 8 Johannes Wienke 2010-01-15 10:41:42 UTC
Can you try this again with 1.0.0 release?
Comment 9 lxtwin 2010-01-15 11:00:43 UTC
Sure, I will do it in the next few days, sorry for the delay; but I have been away for a while.

lxtwin
Comment 10 Maris 2010-01-15 20:44:30 UTC
Created attachment 39923 [details]
gphoto2 usb debug info

It's gphoto2 or libgphoto2 or driver(?) bug.
gphoto2 --debug --debug-logfile=gphoto2_usb.log --port "usb:" --show-info 1
Time:        Thu Jan  1 03:00:00 1970

gphoto2 --port "ptpip:" --show-info 1
Time:        Thu Jan  1 03:00:00 1970
Comment 11 Marcel Wiesweg 2010-01-21 20:59:42 UTC
Marking as upstream driver bug