Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#865 closed defect (fixed)

creation date in exif data breaks image display

Reported by: Sebastian Hugentobler Owned by:
Priority: major Milestone: 0.7.0
Component: programming Keywords: exif
Cc: Parent Tickets:

Description

When an image with a creation date in its exif data is requested it fails with the following error:

AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

This is the result of removing import datetime in mixin.py with commit 58a9475

In the parent commit from datetime import datetime was added, so the attached fix is trivial.

Subtickets

Attachments (1)

exif_date.patch (560 bytes) - added by Sebastian Hugentobler 8 years ago.
patch

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Sebastian Hugentobler

Attachment: exif_date.patch added

patch

comment:1 Changed 8 years ago by Sebastian Hugentobler

Seems like #825 is about the same problem.

comment:2 Changed 7 years ago by Christopher Allan Webber

thallian: Thanks! Useful fix. I've applied it to master.

Unfortunately, I don't have any other name than "thallian" for you, so that's what I'm attributing you as for now, but if you'd like me to give some sort of other full name for the release post, let me know!

comment:3 Changed 7 years ago by Christopher Allan Webber

Milestone: 0.7.0
Resolution: fixed
Status: newclosed

comment:4 in reply to:  2 Changed 7 years ago by Sebastian Hugentobler

Replying to cwebber:

thallian: Thanks! Useful fix. I've applied it to master.

Unfortunately, I don't have any other name than "thallian" for you, so that's what I'm attributing you as for now, but if you'd like me to give some sort of other full name for the release post, let me know!

Good to hear I'm not the only one it works for :)
Full Name is 'Sebastian Hugentobler'. No point in hiding it, nothing a short research doesn't bring up ;)

Note: See TracTickets for help on using tickets.