* Re: Error when calling nnml-generate-nov-databases
[not found] <87psmenhur.fsf@ID-24456.user.uni-berlin.de>
@ 2006-02-06 19:06 ` Reiner Steib
2006-02-06 20:23 ` Christoph Conrad
0 siblings, 1 reply; 2+ messages in thread
From: Reiner Steib @ 2006-02-06 19:06 UTC (permalink / raw)
Cc: bugs
[ Redirecting to ding ]
On Fri, Jan 27 2006, Christoph Conrad wrote:
> No Gnus v0.4
> GNU Emacs 22.0.50.1 (i686-pc-linux-gnu)
> of 2006-01-27 on brabbelbox
> 200 news.online.de InterNetNews NNRP server INN 2.3.5 ready (posting ok).
>
> Debugger entered--Lisp error: (range-error "truncate" 1131214865.0)
> format("%s %d %d y\n" "trash\\.cur" 1131214865.0 1131214599.0)
> nnmail-generate-active((("trash.cur" (1131214599.0 . 1131214865.0))
> ("Von-Uni" (617 . 741)) [...]))
> nnmail-save-active((("trash.cur" (1131214599.0 . 1131214865.0))
> ("Von-Uni" (617 . 741)) [...] ("bogus" (2566 . 2848)))
> "/home/cc/Mail/active")
> nnml-generate-nov-databases-1("/home/cc/Mail/trash/cur"
> ("/home/cc/Mail/trash/" "/home/cc/Mail/"))
> nnml-generate-nov-databases-1("/home/cc/Mail/trash"
> ("/home/cc/Mail/")) nnml-generate-nov-databases-1("/home/cc/Mail/"
> nil t) nnml-generate-nov-databases("")
> call-interactively(nnml-generate-nov-databases)
> execute-extended-command(nil)
> call-interactively(execute-extended-command)
Hm, 1131214865.0 is larger than `most-positive-fixnum' (the largest
value that is representable in a Lisp integer) on your machine:
--8<---------------cut here---------------start------------->8---
ELISP> system-configuration
"i686-pc-linux-gnu"
ELISP> most-positive-fixnum
268435455
ELISP> (with-temp-buffer
(require 'nnmail)
(nnmail-generate-active '(("trash.cur" (1131214599.0 . 1131214865.0))
("Von-Uni" (617 . 741)) ))
(buffer-string))
*** Eval error *** Arithmetic range error: "truncate", 1131214865.0
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
ELISP> system-configuration
"x86_64-unknown-linux-gnu"
ELISP> most-positive-fixnum
1152921504606846975
ELISP> (with-temp-buffer
(require 'nnmail)
(nnmail-generate-active '(("trash.cur" (1131214599.0 . 1131214865.0))
("Von-Uni" (617 . 741)) ))
(buffer-string))
"trash.cur 1131214865 1131214599 y\nVon-Uni 741 617 y\n"
--8<---------------cut here---------------end--------------->8---
Could you investigate where the strange article counts in "trash.cur"
comes from?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 2+ messages in thread