home / django_tickets / tickets

tickets: 8817

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
8817 2008-09-02 22:48:31 2011-09-28 16:12:21 2022-03-06 03:43:14.814460 Ready for checkin closed File uploads/storage     dev fixed Accessing ImageField's dimensions doesn't close file If you access an ImageField's width or height property, the corresponding image file doesn't seem to be closed after retrieving its dimensions: After retrieving a lot of image dimensions (of different images), Django produces strange errors ("cannot open template file ..." etc.) which seem to result from too many files being open by the process. Manually calling the close() method of the ImageFieldFile object (after accessing the width and height properties) resolves these errors, so it seems it isn't not called automatically... mitsuhiko tripediac   0 1 0 0 0 0
Powered by Datasette · Queries took 30.011ms