Gnus development mailing list
 help / color / mirror / Atom feed
* nnimap-article-ranges error on sending message
@ 2010-09-30  7:51 Bruno Tavernier
  2010-09-30 13:06 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Bruno Tavernier @ 2010-09-30  7:51 UTC (permalink / raw)
  To: ding

Hello,

First of all thanks for the great work on nnimap, it is now very snappy
and pleasant to use!

Since yesterday's git pull, sending message is raising the following error.

,----
| nnimap-article-ranges: Wrong type argument: numberp, nil
| You did not specify a variable
`----

However, that do not prevent for the message be sent.

FYI, emacs-version
,----
| GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu) of 2010-08-27 
`----
and nothing fishy in the *imap log* buffer.

-- 
Bruno



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-article-ranges error on sending message
  2010-09-30  7:51 nnimap-article-ranges error on sending message Bruno Tavernier
@ 2010-09-30 13:06 ` Lars Magne Ingebrigtsen
  2010-09-30 13:11   ` Adam Sjøgren
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-30 13:06 UTC (permalink / raw)
  To: ding

Bruno Tavernier <tavernier.bruno@gmail.com> writes:

> Since yesterday's git pull, sending message is raising the following error.
>
> ,----
> | nnimap-article-ranges: Wrong type argument: numberp, nil
> | You did not specify a variable
> `----

(setq debug-on-error t) and repeat the bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-article-ranges error on sending message
  2010-09-30 13:06 ` Lars Magne Ingebrigtsen
@ 2010-09-30 13:11   ` Adam Sjøgren
  2010-09-30 13:13     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Sjøgren @ 2010-09-30 13:11 UTC (permalink / raw)
  To: ding

On Thu, 30 Sep 2010 15:06:24 +0200, Lars wrote:

> (setq debug-on-error t) and repeat the bug.

I bet you have this follow up bound to a key by now.


  Best regards,

    Adam

-- 
 "None of them kicks go boom                                  Adam Sjøgren
  None of them basslines fill the room"                  asjo@koldfront.dk




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-article-ranges error on sending message
  2010-09-30 13:11   ` Adam Sjøgren
@ 2010-09-30 13:13     ` Lars Magne Ingebrigtsen
  2010-09-30 14:57       ` Bruno Tavernier
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-30 13:13 UTC (permalink / raw)
  To: ding

asjo@koldfront.dk (Adam Sjøgren) writes:

>> (setq debug-on-error t) and repeat the bug.
>
> I bet you have this follow up bound to a key by now.

I thought so to, but I've forgotten what key I bound it to, so I've been
writing it by hand the last few weeks.  :-)

Now where is it...  Yeah, there it is:

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

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-article-ranges error on sending message
  2010-09-30 13:13     ` Lars Magne Ingebrigtsen
@ 2010-09-30 14:57       ` Bruno Tavernier
  2010-10-01  7:32         ` Bruno Tavernier
  0 siblings, 1 reply; 6+ messages in thread
From: Bruno Tavernier @ 2010-09-30 14:57 UTC (permalink / raw)
  To: ding


Below the backtrace when sending message.

Note, the error only happen when sending from an Imap folder where (gcc-self . t)

My imap server is Dovecot and I connect without ssl/tls but over ssh.

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

Debugger entered--Lisp error: (wrong-type-argument numberp nil)
  number-to-string(nil)
  (if (consp elem) (format "%d:%d" (car elem) (cdr elem)) (number-to-string elem))
  (cons (if (consp elem) (format "%d:%d" ... ...) (number-to-string elem)) result)
  (setq result (cons (if ... ... ...) result))
  (push (if (consp elem) (format "%d:%d" ... ...) (number-to-string elem)) result)
  (while --cl-dolist-temp-- (setq elem (car --cl-dolist-temp--)) (push (if ... ... ...) result) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--)))
  (let ((--cl-dolist-temp-- ranges) elem) (while --cl-dolist-temp-- (setq elem ...) (push ... result) (setq --cl-dolist-temp-- ...)) nil)
  (catch (quote --cl-block-nil--) (let (... elem) (while --cl-dolist-temp-- ... ... ...) nil))
  (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil)))
  (block nil (let (... elem) (while --cl-dolist-temp-- ... ... ...) nil))
  (dolist (elem ranges) (push (if ... ... ...) result))
  (cond ((numberp ranges) (number-to-string ranges)) ((numberp ...) (format "%d:%d" ... ...)) (t (dolist ... ...) (mapconcat ... ... ",")))
  (let (result) (cond (... ...) (... ...) (t ... ...)))
  nnimap-article-ranges((nil))
  (nnimap-send-command "UID STORE %s %sFLAGS.SILENT (%s)" (nnimap-article-ranges range) (if (eq action ...) "-" "+") (mapconcat (function identity) flags " "))
  (setq sequence (nnimap-send-command "UID STORE %s %sFLAGS.SILENT (%s)" (nnimap-article-ranges range) (if ... "-" "+") (mapconcat ... flags " ")))
  (progn (setq sequence (nnimap-send-command "UID STORE %s %sFLAGS.SILENT (%s)" ... ... ...)))
  (if flags (progn (setq sequence ...)))
  (when flags (setq sequence (nnimap-send-command "UID STORE %s %sFLAGS.SILENT (%s)" ... ... ...)))
  (let ((flags ...)) (when flags (setq sequence ...)))
  (let* ((--cl-rest-- action) (range ...) (action ...) (marks ...)) (let (...) (when flags ...)))
  (progn (let* (... ... ... ...) (let ... ...)))
  (destructuring-bind (range action marks) action (let (...) (when flags ...)))
  (while --cl-dolist-temp-- (setq action (car --cl-dolist-temp--)) (destructuring-bind (range action marks) action (let ... ...)) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--)))
  (let ((--cl-dolist-temp-- actions) action) (while --cl-dolist-temp-- (setq action ...) (destructuring-bind ... action ...) (setq --cl-dolist-temp-- ...)) nil)
  (catch (quote --cl-block-nil--) (let (... action) (while --cl-dolist-temp-- ... ... ...) nil))
  (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil)))
  (block nil (let (... action) (while --cl-dolist-temp-- ... ... ...) nil))
  (dolist (action actions) (destructuring-bind (range action marks) action (let ... ...)))
  (save-current-buffer (set-buffer (nnimap-buffer)) (erase-buffer) (dolist (action actions) (destructuring-bind ... action ...)) (when sequence (nnimap-wait-for-response sequence)))
  (with-current-buffer (nnimap-buffer) (erase-buffer) (dolist (action actions) (destructuring-bind ... action ...)) (when sequence (nnimap-wait-for-response sequence)))
  (let (sequence) (with-current-buffer (nnimap-buffer) (erase-buffer) (dolist ... ...) (when sequence ...)))
  (progn (let (sequence) (with-current-buffer ... ... ... ...)))
  (if (nnimap-possibly-change-group group server) (progn (let ... ...)))
  (when (nnimap-possibly-change-group group server) (let (sequence) (with-current-buffer ... ... ... ...)))
  nnimap-request-set-mark("INBOX" (((nil) del (read))) "Cloud")
  gnus-request-set-mark("INBOX" (((nil) del (read))))
  gnus-agent-synchronize-group-flags("INBOX" (((nil) del (read))) (nnimap "Cloud" (nnimap-address "localhost") (nnimap-server-port 10143) (nnimap-stream network) (nnimap-nov-is-evil nil) (nnir-search-engine imap)))
  gnus-agent-regenerate-group("INBOX" (nil))
  gnus-request-accept-article("INBOX" (nnimap "Cloud" (nnimap-address "localhost") (nnimap-server-port 10143) (nnimap-stream network) (nnimap-nov-is-evil nil) (nnir-search-engine imap)) t t)
  gnus-inews-do-gcc()
  gnus-agent-possibly-do-gcc()
  run-hooks(message-sent-hook)
  message-send(nil)
  message-send-and-exit(nil)
  call-interactively(message-send-and-exit nil nil)



-- 
Bruno




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-article-ranges error on sending message
  2010-09-30 14:57       ` Bruno Tavernier
@ 2010-10-01  7:32         ` Bruno Tavernier
  0 siblings, 0 replies; 6+ messages in thread
From: Bruno Tavernier @ 2010-10-01  7:32 UTC (permalink / raw)
  To: ding

Last pull seems to have fixed the bug.

Thanks!

-- 
Bruno




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-01  7:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30  7:51 nnimap-article-ranges error on sending message Bruno Tavernier
2010-09-30 13:06 ` Lars Magne Ingebrigtsen
2010-09-30 13:11   ` Adam Sjøgren
2010-09-30 13:13     ` Lars Magne Ingebrigtsen
2010-09-30 14:57       ` Bruno Tavernier
2010-10-01  7:32         ` Bruno Tavernier

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).