Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Problems accessing spam group (again)
@ 2004-06-08  5:13 Nelson Ferreira
  0 siblings, 0 replies; only message in thread
From: Nelson Ferreira @ 2004-06-08  5:13 UTC (permalink / raw)



Intermitently I've been getting the following error:

Signaling: (wrong-type-argument arrayp nil)
  gnus-dup-unsuppress-article(35829)
  gnus-mark-article-as-unread(35829 ?$)
  gnus-summary-mark-article(35829 ?$)
  spam-mark-junk-as-spam-routine()
  spam-summary-prepare()
  run-hooks(spam-summary-prepare)
  apply(run-hooks spam-summary-prepare)
  gnus-run-hooks(gnus-summary-prepare-hook)
  gnus-summary-prepare()
  gnus-summary-read-group-1("nnml:mail.spam" nil t nil nil nil)
  gnus-summary-read-group("nnml:mail.spam" nil t nil nil nil nil)
  gnus-group-read-group(nil t)
  gnus-group-select-group(nil)
  gnus-topic-select-group(nil)
  call-interactively(gnus-topic-select-group)

I traced it to gnus-dup-unsuppress-article being called when
gnus-dup-hashtb is not an array.

I fixed it with the following (trivial) patch, although not sure if it
is the solution to the real problem:

diff -u -r7.3 gnus-dup.el
--- gnus-dup.el 20 May 2004 08:02:39 -0000      7.3
+++ gnus-dup.el 8 Jun 2004 05:11:27 -0000
@@ -156,7 +156,7 @@
   "Stop suppression of ARTICLE."
   (let* ((header (gnus-data-header (gnus-data-find article)))
         (id     (when header (mail-header-id header))))
-    (when id
+    (when (and id gnus-dup-hashtb)
       (setq gnus-dup-list-dirty t)
       (setq gnus-dup-list (delete id gnus-dup-list))
       (unintern id gnus-dup-hashtb))))


-- 
Nelson Ferreira



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-08  5:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-08  5:13 [PATCH] Problems accessing spam group (again) Nelson Ferreira

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