Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+from-uce@imap.cc>
Cc: bugs@gnus.org
Subject: Re: Error when calling nnml-generate-nov-databases
Date: Mon, 06 Feb 2006 20:06:32 +0100	[thread overview]
Message-ID: <v9wtg8b93b.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87psmenhur.fsf@ID-24456.user.uni-berlin.de> (Christoph Conrad's message of "Fri, 27 Jan 2006 10:24:28 +0100")

[ 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/



       reply	other threads:[~2006-02-06 19:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87psmenhur.fsf@ID-24456.user.uni-berlin.de>
2006-02-06 19:06 ` Reiner Steib [this message]
2006-02-06 20:23   ` Christoph Conrad

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=v9wtg8b93b.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+from-uce@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=bugs@gnus.org \
    /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).