From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Patrick Totzke <patricktotzke@gmail.com>
Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,
notmuch@notmuchmail.org, Rainer M Krug <R.M.Krug@gmail.com>
Subject: Re: gmail importer script
Date: Fri, 7 Dec 2012 14:49:46 +0100 [thread overview]
Message-ID: <CAHmME9q6QN1YE=+_r1zHNdhc9hrJgEWxQ_L4rxsjJWOFRD-ZnA@mail.gmail.com> (raw)
In-Reply-To: <20121207092305.4942.42415@megatron>
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]
On Fri, Dec 7, 2012 at 10:23 AM, Patrick Totzke <patricktotzke@gmail.com>wrote:
> Is this supposed to happen?
>
Obviously not.
>
> ---------------------------------------------
> Logging in...
> Selecting all mail...
> Discovering local messages...
> Receiving message list...
> Traceback (most recent call last):
> File "./gmail-notmuch.py", line 175, in <module>
> main()
> File "./gmail-notmuch.py", line 58, in main
> new_messages = discover_new_messages(imap, old_messages)
> File "./gmail-notmuch.py", line 80, in discover_new_messages
> typ, data = imap.fetch("1:*", "X-GM-MSGID")
> File "/usr/lib/python2.7/imaplib.py", line 443, in fetch
> typ, dat = self._simple_command(name, message_set, message_parts)
> File "/usr/lib/python2.7/imaplib.py", line 1070, in _simple_command
> return self._command_complete(name, self._command(name, *args))
> File "/usr/lib/python2.7/imaplib.py", line 825, in _command
> ', '.join(Commands[name])))
> imaplib.error: command FETCH illegal in state AUTH, only allowed in states
> SELECTED
>
>
Not sure what is causing this. My best guess is that your password was
incorrect and that I'm not checking the login return value.
> ------------------------------------------------------
>
>
> In [2]: imaplib.__version__
> Out[2]: '2.58'
>
> One thing you also might want to watch out for is
> exceptions due to a locked notmuch index.
>
How do I do this?
> rock on,
> /p
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
>
[-- Attachment #2: Type: text/html, Size: 2726 bytes --]
next prev parent reply other threads:[~2012-12-07 13:49 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 0:24 gmail importer script Jason A. Donenfeld
2012-12-07 4:05 ` Kushal Kumaran
2012-12-07 8:53 ` Rainer M Krug
2012-12-07 9:23 ` Patrick Totzke
2012-12-07 13:49 ` Jason A. Donenfeld [this message]
2012-12-08 16:20 ` Patrick Totzke
2012-12-08 17:04 ` Jason A. Donenfeld
2012-12-08 17:19 ` Jason A. Donenfeld
[not found] ` <20121213141917.GD3658@tungsten.lan.mitsi.com>
[not found] ` <CAHmME9op8V+ZJGVwBJPZ653mHYBnMAvxb426LAP-Bu27-rzmYA@mail.gmail.com>
2012-12-13 15:23 ` fREW Schmidt
2012-12-13 15:24 ` Jason A. Donenfeld
2012-12-13 16:48 ` Patrick Totzke
2012-12-15 8:22 ` Jason A. Donenfeld
2012-12-15 10:41 ` Patrick Totzke
2012-12-16 20:44 ` Jason A. Donenfeld
2012-12-16 22:31 ` Patrick Totzke
2012-12-17 8:31 ` Patrick Totzke
2012-12-08 17:46 ` Patrick Totzke
2012-12-09 23:13 ` Jason A. Donenfeld
2012-12-10 9:41 ` Patrick Totzke
2012-12-10 17:46 ` Jason A. Donenfeld
2012-12-11 7:06 ` Jason A. Donenfeld
2012-12-11 9:12 ` Patrick Totzke
2012-12-11 9:12 ` Jason A. Donenfeld
2012-12-11 10:04 ` Patrick Totzke
[not found] ` <20121213142228.GE3658@tungsten.lan.mitsi.com>
2012-12-13 14:30 ` Jason A. Donenfeld
2012-12-13 14:35 ` fREW Schmidt
2012-12-13 15:15 ` Jason A. Donenfeld
2012-12-07 13:48 ` Jason A. Donenfeld
2012-12-07 13:57 ` Rainer M Krug
2012-12-07 15:32 ` Jason A. Donenfeld
2012-12-08 12:40 ` Rainer M Krug
2012-12-08 13:15 ` Jason A. Donenfeld
2012-12-10 9:12 ` Rainer M Krug
2012-12-07 15:30 ` Jason A. Donenfeld
2012-12-07 11:48 ` [PATCH] Minor style changes Michal Nazarewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHmME9q6QN1YE=+_r1zHNdhc9hrJgEWxQ_L4rxsjJWOFRD-ZnA@mail.gmail.com' \
--to=jason@zx2c4.com \
--cc=R.M.Krug@gmail.com \
--cc=notmuch@notmuchmail.org \
--cc=patricktotzke@gmail.com \
--cc=public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).