22 Jan
2017
22 Jan
'17
12:02 a.m.
Odhiambo Washington odhiambo@gmail.com wrote:
Traceback (most recent call last): File "./main.py", line 304, in <module> message_infos = GetMessageInfos(opts) File "./main.py", line 104, in GetMessageInfos for mailbox in m.GetMailboxes(): File "/scripts/mail-trends/mail.py", line 61, in GetMailboxes mailboxes.remove('[Gmail]') ValueError: list.remove(x): x not in list
Remove line 61 from ./scripts/mail-trends/mail.py and everything is fine. That code unconditionally removes the folder and sub-folder named "[Gmail]" from the list of mailboxes to avoid duplicate messages.
The error happens because you don't have such a folder in your account.
Grüße, Sven.
-- Sigmentation fault. Core dumped.