unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Emacs "notmuch CLI version mismatch"
@ 2017-07-10 12:16 david wen riccardi-zhu
  2017-07-10 18:14 ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: david wen riccardi-zhu @ 2017-07-10 12:16 UTC (permalink / raw)
  To: notmuch

I'm getting this error in Emacs after upgrading packages:

notmuch-logged-error: notmuch CLI version mismatch Emacs requested 
a newer output format than supported by the notmuch CLI.  You may 
need to restart Emacs or upgrade your notmuch package.

The message appears whenever I try to open an email. 

Emacs is 25.2.1, notmuch is 0.24.2. I'm on Arch Linux x86_64.

I've tried upgrading my OS, and restarting Emacs and the OS, but 
the error persists.

Am I getting this error because Arch needs to update to 0.24.2-2? 
Should I switch to git?

It would also be nice if this error didn't prevent accessing 
messages. : )

Many thanks!
-- 
dwrz|朱为文

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs "notmuch CLI version mismatch"
  2017-07-10 12:16 Emacs "notmuch CLI version mismatch" david wen riccardi-zhu
@ 2017-07-10 18:14 ` David Bremner
  2017-07-10 19:22   ` david wen riccardi-zhu
  0 siblings, 1 reply; 5+ messages in thread
From: David Bremner @ 2017-07-10 18:14 UTC (permalink / raw)
  To: david wen riccardi-zhu, notmuch

[-- Attachment #1: Type: text/plain, Size: 1304 bytes --]

david wen riccardi-zhu <dwrz@dwrz.net> writes:

> I'm getting this error in Emacs after upgrading packages:
>
> notmuch-logged-error: notmuch CLI version mismatch Emacs requested 
> a newer output format than supported by the notmuch CLI.  You may 
> need to restart Emacs or upgrade your notmuch package.
>

At a guess, you are using git master of the emacs client (perhaps via
melpa, or via some arch git snapshot package), and a released version of
the notmuch binary. 

> The message appears whenever I try to open an email. 
>
> Emacs is 25.2.1, notmuch is 0.24.2. I'm on Arch Linux x86_64.

What is the output of M-x notmuch-hello-versions <return>

> Am I getting this error because Arch needs to update to 0.24.2-2? 
> Should I switch to git?

0.24.2-2 is not an upstream version of notmuch; there is a Debian
version like that; perhaps arch has a similar versioning scheme. 

> It would also be nice if this error didn't prevent accessing 
> messages. : )

In general this message indicates your emacs lisp components and your
notmuch binary have drifted dangerously far apart in versions, and you
should really fix that problem. You can still use the command line
"notmuch search" and "notmuch show" commands for access to your mail in
the meantime.

d




[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 658 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs "notmuch CLI version mismatch"
  2017-07-10 18:14 ` David Bremner
@ 2017-07-10 19:22   ` david wen riccardi-zhu
  2017-07-10 20:40     ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: david wen riccardi-zhu @ 2017-07-10 19:22 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 1738 bytes --]

Thanks so much, David.

> At a guess, you are using git master of the emacs client (perhaps via
> melpa, or via some arch git snapshot package), and a released version of
> the notmuch binary.

I am using MELPA -- does this mean I should be using git to get the
binary?

> What is the output of M-x notmuch-hello-versions <return>

notmuch version 0.24.2

---
dwrz|朱为文 

On 2017-07-10 18:14, David Bremner wrote:

> david wen riccardi-zhu <dwrz@dwrz.net> writes:
> 
>> I'm getting this error in Emacs after upgrading packages:
>> 
>> notmuch-logged-error: notmuch CLI version mismatch Emacs requested 
>> a newer output format than supported by the notmuch CLI.  You may 
>> need to restart Emacs or upgrade your notmuch package.
> 
> At a guess, you are using git master of the emacs client (perhaps via
> melpa, or via some arch git snapshot package), and a released version of
> the notmuch binary. 
> 
>> The message appears whenever I try to open an email. 
>> 
>> Emacs is 25.2.1, notmuch is 0.24.2. I'm on Arch Linux x86_64.
> 
> What is the output of M-x notmuch-hello-versions <return>
> 
>> Am I getting this error because Arch needs to update to 0.24.2-2? 
>> Should I switch to git?
> 
> 0.24.2-2 is not an upstream version of notmuch; there is a Debian
> version like that; perhaps arch has a similar versioning scheme. 
> 
>> It would also be nice if this error didn't prevent accessing 
>> messages. : )
> 
> In general this message indicates your emacs lisp components and your
> notmuch binary have drifted dangerously far apart in versions, and you
> should really fix that problem. You can still use the command line
> "notmuch search" and "notmuch show" commands for access to your mail in
> the meantime.
> 
> d

[-- Attachment #2: Type: text/html, Size: 3223 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs "notmuch CLI version mismatch"
  2017-07-10 19:22   ` david wen riccardi-zhu
@ 2017-07-10 20:40     ` David Bremner
  2017-07-10 21:12       ` David Edmondson
  0 siblings, 1 reply; 5+ messages in thread
From: David Bremner @ 2017-07-10 20:40 UTC (permalink / raw)
  To: david wen riccardi-zhu; +Cc: notmuch

david wen riccardi-zhu <dwrz@dwrz.net> writes:

> Thanks so much, David.
>
>> At a guess, you are using git master of the emacs client (perhaps via
>> melpa, or via some arch git snapshot package), and a released version of
>> the notmuch binary.
>
> I am using MELPA -- does this mean I should be using git to get the
> binary?

I don't see the advantage of using melpa for notmuch. You need notmuch
binaries, and you want them to match the version of your emacs code. So
wherever you get your notmuch binaries from (whether arch, or building
from source) should also be your source of the notmuch emacs code. But
yes, if you insist on using melpa for notmuch-emacs, you should track
the git versions of the notmuch binaries (at least you should update to
current git whenever you get version mismatch messages from the emacs
client).


>> What is the output of M-x notmuch-hello-versions <return>
>
> notmuch version 0.24.2
>

That's very suprising, since it should also print the version of notmuch
emacs mua if it is different from the notmuch version.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs "notmuch CLI version mismatch"
  2017-07-10 20:40     ` David Bremner
@ 2017-07-10 21:12       ` David Edmondson
  0 siblings, 0 replies; 5+ messages in thread
From: David Edmondson @ 2017-07-10 21:12 UTC (permalink / raw)
  To: David Bremner, david wen riccardi-zhu; +Cc: notmuch

On Monday, 2017-07-10 at 17:40:04 -0300, David Bremner wrote:

>>> What is the output of M-x notmuch-hello-versions <return>
>>
>> notmuch version 0.24.2
>
> That's very suprising, since it should also print the version of notmuch
> emacs mua if it is different from the notmuch version.

Running MELPA on macOS talking over ssh to “unstable” notmuch on Debian
gives me:

notmuch version 0.24.2 (emacs mua version unknown)

which matches your expectation, I think.

dme.
-- 
Tell me sweet little lies.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-10 21:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-10 12:16 Emacs "notmuch CLI version mismatch" david wen riccardi-zhu
2017-07-10 18:14 ` David Bremner
2017-07-10 19:22   ` david wen riccardi-zhu
2017-07-10 20:40     ` David Bremner
2017-07-10 21:12       ` David Edmondson

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).