mail-trends+Dovecot
Odhiambo Washington
odhiambo at gmail.com
Sun Jan 22 06:18:04 UTC 2017
On 22 January 2017 at 01:02, Sven Hartge <sven at svenhartge.de> wrote:
> 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.
You nailed it.
Thank you very much.
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."
More information about the dovecot
mailing list