Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.emacs.gnus > #7837 > unrolled thread

Search finds no messages

Started by"Loris Bennett" <loris.bennett@fu-berlin.de>
First post2023-08-08 10:22 +0200
Last post2023-08-16 16:27 +0200
Articles 7 — 2 participants

Back to article view | Back to gnu.emacs.gnus


Contents

  Search finds no messages "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-08-08 10:22 +0200
    Re: Search finds no messages Gijs Hillenius <gijs@hillenius.net> - 2023-08-08 10:32 +0200
      Re: Search finds no messages "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-08-08 11:07 +0200
        Re: Search finds no messages "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-08-11 13:07 +0200
          Re: Search finds no messages "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-08-11 13:15 +0200
            Re: Search finds no messages "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-08-16 10:12 +0200
              Re: Search finds no messages "Loris Bennett" <loris.bennett@fu-berlin.de> - 2023-08-16 16:27 +0200

#7837 — Search finds no messages

From"Loris Bennett" <loris.bennett@fu-berlin.de>
Date2023-08-08 10:22 +0200
SubjectSearch finds no messages
Message-ID<87pm3ygd03.fsf@debian-BULLSEYE-live-builder-AMD64>
Hi,

I have just upgraded my Debian system from 11 to 12 and now, when I try
to search within a group in the *Group* buffer with 'G G' I always get
an error like

  Group nnselect:nnselect-87zg32gdj4.fsf contains no messages

even when I know that there are messages in the group and that some of
these contain the string I searched for.  If I enter the group, messages
are displayed.

Does anyone know what the problems might be or at least where I should
start looking in order to debug the problem?

Cheers,

Loris

-- 
This signature is currently under constuction.

[toc] | [next] | [standalone]


#7838

FromGijs Hillenius <gijs@hillenius.net>
Date2023-08-08 10:32 +0200
Message-ID<87edkegci8.fsf@hillenius.net>
In reply to#7837
On  8 August 2023 10:22 Loris Bennett, wrote:

> Hi,
>
> I have just upgraded my Debian system from 11 to 12 and now, when I try
> to search within a group in the *Group* buffer with 'G G' I always get
> an error like
>
>   Group nnselect:nnselect-87zg32gdj4.fsf contains no messages
>
> even when I know that there are messages in the group and that some of
> these contain the string I searched for.  If I enter the group, messages
> are displayed.
>
> Does anyone know what the problems might be or at least where I should
> start looking in order to debug the problem?

Hello

We probably need more info. Did something else change ? What mail
backend are you using?

You suspect a link to Debian 12. Debian Bookworm comes with Emacs 28.2.
If you think that is it, how about going back to 27.1 ? 

http://snapshot.debian.org/binary/emacs/ 

[toc] | [prev] | [next] | [standalone]


#7839

From"Loris Bennett" <loris.bennett@fu-berlin.de>
Date2023-08-08 11:07 +0200
Message-ID<87fs4thpge.fsf@debian-BULLSEYE-live-builder-AMD64>
In reply to#7838
Hi Gijs,

Gijs Hillenius <gijs@hillenius.net> writes:

> On  8 August 2023 10:22 Loris Bennett, wrote:
>
>> Hi,
>>
>> I have just upgraded my Debian system from 11 to 12 and now, when I try
>> to search within a group in the *Group* buffer with 'G G' I always get
>> an error like
>>
>>   Group nnselect:nnselect-87zg32gdj4.fsf contains no messages
>>
>> even when I know that there are messages in the group and that some of
>> these contain the string I searched for.  If I enter the group, messages
>> are displayed.
>>
>> Does anyone know what the problems might be or at least where I should
>> start looking in order to debug the problem?
>
> Hello
>
> We probably need more info. Did something else change ?

Not that I am aware of, but that is a fairly major change :-)

> What mail
> backend are you using?

  nnimap

but I also have the problem in the nntp groups, although with those I
seen the following in the *Messages* buffer:

  nnselect-run: gnus-search-run-query on ((search-query-spec (query
  . loris) (raw)) (search-group-spec (nntp:news.fu-berlin.de
  gnu.emacs.gnus))) gave error (gnus-search-config-error
  gnus-search-config-error No search engine configured for
  nntp:news.fu-berlin.de)

Indeed there is no search engine configured for nntp:

  (nntp "fu_news"
        (nntp-address "news.fu-berlin.de")
        (remove-prefix nntp)
        (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))

whereas for imap the search engine is configured 

  (nnimap "fu_exchange"
          (nnir-search-engine imap)
          (remove-prefix "nnimap")
          (nnimap-address "mail.zedat.fu-berlin.de")
          (nnimap-record-commands t)
          (nnimap-inbox INBOX)
          (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))

So it seems that for IMAP the search engine is configured but not
working and for NNTP it is just not configured.

> You suspect a link to Debian 12. Debian Bookworm comes with Emacs 28.2.
> If you think that is it, how about going back to 27.1 ? 
>
> http://snapshot.debian.org/binary/emacs/ 
>

Well, before I go down that road I shall check whether the same problem
occurs on my other laptop, which is at work, but which I also updated
and which uses the same Emacs config.

Cheers,

Loris

-- 
This signature is currently under constuction.

[toc] | [prev] | [next] | [standalone]


#7841

From"Loris Bennett" <loris.bennett@fu-berlin.de>
Date2023-08-11 13:07 +0200
Message-ID<87leehdegs.fsf@zedat.fu-berlin.de>
In reply to#7839
"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> Hi Gijs,
>
> Gijs Hillenius <gijs@hillenius.net> writes:
>
>> On  8 August 2023 10:22 Loris Bennett, wrote:
>>
>>> Hi,
>>>
>>> I have just upgraded my Debian system from 11 to 12 and now, when I try
>>> to search within a group in the *Group* buffer with 'G G' I always get
>>> an error like
>>>
>>>   Group nnselect:nnselect-87zg32gdj4.fsf contains no messages
>>>
>>> even when I know that there are messages in the group and that some of
>>> these contain the string I searched for.  If I enter the group, messages
>>> are displayed.
>>>
>>> Does anyone know what the problems might be or at least where I should
>>> start looking in order to debug the problem?
>>
>> Hello
>>
>> We probably need more info. Did something else change ?
>
> Not that I am aware of, but that is a fairly major change :-)
>
>> What mail
>> backend are you using?
>
>   nnimap
>
> but I also have the problem in the nntp groups, although with those I
> seen the following in the *Messages* buffer:
>
>   nnselect-run: gnus-search-run-query on ((search-query-spec (query
>   . loris) (raw)) (search-group-spec (nntp:news.fu-berlin.de
>   gnu.emacs.gnus))) gave error (gnus-search-config-error
>   gnus-search-config-error No search engine configured for
>   nntp:news.fu-berlin.de)
>
> Indeed there is no search engine configured for nntp:
>
>   (nntp "fu_news"
>         (nntp-address "news.fu-berlin.de")
>         (remove-prefix nntp)
>         (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))
>
> whereas for imap the search engine is configured 
>
>   (nnimap "fu_exchange"
>           (nnir-search-engine imap)
>           (remove-prefix "nnimap")
>           (nnimap-address "mail.zedat.fu-berlin.de")
>           (nnimap-record-commands t)
>           (nnimap-inbox INBOX)
>           (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))
>
> So it seems that for IMAP the search engine is configured but not
> working and for NNTP it is just not configured.
>
>> You suspect a link to Debian 12. Debian Bookworm comes with Emacs 28.2.
>> If you think that is it, how about going back to 27.1 ? 
>>
>> http://snapshot.debian.org/binary/emacs/ 
>>
>
> Well, before I go down that road I shall check whether the same problem
> occurs on my other laptop, which is at work, but which I also updated
> and which uses the same Emacs config.

So it seems that the problem does not always occur.  With a stripped
down configuration I now find the search still works for two private
email accounts, but not with my work account (Exchange), with which it
did previously work.

I am not aware that there has been a change with the email server at
work, so maybe the more recent version of Emacs/Gnus no longer tolerates
something it once did.  Strange also that the actual newsgroups are also
affected.

So not (directly) an Emacs/Gnus issue.

Cheers,

Loris

-- 
This signature is currently under constuction.

[toc] | [prev] | [next] | [standalone]


#7842

From"Loris Bennett" <loris.bennett@fu-berlin.de>
Date2023-08-11 13:15 +0200
Message-ID<87h6p5de3m.fsf@zedat.fu-berlin.de>
In reply to#7841
"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>
>> Hi Gijs,
>>
>> Gijs Hillenius <gijs@hillenius.net> writes:
>>
>>> On  8 August 2023 10:22 Loris Bennett, wrote:
>>>
>>>> Hi,
>>>>
>>>> I have just upgraded my Debian system from 11 to 12 and now, when I try
>>>> to search within a group in the *Group* buffer with 'G G' I always get
>>>> an error like
>>>>
>>>>   Group nnselect:nnselect-87zg32gdj4.fsf contains no messages
>>>>
>>>> even when I know that there are messages in the group and that some of
>>>> these contain the string I searched for.  If I enter the group, messages
>>>> are displayed.
>>>>
>>>> Does anyone know what the problems might be or at least where I should
>>>> start looking in order to debug the problem?
>>>
>>> Hello
>>>
>>> We probably need more info. Did something else change ?
>>
>> Not that I am aware of, but that is a fairly major change :-)
>>
>>> What mail
>>> backend are you using?
>>
>>   nnimap
>>
>> but I also have the problem in the nntp groups, although with those I
>> seen the following in the *Messages* buffer:
>>
>>   nnselect-run: gnus-search-run-query on ((search-query-spec (query
>>   . loris) (raw)) (search-group-spec (nntp:news.fu-berlin.de
>>   gnu.emacs.gnus))) gave error (gnus-search-config-error
>>   gnus-search-config-error No search engine configured for
>>   nntp:news.fu-berlin.de)
>>
>> Indeed there is no search engine configured for nntp:
>>
>>   (nntp "fu_news"
>>         (nntp-address "news.fu-berlin.de")
>>         (remove-prefix nntp)
>>         (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))
>>
>> whereas for imap the search engine is configured 
>>
>>   (nnimap "fu_exchange"
>>           (nnir-search-engine imap)
>>           (remove-prefix "nnimap")
>>           (nnimap-address "mail.zedat.fu-berlin.de")
>>           (nnimap-record-commands t)
>>           (nnimap-inbox INBOX)
>>           (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))
>>
>> So it seems that for IMAP the search engine is configured but not
>> working and for NNTP it is just not configured.
>>
>>> You suspect a link to Debian 12. Debian Bookworm comes with Emacs 28.2.
>>> If you think that is it, how about going back to 27.1 ? 
>>>
>>> http://snapshot.debian.org/binary/emacs/ 
>>>
>>
>> Well, before I go down that road I shall check whether the same problem
>> occurs on my other laptop, which is at work, but which I also updated
>> and which uses the same Emacs config.
>
> So it seems that the problem does not always occur.  With a stripped
> down configuration I now find the search still works for two private
> email accounts, but not with my work account (Exchange), with which it
> did previously work.
>
> I am not aware that there has been a change with the email server at
> work, so maybe the more recent version of Emacs/Gnus no longer tolerates
> something it once did.  Strange also that the actual newsgroups are also
> affected.
>
> So not (directly) an Emacs/Gnus issue.
>

OK, so for the newsgroups I get this error:

nnselect-run: gnus-search-run-query on ((search-query-spec (query
. emacs) (raw)) (search-group-spec (nntp:news.fu-berlin.de comp.emacs)))
gave error (gnus-search-config-error gnus-search-config-error No search
engine configured for nntp:news.fu-berlin.de)

What should the search engine be for nntp?


> Cheers,
>
> Loris
-- 
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin

[toc] | [prev] | [next] | [standalone]


#7843

From"Loris Bennett" <loris.bennett@fu-berlin.de>
Date2023-08-16 10:12 +0200
Message-ID<87il9f1k4f.fsf@zedat.fu-berlin.de>
In reply to#7842
"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>
>> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>>
>>> Hi Gijs,
>>>
>>> Gijs Hillenius <gijs@hillenius.net> writes:
>>>
>>>> On  8 August 2023 10:22 Loris Bennett, wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have just upgraded my Debian system from 11 to 12 and now, when I try
>>>>> to search within a group in the *Group* buffer with 'G G' I always get
>>>>> an error like
>>>>>
>>>>>   Group nnselect:nnselect-87zg32gdj4.fsf contains no messages
>>>>>
>>>>> even when I know that there are messages in the group and that some of
>>>>> these contain the string I searched for.  If I enter the group, messages
>>>>> are displayed.
>>>>>
>>>>> Does anyone know what the problems might be or at least where I should
>>>>> start looking in order to debug the problem?
>>>>
>>>> Hello
>>>>
>>>> We probably need more info. Did something else change ?
>>>
>>> Not that I am aware of, but that is a fairly major change :-)
>>>
>>>> What mail
>>>> backend are you using?
>>>
>>>   nnimap
>>>
>>> but I also have the problem in the nntp groups, although with those I
>>> seen the following in the *Messages* buffer:
>>>
>>>   nnselect-run: gnus-search-run-query on ((search-query-spec (query
>>>   . loris) (raw)) (search-group-spec (nntp:news.fu-berlin.de
>>>   gnu.emacs.gnus))) gave error (gnus-search-config-error
>>>   gnus-search-config-error No search engine configured for
>>>   nntp:news.fu-berlin.de)
>>>
>>> Indeed there is no search engine configured for nntp:
>>>
>>>   (nntp "fu_news"
>>>         (nntp-address "news.fu-berlin.de")
>>>         (remove-prefix nntp)
>>>         (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))
>>>
>>> whereas for imap the search engine is configured 
>>>
>>>   (nnimap "fu_exchange"
>>>           (nnir-search-engine imap)
>>>           (remove-prefix "nnimap")
>>>           (nnimap-address "mail.zedat.fu-berlin.de")
>>>           (nnimap-record-commands t)
>>>           (nnimap-inbox INBOX)
>>>           (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))
>>>
>>> So it seems that for IMAP the search engine is configured but not
>>> working and for NNTP it is just not configured.
>>>
>>>> You suspect a link to Debian 12. Debian Bookworm comes with Emacs 28.2.
>>>> If you think that is it, how about going back to 27.1 ? 
>>>>
>>>> http://snapshot.debian.org/binary/emacs/ 
>>>>
>>>
>>> Well, before I go down that road I shall check whether the same problem
>>> occurs on my other laptop, which is at work, but which I also updated
>>> and which uses the same Emacs config.
>>
>> So it seems that the problem does not always occur.  With a stripped
>> down configuration I now find the search still works for two private
>> email accounts, but not with my work account (Exchange), with which it
>> did previously work.
>>
>> I am not aware that there has been a change with the email server at
>> work, so maybe the more recent version of Emacs/Gnus no longer tolerates
>> something it once did.  Strange also that the actual newsgroups are also
>> affected.
>>
>> So not (directly) an Emacs/Gnus issue.
>>
>
> OK, so for the newsgroups I get this error:
>
> nnselect-run: gnus-search-run-query on ((search-query-spec (query
> . emacs) (raw)) (search-group-spec (nntp:news.fu-berlin.de comp.emacs)))
> gave error (gnus-search-config-error gnus-search-config-error No search
> engine configured for nntp:news.fu-berlin.de)
>
> What should the search engine be for nntp?

It seems that searching in NNTP groups probably never worked.  I was
confusing them with mailing lists which I read as newsgroups.

However I have discovered that if I just have

(setq gnus-select-method '(nntp "news.fu-berlin.de"))
(setq gnus-secondary-select-methods
      (quote
       ((nnimap "gmx"
                (nnimap-stream tls)
                (nnimap-address "imap.gmx.com"))
	(nnimap "fu_exchange"
                (nnimap-stream tls)
		(nnimap-address "mail.zedat.fu-berlin.de")))))

then a search over a GMX folder will yield results as expected, but one
over an Exchange folder will always return no results.  So it seems to
be some specific feature of the Exchange server.  I'll check whether the
people responsible for Exchange know of any changes that might be
causing the issue. 

Cheers,

Loris

-- 
-- 
This signature is currently under constuction.

[toc] | [prev] | [next] | [standalone]


#7844

From"Loris Bennett" <loris.bennett@fu-berlin.de>
Date2023-08-16 16:27 +0200
Message-ID<87wmxvxdtr.fsf@zedat.fu-berlin.de>
In reply to#7843
"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>
>> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>>
>>> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>>>
>>>> Hi Gijs,
>>>>
>>>> Gijs Hillenius <gijs@hillenius.net> writes:
>>>>
>>>>> On  8 August 2023 10:22 Loris Bennett, wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have just upgraded my Debian system from 11 to 12 and now, when I try
>>>>>> to search within a group in the *Group* buffer with 'G G' I always get
>>>>>> an error like
>>>>>>
>>>>>>   Group nnselect:nnselect-87zg32gdj4.fsf contains no messages
>>>>>>
>>>>>> even when I know that there are messages in the group and that some of
>>>>>> these contain the string I searched for.  If I enter the group, messages
>>>>>> are displayed.
>>>>>>
>>>>>> Does anyone know what the problems might be or at least where I should
>>>>>> start looking in order to debug the problem?
>>>>>
>>>>> Hello
>>>>>
>>>>> We probably need more info. Did something else change ?
>>>>
>>>> Not that I am aware of, but that is a fairly major change :-)
>>>>
>>>>> What mail
>>>>> backend are you using?
>>>>
>>>>   nnimap
>>>>
>>>> but I also have the problem in the nntp groups, although with those I
>>>> seen the following in the *Messages* buffer:
>>>>
>>>>   nnselect-run: gnus-search-run-query on ((search-query-spec (query
>>>>   . loris) (raw)) (search-group-spec (nntp:news.fu-berlin.de
>>>>   gnu.emacs.gnus))) gave error (gnus-search-config-error
>>>>   gnus-search-config-error No search engine configured for
>>>>   nntp:news.fu-berlin.de)
>>>>
>>>> Indeed there is no search engine configured for nntp:
>>>>
>>>>   (nntp "fu_news"
>>>>         (nntp-address "news.fu-berlin.de")
>>>>         (remove-prefix nntp)
>>>>         (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))
>>>>
>>>> whereas for imap the search engine is configured 
>>>>
>>>>   (nnimap "fu_exchange"
>>>>           (nnir-search-engine imap)
>>>>           (remove-prefix "nnimap")
>>>>           (nnimap-address "mail.zedat.fu-berlin.de")
>>>>           (nnimap-record-commands t)
>>>>           (nnimap-inbox INBOX)
>>>>           (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))
>>>>
>>>> So it seems that for IMAP the search engine is configured but not
>>>> working and for NNTP it is just not configured.
>>>>
>>>>> You suspect a link to Debian 12. Debian Bookworm comes with Emacs 28.2.
>>>>> If you think that is it, how about going back to 27.1 ? 
>>>>>
>>>>> http://snapshot.debian.org/binary/emacs/ 
>>>>>
>>>>
>>>> Well, before I go down that road I shall check whether the same problem
>>>> occurs on my other laptop, which is at work, but which I also updated
>>>> and which uses the same Emacs config.
>>>
>>> So it seems that the problem does not always occur.  With a stripped
>>> down configuration I now find the search still works for two private
>>> email accounts, but not with my work account (Exchange), with which it
>>> did previously work.
>>>
>>> I am not aware that there has been a change with the email server at
>>> work, so maybe the more recent version of Emacs/Gnus no longer tolerates
>>> something it once did.  Strange also that the actual newsgroups are also
>>> affected.
>>>
>>> So not (directly) an Emacs/Gnus issue.
>>>
>>
>> OK, so for the newsgroups I get this error:
>>
>> nnselect-run: gnus-search-run-query on ((search-query-spec (query
>> . emacs) (raw)) (search-group-spec (nntp:news.fu-berlin.de comp.emacs)))
>> gave error (gnus-search-config-error gnus-search-config-error No search
>> engine configured for nntp:news.fu-berlin.de)
>>
>> What should the search engine be for nntp?
>
> It seems that searching in NNTP groups probably never worked.  I was
> confusing them with mailing lists which I read as newsgroups.
>
> However I have discovered that if I just have
>
> (setq gnus-select-method '(nntp "news.fu-berlin.de"))
> (setq gnus-secondary-select-methods
>       (quote
>        ((nnimap "gmx"
>                 (nnimap-stream tls)
>                 (nnimap-address "imap.gmx.com"))
> 	(nnimap "fu_exchange"
>                 (nnimap-stream tls)
> 		(nnimap-address "mail.zedat.fu-berlin.de")))))
>
> then a search over a GMX folder will yield results as expected, but one
> over an Exchange folder will always return no results.  So it seems to
> be some specific feature of the Exchange server.  I'll check whether the
> people responsible for Exchange know of any changes that might be
> causing the issue. 

The Exchange server generates the following error when I attempt to
search via Gnus:

  SEARCH CHARSET UTF-8 TEXT hpc,"R=""6487 NO [BADCHARSET (US-ASCII)] The
  specified charset is not supported."

How can I change the charset Gnus uses for the search?

Cheers,

Loris

-- 
This signature is currently under constuction.

[toc] | [prev] | [standalone]


Back to top | Article view | gnu.emacs.gnus


csiph-web