Opened 11 years ago

Closed 10 years ago

Last modified 10 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.

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

by Sebastian Hugentobler, 11 years ago

Attachment: exif_date.patch added

patch

comment:1 by Sebastian Hugentobler, 11 years ago

Seems like #825 is about the same problem.

comment:2 by Christopher Allan Webber, 10 years ago

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 by Christopher Allan Webber, 10 years ago

Milestone: 0.7.0
Resolution: fixed
Status: newclosed

in reply to:  2 comment:4 by Sebastian Hugentobler, 10 years ago

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.