GNU bug report logs - #12313
nnmairix bug when searching (End of file during parsing)

Previous Next

Packages: emacs, gnus;

Reported by: Sergio Durigan Junior <sergiodj <at> riseup.net>

Date: Thu, 30 Aug 2012 21:34:01 UTC

Severity: normal

Tags: pending

To reply to this bug, email your comments to 12313 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Thu, 30 Aug 2012 21:34:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sergio Durigan Junior <sergiodj <at> riseup.net>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Thu, 30 Aug 2012 21:34:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sergio Durigan Junior <sergiodj <at> riseup.net>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: nnmairix bug when searching (End of file during parsing)
Date: Thu, 30 Aug 2012 18:31:56 -0300
I configured nnmairix here, and when I try to search through my messages
it even mentions the search results, but when it tries to open the
search group to display the results, I see the "End of file during
parsing" error, and the group never gets opened.

I tried running `mairix' from the command line, with the same search,
and it succeeded (i.e., found the messages and created the symbolic
links on the Maildir-style directory).

I am using nnimap with Dovecot to access my emails.  I created the
nnmairix group using the default procedure, i.e., "G b c".

Please let me know if you need more information.

Gnus v5.13
GNU Emacs 24.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.10)
 of 2012-07-13 on x86-04.phx2.fedoraproject.org

-- 
Sergio




Information forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Sat, 06 Jul 2013 17:56:03 GMT) Full text and rfc822 format available.

Message #8 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sergio Durigan Junior <sergiodj <at> riseup.net>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Sat, 06 Jul 2013 19:54:39 +0200
Sergio Durigan Junior <sergiodj <at> riseup.net> writes:

> I configured nnmairix here, and when I try to search through my messages
> it even mentions the search results, but when it tries to open the
> search group to display the results, I see the "End of file during
> parsing" error, and the group never gets opened.

`(setq debug-on-error t)', repeat the bug and post the resulting
backtrace.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Thu, 10 Oct 2013 06:56:02 GMT) Full text and rfc822 format available.

Message #11 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Durigan Junior <sergiodj <at> riseup.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Thu, 10 Oct 2013 03:55:06 -0300
On Saturday, July 06 2013, Lars Ingebrigtsen wrote:

> Sergio Durigan Junior <sergiodj <at> riseup.net> writes:
>
>> I configured nnmairix here, and when I try to search through my messages
>> it even mentions the search results, but when it tries to open the
>> search group to display the results, I see the "End of file during
>> parsing" error, and the group never gets opened.
>
> `(setq debug-on-error t)', repeat the bug and post the resulting
> backtrace.

Sorry for taking so long to reply.

As it turns out, setting `debug-on-error' does not have any effect.
I looked at nnmairix.el, but didn't find this message there.  I will see
if I have some time to debug this in the next days.  Meanwhile, would
you have some hints/advices for debugging this problem?

Thanks!

-- 
Sergio




Information forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Thu, 10 Oct 2013 07:02:03 GMT) Full text and rfc822 format available.

Message #14 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Durigan Junior <sergiodj <at> riseup.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Thu, 10 Oct 2013 04:00:57 -0300
On Thursday, October 10 2013, I wrote:

> As it turns out, setting `debug-on-error' does not have any effect.
> I looked at nnmairix.el, but didn't find this message there.  I will see
> if I have some time to debug this in the next days.  Meanwhile, would
> you have some hints/advices for debugging this problem?

Well, I forgot to mention, I actually found something while looking at
the Messages buffer:

  nnmairix-request-group-with-article-number-correction: End of file during parsing

I'm using nnimap as my main backend (Dovecot), FWIW.

-- 
Sergio




Information forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Thu, 09 Jan 2014 05:23:02 GMT) Full text and rfc822 format available.

Message #17 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Durigan Junior <sergiodj <at> riseup.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Thu, 09 Jan 2014 03:22:50 -0200
On Thursday, October 10 2013, I wrote:

> Well, I forgot to mention, I actually found something while looking at
> the Messages buffer:
>
>   nnmairix-request-group-with-article-number-correction: End of file during parsing
>
> I'm using nnimap as my main backend (Dovecot), FWIW.

Hey there :-).

I still haven't had the chance to look at this bug yet :-(.  Too many
things to do!

But anyway, I'm just pinging to know if you managed to look at this
problem, and if you need some help/info from my side.

Thanks!

-- 
Sergio




Information forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Thu, 30 Jan 2014 23:21:02 GMT) Full text and rfc822 format available.

Message #20 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sergio Durigan Junior <sergiodj <at> riseup.net>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Thu, 30 Jan 2014 15:19:20 -0800
Sergio Durigan Junior <sergiodj <at> riseup.net> writes:

> Well, I forgot to mention, I actually found something while looking at
> the Messages buffer:
>
>   nnmairix-request-group-with-article-number-correction: End of file
> during parsing

Hm.  That function calls `read' a few times, and it's likely that the
data there is bad.

(setq debug-ignored-errors nil
      debug-on-error t)

Should get you a backtrace when it fails.  Look in the "*mairix output*"
buffer when this happens, and post the contents of that buffer.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Fri, 31 Jan 2014 00:16:02 GMT) Full text and rfc822 format available.

Message #23 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Durigan Junior <sergiodj <at> riseup.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Thu, 30 Jan 2014 22:15:14 -0200
On Thursday, January 30 2014, Lars Ingebrigtsen wrote:

> Hm.  That function calls `read' a few times, and it's likely that the
> data there is bad.
>
> (setq debug-ignored-errors nil
>       debug-on-error t)
>
> Should get you a backtrace when it fails.  Look in the "*mairix output*"
> buffer when this happens, and post the contents of that buffer.

There's just:

  Matched 1079 messages

Not sure you wanted the backtrace as well, but here it is (it happens
when I type G b s, provide a search term, and hit RET):

Debugger entered--Lisp error: (end-of-file)
  read(#<buffer  *nntpd*>)
  nnmairix-request-group-with-article-number-correction("zz_mairix-searchgroup-1" "nnmairix+localsearch:searchgroup")
  nnmairix-request-group("searchgroup" "localsearch" nil ("nnmairix+localsearch:searchgroup" 3 nil nil (nnmairix "localsearch" (nnmairix-backend nnimap) (nnmairix-backend-server "local") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "searchgroup")) ((numcorr t 0 0) (query "searchterm") (folder . "zz_mairix-searchgroup-1") (threads))))
  gnus-activate-group("nnmairix+localsearch:searchgroup" scan nil (nnmairix "localsearch" (nnmairix-backend nnimap) (nnmairix-backend-server "local") (nnmairix-mairix-command "mairix") (nnmairix-hidden-folders t) (nnmairix-default-group "searchgroup")))
  gnus-group-get-new-news-this-group()
  nnmairix-update-and-clear-marks("nnmairix+localsearch:searchgroup")
  nnmairix-search("searchterm")
  call-interactively(nnmairix-search nil nil)
  recursive-edit()
  debug(error (end-of-file))
  read(#<buffer  *nntpd*>)
  nnmairix-request-group-with-article-number-correction("zz_mairix-searchgroup-1" "nnmairix+localsearch:searchgroup")
  nnmairix-request-group("searchgroup" "localsearch" t nil)
  gnus-request-group("nnmairix+localsearch:searchgroup" t)
  gnus-select-newsgroup("nnmairix+localsearch:searchgroup" nil nil)
  gnus-summary-read-group-1("nnmairix+localsearch:searchgroup" nil t nil nil nil)
  gnus-summary-read-group("nnmairix+localsearch:searchgroup" nil t nil nil nil nil)
  gnus-group-read-group(nil t)
  gnus-group-select-group(nil)
  gnus-topic-select-group(nil)
  call-interactively(gnus-topic-select-group nil nil)

Thanks,

-- 
Sergio




Information forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Fri, 31 Jan 2014 00:21:02 GMT) Full text and rfc822 format available.

Message #26 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sergio Durigan Junior <sergiodj <at> riseup.net>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Thu, 30 Jan 2014 16:18:55 -0800
Sergio Durigan Junior <sergiodj <at> riseup.net> writes:

>> Should get you a backtrace when it fails.  Look in the "*mairix output*"
>> buffer when this happens, and post the contents of that buffer.
>
> There's just:
>
>   Matched 1079 messages

Aha.  Hm...  Aha, then it jumps to the " *nntpd*" buffer (note leading
space) and starts reading from that.  What's in that buffer when this
happens?  I would suspect nothing?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Fri, 31 Jan 2014 00:27:01 GMT) Full text and rfc822 format available.

Message #29 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Durigan Junior <sergiodj <at> riseup.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Thu, 30 Jan 2014 22:26:41 -0200
On Thursday, January 30 2014, Lars Ingebrigtsen wrote:

> Sergio Durigan Junior <sergiodj <at> riseup.net> writes:
>
>>> Should get you a backtrace when it fails.  Look in the "*mairix output*"
>>> buffer when this happens, and post the contents of that buffer.
>>
>> There's just:
>>
>>   Matched 1079 messages
>
> Aha.  Hm...  Aha, then it jumps to the " *nntpd*" buffer (note leading
> space) and starts reading from that.  What's in that buffer when this
> happens?  I would suspect nothing?

That leading whitespace was added by me, sorry.  I wanted to
contextualize the message.  But yeah, there is nothing in the *nntpd*
buffer, indeed.

-- 
Sergio




Information forwarded to bugs <at> gnus.org:
bug#12313; Package gnus. (Fri, 31 Jan 2014 00:32:01 GMT) Full text and rfc822 format available.

Message #32 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sergio Durigan Junior <sergiodj <at> riseup.net>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Thu, 30 Jan 2014 16:30:39 -0800
Sergio Durigan Junior <sergiodj <at> riseup.net> writes:

> But yeah, there is nothing in the *nntpd* buffer, indeed.

And the code expects that there should be, so something is going wrong
before that code is called.  But I'm not familiar enough with the code
to see what's supposed to actually insert the data into the *nntpd*
buffer.

Anybody?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug reassigned from package 'gnus' to 'emacs,gnus'. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 14:46:01 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 5.13. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 14:46:01 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 14:50:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#12313; Package emacs,gnus. (Wed, 25 Jan 2017 15:04:02 GMT) Full text and rfc822 format available.

Message #41 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sergio Durigan Junior <sergiodj <at> riseup.net>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Wed, 25 Jan 2017 15:48:59 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Sergio Durigan Junior <sergiodj <at> riseup.net> writes:
>
>> But yeah, there is nothing in the *nntpd* buffer, indeed.
>
> And the code expects that there should be, so something is going wrong
> before that code is called.  But I'm not familiar enough with the code
> to see what's supposed to actually insert the data into the *nntpd*
> buffer.
>
> Anybody?

Sergio, is this still a problem or has it been fixed in the meantime?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#12313; Package emacs,gnus. (Wed, 25 Jan 2017 16:49:01 GMT) Full text and rfc822 format available.

Message #44 received at 12313 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Durigan Junior <sergiodj <at> sergiodj.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 12313 <at> debbugs.gnu.org
Subject: Re: bug#12313: nnmairix bug when searching (End of file during
 parsing)
Date: Wed, 25 Jan 2017 11:48:23 -0500
On Wednesday, January 25 2017, Lars Ingebrigtsen wrote:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> Sergio Durigan Junior <sergiodj <at> riseup.net> writes:
>>
>>> But yeah, there is nothing in the *nntpd* buffer, indeed.
>>
>> And the code expects that there should be, so something is going wrong
>> before that code is called.  But I'm not familiar enough with the code
>> to see what's supposed to actually insert the data into the *nntpd*
>> buffer.
>>
>> Anybody?
>
> Sergio, is this still a problem or has it been fixed in the meantime?

Hey Lars,

Thanks for the ping.  I've just tried to reproduce the bug here, and it
still happens.  To be honest, I'm not going to use nnmairix anymore
(even if this bug gets fixed), so if you want to lower the priority of
this issue feel free to do so.  I can still help providing needed
information, though.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/




Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 15 Apr 2018 17:16:01 GMT) Full text and rfc822 format available.

Added tag(s) pending. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Sun, 04 May 2025 11:50:01 GMT) Full text and rfc822 format available.

This bug report was last modified 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.