seafile icon indicating copy to clipboard operation
seafile copied to clipboard

Django thumbnail errors

Open adamklaff opened this issue 3 years ago • 0 comments

Hi,

I've noticed I'm getting lots of errors like this in my seahub.log

2021-07-14 16:25:38,909 [WARNING] django.request:228 log_response Bad Request: /api2/repos/4e2f2dad-c616-4c30-a773-6e2cc5ab59b9/thumbnail/
2021-07-14 16:25:49,272 [ERROR] seahub.thumbnail.utils:149 generate_thumbnail cannot identify image file <_io.BytesIO object at 0x1537349ee200>
2021-07-14 16:25:49,273 [ERROR] django.request:228 log_response Internal Server Error: /api2/repos/4e2f2dad-c616-4c30-a773-6e2cc5ab59b9/thumbnail/
2021-07-14 16:28:27,189 [WARNING] django.request:228 log_response Bad Request: /api2/repos/4e2f2dad-c616-4c30-a773-6e2cc5ab59b9/thumbnail/
2021-07-14 16:28:27,231 [ERROR] seahub.thumbnail.utils:149 generate_thumbnail cannot identify image file <_io.BytesIO object at 0x153734baad58>
2021-07-14 16:28:27,231 [ERROR] django.request:228 log_response Internal Server Error: /api2/repos/4e2f2dad-c616-4c30-a773-6e2cc5ab59b9/thumbnail/
2021-07-14 16:28:38,961 [WARNING] django.request:228 log_response Bad Request: /api2/repos/4e2f2dad-c616-4c30-a773-6e2cc5ab59b9/thumbnail/
2021-07-14 16:28:39,002 [WARNING] django.request:228 log_response Bad Request: /api2/repos/4e2f2dad-c616-4c30-a773-6e2cc5ab59b9/thumbnail/
2021-07-14 16:34:21,028 [WARNING] django.request:228 log_response Bad Request: /api2/repos/4e2f2dad-c616-4c30-a773-6e2cc5ab59b9/thumbnail/
2021-07-14 16:34:21,161 [WARNING] django.request:228 log_response Bad Request: /api2/repos/4e2f2dad-c616-4c30-a773-6e2cc5ab59b9/thumbnail/

Any idea what is causing this and how to resolve? I've run the seahub fsck utility and nothing is corrupted in my library.

adamklaff avatar Jul 14 '21 23:07 adamklaff