Re: Selecting INBOX... problem

2023-02-02 Thread Jarkko Lavinen
> What debug level are you using?  Try at least level 3, in this case.

I tried first level 2 then 5. The last line remained the same.

The problem resolved after I found one forgotten Mutt instance in
a paused state. After killing it another stuck Mutt woke and gave a read
error. After restarting Mutt it accessed Gmail just fine.

I presume the problem was caused by Mutt blocking its own header
cache. In the debug log the next event after selecting Inbox refers to
header cache:

[2023-02-02 02:17:21] 4> a0005 STATUS "[Gmail]/Drafts" (MESSAGES)
a0006 SELECT "INBOX"
[2023-02-02 02:17:21] mboxcache: hcache uidvalidity 1, uidnext 4489, modseq 0
[2023-02-02 02:17:21] 4< * STATUS "[Gmail]/Drafts" (MESSAGES 0)

Jarkko Lavinen


Re: Selecting INBOX... problem

2023-02-01 Thread Kevin J. McCarthy

On Wed, Feb 01, 2023 at 07:50:40PM +0200, Jarkko Lavinen wrote:

Using debug I see 'a0006 SELECT "INBOX"' as the last message.


What debug level are you using?  Try at least level 3, in this case.

After sending the SELECT command, Mutt tries to read some values, such 
as UIDVALIDITY, from the header cache and should generate some debug 
output (at level 3) if they exist.


After that it tries to read the response from the server.

You may also want to try trimming your muttrc down to the bare minimum, 
just to see if you can get it to work from a starting point.


--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Selecting INBOX... problem

2023-02-01 Thread Jarkko Lavinen
I cannot access Gmail with Mutt (2.2.9) any more. After "Selecting
INBOX..." nothing happens. Tried also 1.10.1. The same message and
behaviour.

The problem appeared just few days ago and before this accessing Gmail has
worked for years once authenticated.

I haven't changed my .muttrc for 6 weeks and the config file has
worked since until the problem appeared.

Using "./mutt_oauth2.py token -t -v" says all authentications
succeed. I can read gmail using Thunderbird so it doesn't seem to have
any problem accessing Gmail.

Using debug I see 'a0006 SELECT "INBOX"' as the last message.

Jarkko Lavinen


Selecting INBOX... problem

2023-02-01 Thread Jarkko Lavinen
I cannot access Gmail with Mutt (2.2.9) any more. After "Selecting
INBOX..." nothing happens. Tried also 1.10.1. The same message and
behaviour.

The problem appeared just few days ago and before this accessing Gmail has
worked for years once authenticated.

I haven't changed my .muttrc for 6 weeks and the condig file has
worked some 4-5 weeks since until the problem appeared.

Using "./mutt_oauth2.py token -t -v" says all authentications
succeed. I can read gmail using Thunderbird so it doesn't seem to have
any problem accessing Gmail.

Using debug I see 'a0006 SELECT "INBOX"' as the last message.

Jarkko Lavinen