caiobegotti / Lost-Photos-Found

Linux version of the LostPhotos application for Mac/Windows
125 stars 9 forks source link

Exception: IndexError: list index out of range #12

Open eparra opened 10 years ago

eparra commented 10 years ago

Just experienced this:

Duplicated attachment /Users/eparra/LostPhotosFound/eddie.parra@gmail.com/2014-11-2_23-45-19_profilephoto.png (e4806830c4f34dd1c26e4f2aeef5033e9a54d39a) 38:09.298410 > JHDE405 UID FETCH 128134 (X-GM-MSGID) 38:09.483290 < JHDE405 OK Success Traceback (most recent call last): File "./lpf.py", line 22, in imap.lostphotosfound() File "/Users/eparra/Downloads/Lost-Photos-Found-master/lostphotosfound/server.py", line 217, in lostphotosfound msgid = str(idfetched[idfetched.keys()[0]]['X-GM-MSGID']) IndexError: list index out of range

eparra commented 10 years ago

Interesting, I reran lpf and it completed successfully:

51:35.909598 BYE response: LOGOUT Requested 51:35.909714 < FLPH382 OK 73 good day (Success) All done, see directory ~/LostPhotosFound for all the treasure we found for you :-)