Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gnus: Invalid read syntax: ". in wrong context" - what this mean?

36 views
Skip to first unread message

Kamil Jońca

unread,
Dec 16, 2021, 4:45:07 AM12/16/21
to

(I wrote also to gnu.emacs.gnus, but it is seems that there is VERY low
traffic)

I tried to configure gnus to read my work mail.
I configure the server, can read groups (= mail folders) to subscribe,
but when I try to enter into one group I got:

nnimap-parse-flags: Invalid read syntax: ". in wrong context"


GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2021-11-27, modified by Debian



What can I do?
KJ

--
http://wolnelektury.pl/wesprzyj/teraz/

Ralf Fassel

unread,
Dec 16, 2021, 5:23:11 AM12/16/21
to
* Kamil Jońca <kjo...@poczta.onet.pl>
| I tried to configure gnus to read my work mail.
| I configure the server, can read groups (= mail folders) to subscribe,
| but when I try to enter into one group I got:
>
| nnimap-parse-flags: Invalid read syntax: ". in wrong context"
>
>
| What can I do?

M-x set-variable RET debug-on-error RET t RET

This should open the lisp debugger when the error occurs, so you get
more details about the cause.

debug-on-error is a variable defined in ‘C source code’.
--<snip-snip>--
Documentation:
Non-nil means enter debugger if an error is signaled.

R'

Kamil Jońca

unread,
Dec 16, 2021, 5:53:24 AM12/16/21
to
Below the results.
mailbox "fff" contains messages from gerrit (if it does matter)


Debugger entered--Lisp error: (invalid-read-syntax ". in wrong context")
read(#<buffer *nnimap dorsz.kjonca 143 *nntpd**-221904>)
nnimap-parse-flags(((3369 3370 1 "fff" "SELECT")))
nnimap-finish-retrieve-group-infos("dorsz.kjonca-ephemeral" (("nnimap+dorsz.kjonca:fff" 3 nil nil (nnimap "dorsz.kjonca-ephemeral" (nnimap-address "dorsz.kjonca") (nnimap-server-port 143) (nnimap-authenticator cram-md5) (nnimap-stream network)) ((quit-config #<buffer *Gnus Browse Server*> . browse)))) ((3369 3370 1 "fff" "SELECT")) t)
nnimap-request-group("fff" "dorsz.kjonca-ephemeral" t ("nnimap+dorsz.kjonca:fff" 3 nil nil (nnimap "dorsz.kjonca-ephemeral" (nnimap-address "dorsz.kjonca") (nnimap-server-port 143) (nnimap-authenticator cram-md5) (nnimap-stream network)) ((quit-config #<buffer *Gnus Browse Server*> . browse))))
gnus-request-group("nnimap+dorsz.kjonca:fff" t nil ("nnimap+dorsz.kjonca:fff" 3 nil nil (nnimap "dorsz.kjonca-ephemeral" (nnimap-address "dorsz.kjonca") (nnimap-server-port 143) (nnimap-authenticator cram-md5) (nnimap-stream network)) ((quit-config #<buffer *Gnus Browse Server*> . browse))))
gnus-select-newsgroup("nnimap+dorsz.kjonca:fff" t nil)
gnus-summary-read-group-1("nnimap+dorsz.kjonca:fff" t t nil nil nil)
gnus-summary-read-group("nnimap+dorsz.kjonca:fff" t t nil nil nil nil)
gnus-group-read-group(t t "nnimap+dorsz.kjonca:fff" nil)
gnus-group-read-ephemeral-group("nnimap+dorsz.kjonca:fff" (nnimap "dorsz.kjonca" (nnimap-server-port 143) (nnimap-authenticator cram-md5) (nnimap-stream network)) nil (#<buffer *Gnus Browse Server*> . browse) nil nil nil nil)
gnus-browse-read-group(no nil)
gnus-browse-select-group(nil)
funcall-interactively(gnus-browse-select-group nil)
call-interactively(gnus-browse-select-group nil nil)
command-execute(gnus-browse-select-group)

--
http://wolnelektury.pl/wesprzyj/teraz/

Kamil Jońca

unread,
Dec 16, 2021, 1:01:04 PM12/16/21
to
Kamil Jońca <kjo...@poczta.onet.pl> writes:

[...]

Semms that problem was with IMAP labels/keywords.

I found that one message was strange keywords (they looked like splitted received
header value)


When I did on server
--8<---------------cut here---------------start------------->8---
doveadm flags remove 'DB6PR07DA0193.EURPRD07.PROD.OUTLOOK.COM;' mailbox fff
doveadm flags remove 'DB6PR06MB3208.eurprd05.prod.outlook.com' mailbox fff
--8<---------------cut here---------------end--------------->8---
group was able to subscribe and retrieve.
I do not know if gnus does not like dot or semicolon.

KJ


--
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html

Loris Bennett

unread,
Dec 17, 2021, 4:37:48 AM12/17/21
to
Kamil Jońca <kjo...@poczta.onet.pl> writes:

> (I wrote also to gnu.emacs.gnus, but it is seems that there is VERY low
> traffic)

It will probably stay very low if you cross post 4 minutes later and
don't reply to the response you got to your initial posting with 30
minutes :-) Traffic is not just other people - it is you too.

Cheers,

Loris

[snip (14 lines)]

--
This signature is currently under construction.
0 new messages