Discussion:
Search finds no messages
(too old to reply)
Loris Bennett
2023-08-08 08:22:04 UTC
Permalink
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.
Gijs Hillenius
2023-08-08 08:32:47 UTC
Permalink
Post by Loris Bennett
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/
Loris Bennett
2023-08-08 09:07:45 UTC
Permalink
Hi Gijs,
Post by Gijs Hillenius
Post by Loris Bennett
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 :-)
Post by Gijs Hillenius
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.
Post by Gijs Hillenius
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.
Loris Bennett
2023-08-11 11:07:47 UTC
Permalink
Post by Loris Bennett
Hi Gijs,
Post by Gijs Hillenius
Post by Loris Bennett
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 :-)
Post by Gijs Hillenius
What mail
backend are you using?
nnimap
but I also have the problem in the nntp groups, although with those I
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)
(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.
Post by Gijs Hillenius
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.
Loris Bennett
2023-08-11 11:15:41 UTC
Permalink
Post by Loris Bennett
Post by Loris Bennett
Hi Gijs,
Post by Gijs Hillenius
Post by Loris Bennett
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 :-)
Post by Gijs Hillenius
What mail
backend are you using?
nnimap
but I also have the problem in the nntp groups, although with those I
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)
(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.
Post by Gijs Hillenius
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?
Post by Loris Bennett
Cheers,
Loris
--
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin
Loris Bennett
2023-08-16 08:12:16 UTC
Permalink
Post by Loris Bennett
Post by Loris Bennett
Post by Loris Bennett
Hi Gijs,
Post by Gijs Hillenius
Post by Loris Bennett
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 :-)
Post by Gijs Hillenius
What mail
backend are you using?
nnimap
but I also have the problem in the nntp groups, although with those I
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)
(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.
Post by Gijs Hillenius
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.
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.
Loris Bennett
2023-08-16 14:27:12 UTC
Permalink
Post by Loris Bennett
Post by Loris Bennett
Post by Loris Bennett
Post by Loris Bennett
Hi Gijs,
Post by Gijs Hillenius
Post by Loris Bennett
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 :-)
Post by Gijs Hillenius
What mail
backend are you using?
nnimap
but I also have the problem in the nntp groups, although with those I
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)
(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.
Post by Gijs Hillenius
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.
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.
Loading...