yourlabs / django-autocomplete-light

A fresh approach to autocomplete implementations, specially for Django. Status: v4 alpha, v3 stable, v2 & v1 deprecated.
https://django-autocomplete-light.readthedocs.io
MIT License
1.8k stars 467 forks source link

seek of closed file error #1213

Closed fragalcer closed 3 years ago

fragalcer commented 3 years ago

Application breaks when trying to update the definition or image of a stewardship organisation. For some reason this is only happening in development (localhost) The only way to make it work is to update the SO profile image too.

image

jpic commented 3 years ago

Not related to DAL, not enough traceback nor code posted to tell any better, but it seems that some f.seek() call is tried after the file handler have been closed, is it outside of the with open(path) as f: ? Maybe try to upgrade your dependencies.