Bug 233621 - Importing from Nikon Coolpix P90 ignores date/time of the images and uses 31-12-1969 instead
Summary: Importing from Nikon Coolpix P90 ignores date/time of the images and uses 31-...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 0.10.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-07 17:02 UTC by ks
Modified: 2017-08-16 05:02 UTC (History)
1 user (show)

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


Attachments
Image Editor Screenshot shows correct Date/Time (451.21 KB, image/png)
2010-04-09 15:31 UTC, ks
Details
Camera Window shows already wrong date in filename-to-be (218.69 KB, image/png)
2010-04-09 15:33 UTC, ks
Details
Property window of the picture show correct date/time (30.21 KB, image/png)
2010-04-09 15:34 UTC, ks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ks 2010-04-07 17:02:24 UTC
Version:           0.10.0 (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

I use two cameras: Canon Powershot S80 and Nikon Coolpix P90. Everything works fine with Canon Powershot (except for occasional crashes when deleting pictures on the camera and wrong sequence numbers), but when I import pictures from the Nikon with the same settings as for the Canon (date-based-subalbums foramt ISO, and rename the pictures: date yyyy_MM_dd and sequence number) all images are saved in the folder 1969-12-31 with the name 1969_12_31_x.jpg. When I look at the image info the date and time in the picture is correct.
Comment 1 caulier.gilles 2010-04-07 17:17:53 UTC
Please update to digiKam 1.2.0 and try again. 0.10.0 is pretty old...

Gilles Caulier
Comment 2 ks 2010-04-08 20:14:16 UTC
(In reply to comment #1)
> Please update to digiKam 1.2.0 and try again. 0.10.0 is pretty old...
> 
> Gilles Caulier

I installed 1.2.0 but the problem persists. The camera window already shows the wrong filename whereas the information window of the picture shows the correct date/time.
Comment 3 caulier.gilles 2010-04-09 08:36:29 UTC
Please, Can you take a screenshot of this problem ?

Gilles Caulier
Comment 4 ks 2010-04-09 15:31:58 UTC
Created attachment 42624 [details]
Image Editor Screenshot shows correct Date/Time
Comment 5 ks 2010-04-09 15:33:13 UTC
Created attachment 42625 [details]
Camera Window shows already wrong date in filename-to-be
Comment 6 ks 2010-04-09 15:34:21 UTC
Created attachment 42626 [details]
Property window of the picture show correct date/time
Comment 7 ks 2010-04-09 15:36:56 UTC
If you tell me the relevant functions I could debug (gdb).

Kathrin Schönlein
Comment 8 Marcel Wiesweg 2011-01-26 12:23:28 UTC
Could this be a bug in the gphoto driver for the camera? It seems digikam is able to correctly read the data from the metadata, but possibly for the renaming the gphoto information is used. Does the relevant camera require gphoto to access it, or is it a USB mass storage device (you can access pictures from dolphin etc.)?
In any case, I recommend to try with a recent version.
Comment 9 caulier.gilles 2011-08-04 14:30:12 UTC
I fixed a lots of file relevant of date management in camera interface with future 2.1.0...

Can you test with code from current git master and report.

Thanks in advance

Gilles Caulier
Comment 10 caulier.gilles 2011-08-04 14:38:32 UTC
I close this file. It's probably fixed in 2.1.0. Reopen if necessary...
Gilles Caulier