Skip to content

Instantly share code, notes, and snippets.

@rschulman
Created August 12, 2014 15:47
Show Gist options
  • Save rschulman/9687a6436b5a3effec6f to your computer and use it in GitHub Desktop.
Save rschulman/9687a6436b5a3effec6f to your computer and use it in GitHub Desktop.
mailpile> rescan sources
CONNECTED <SharedImapConn(mail.rbs.io, started daemon 4550393856)>
noop(() {})
=> ('OK', ['NOOP completed.'])
select(Deleted Messages, False) = ('OK', ['959']) {'UIDVALIDITY': ['1390328209'], 'FLAGS': ['(\\Answered \\Flagged \\Deleted \\Seen \\Draft $NotJunk NonJunk Junk $Junk NotJunk JunkRecorded unknown-0 unknown-4 unknown-7 unknown-3? unknown-5 unknown-2?)'], 'EXISTS': ['959'], 'RECENT': ['0']}
noop(() {})
=> ('OK', ['NOOP completed.'])
noop(() {})
=> ('OK', ['NOOP completed.'])
noop(() {})
=> ('OK', ['NOOP completed.'])
noop(() {})
=> ('OK', ['NOOP completed.'])
noop(() {})
=> ('OK', ['NOOP completed.'])
noop(() {})
=> ('OK', ['NOOP completed.'])
noop(() {})
=> ('OK', ['NOOP completed.'])
uid(('SEARCH', None, 'ALL') {})
=> ('OK', ['544 545 548 549 550 554 555 556 557 558 559 560 564 565 566 582 586 587 589 590 591 592 593 594 595 596 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634
noop(() {})
=> ('OK', ['NOOP completed.'])
uid(('FETCH', 1004, '(RFC822.SIZE FLAGS ENVELOPE)') {})
=> ('OK', [('419 (UID 1004 RFC822.SIZE 72390 FLAGS (\\Seen $NotJunk NotJunk) ENVELOPE ("Sat, 05 Jul 2014 23:27:52 +0000" {60}', 'Dslyecxi: "Flying & Landing the Huey in DCS" and more videos'), ' (("YouTube" NIL "noreply" "youtube.com")) ((
WARNING: Unparsed IMAP response data: ('419 (UID 1004 RFC822.SIZE 72390 FLAGS (\\Seen $NotJunk NotJunk) ENVELOPE ("Sat, 05 Jul 2014 23:27:52 +0000" {60}', 'Dslyecxi: "Flying & Landing the Huey in DCS" and more videos')
Traceback (most recent call last):
File "/Users/rschulman/Mailpile/mailpile/mail_source/__init__.py", line 567, in run
self.sync_mail()
File "/Users/rschulman/Mailpile/mailpile/mail_source/__init__.py", line 162, in sync_mail
stop_after=batch)
File "/Users/rschulman/Mailpile/mailpile/mail_source/__init__.py", line 494, in rescan_mailbox
stop_after=stop_after)
File "/Users/rschulman/Mailpile/mailpile/mail_source/__init__.py", line 464, in _copy_new_messages
data = src.get_bytes(key)
File "/Users/rschulman/Mailpile/mailpile/mail_source/imap.py", line 342, in get_bytes
info, payload = self.get(key)
File "/Users/rschulman/Mailpile/mailpile/mail_source/imap.py", line 315, in get
info = self.get_info(key)
File "/Users/rschulman/Mailpile/mailpile/mail_source/imap.py", line 304, in get_info
mailbox=self.path)
File "/Users/rschulman/Mailpile/mailpile/mail_source/imap.py", line 273, in timed_imap
return self.source.timed_imap(*args, **kwargs)
File "/Users/rschulman/Mailpile/mailpile/mail_source/imap.py", line 429, in timed_imap
return _parse_imap(RunTimed(self.timeout, *args, **kwargs))
File "/Users/rschulman/Mailpile/mailpile/mail_source/imap.py", line 110, in _parse_imap
pdata = stack.pop(-1)
IndexError: pop from empty list
bg/log(20): Elapsed: 0.009s (sendmail: The outbox is empty)
Elapsed: 93.079s (rescan: Rescanned mailboxes)
{
"mailboxes": 0,
"messages": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment