Bug 4220

Summary: generates files in cache without content
Product: Claws Mail (GTK 2) Reporter: Ricardo Mones <mones>
Component: Plugins/LibravatarAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.17.4   
Hardware: PC   
OS: Linux   

Description Ricardo Mones 2019-06-13 15:44:48 UTC
Reported on IRC:

<@wwp> mones: libravatar.c:226:libravatar avatar_image_render invoked
<@wwp> libravatar.c:190:found cached image for 725e68165970f1b8f66d0986d6aaecce
<@wwp> ** (claws-mail:541): WARNING **: 00:00:06.355: failed to load image '/home/wwp/.claws-mail/avatarcache/725e68165970f1b8f66d0986d6aaecce': Couldn't recognize the image file format for file '/home/wwp/.claws-mail/avatarcache/725e68165970f1b8f66d0986d6aaecce'
<@wwp> file is 0-byte
<@wwp> 190 of my cached PNG's are 0-byte length, BTW
<@wwp> I even have a "missing" file (0-byte) in the cache dir
Comment 1 Ricardo Mones 2020-06-21 19:49:18 UTC
Fixed in master¹ and gtk3² branches.

¹ 4ed9411f4dc2801d7f983734ae4003102b8f361d
² d42f3d7e5f9e65d045be32a71c8a67e7de7a2591