mail-trends+Dovecot
Sven Hartge
sven at svenhartge.de
Sat Jan 21 22:02:28 UTC 2017
Odhiambo Washington <odhiambo at 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.
More information about the dovecot
mailing list