Gnus development mailing list
 help / color / mirror / Atom feed
From: joakim@verona.se
Subject: problem asserts in nnimap
Date: Mon, 22 May 2006 21:29:23 +0200	[thread overview]
Message-ID: <m3ac99hn8s.fsf@kurono.home> (raw)

I'm connecting to a dovecot instance with nnimap.

I get problem with asserts failing.

I tried debugging it a bit like this:

in imap-parse-body in imap.el
...
	(when (eq (char-after) ?\ ) ;; body-ext-1part:
	  (imap-forward)
	  (push (imap-parse-nstring) body) ;; body-fld-md5
	  (setq body (append (imap-parse-body-ext) body))) ;; body-ext-1part..

(my-assert "1")
	(imap-forward)
	(nreverse body)))))
...
(defun my-assert(s)
  (assert (eq (char-after) ?\)) nil (concat "In imap-parse-body JAVE "
	s " " (buffer-substring (- (point) 50) (+ 1(point))))9
)
...
(i just factored out the assert)

in the backtace buffer i get this:
  signal(error ("In imap-parse-body JAVE 1 ted\")(\"text\" \"x-vcal\" (\"charset\" \"iso-8859-1\") {25}"))

I interpret this as meaning that an ")" is expected, but instead we
got "}". 

in *imap-log* it looks like this:

("text" "x-vcal" ("charset" "iso-8859-1") {25}<startupmöte_forts._.ics> NIL "quoted-printable" 550 22)


Im not too familiar with gnus inner workings or nnimap, so any
assistance would be apreciated!

-- 
Joakim Verona
http://www.verona.se




             reply	other threads:[~2006-05-22 19:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-22 19:29 joakim [this message]
2006-05-23  2:07 ` gdt
2006-05-23  7:26   ` joakim
2006-06-01 20:05     ` gdt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ac99hn8s.fsf@kurono.home \
    --to=joakim@verona.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).