Gnus development mailing list
 help / color / mirror / Atom feed
* spam-stat-split-fancy: (wrong-type-argument stringp nil)
@ 2003-04-08  5:57 Mark Trettin
  2003-04-12 22:08 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Trettin @ 2003-04-08  5:57 UTC (permalink / raw)


Good morning,

Could somebody give me a hint why the following configuration yields the
Error: `spam-stat-split-fancy: (wrong-type-argument stringp nil)' 

--8<----------------------- schnipp ------------------------>8---
(require 'spam)
(require 'spam-stat)
(spam-stat-load)
(setq spam-use-stat t)

;;; ------------------------------------------ Spam-Stat Variablen ---
(setq spam-stat-split-fancy-spam-group "Spam")
;:*-------------------------------------------------------------------
;:*                                             Ein paar Variablen ---
;;; ----------------------------------------- Größe des MID-Caches ---
(setq nnmail-message-id-cache-length 5000)
;;; --------------------------------------------- Spam Indikatoren ---
;; text/html und kranke Zeichensätze
(add-hook 'nnmail-split-abbrev-alist
	  (cons 'content-spam "text/html\\|big5\\|gb2312\\|ks_c_.*\\|euc-kr"))
;;; ---------------------------------------------------- Duplikate ---
(setq nnmail-treat-duplicates 'warn     ; or 'delete
      nnmail-cache-accepted-message-ids t
      ;; Split Methode
      nnmail-split-methods 'nnmail-split-fancy
;;; ----------------------------------------------- BBDB Variablen ---
      ;; Meine Adressen (gesetzt in .gnus)
      bbdb/gnus-split-myaddr-regex gnus-ignored-from-addresses
      ;; Default (nil)
      bbdb/gnus-split-nomatch-function nil
      ;; Default 
      bbdb/gnus-split-default-group nil
;:*-------------------------------------------------------------------
;:*                                                         Regeln ---
      nnmail-split-fancy
      `(|
;;; -------------------------------------------- Spam Aussortieren ---
	;("Content-Type" content-spam "Spam")
	(: spam-stat-split-fancy)
	("X-Spam-Flag" "YES" "Spam")
;;; --------------------------------------------- Parent splitting ---
	(: nnmail-split-fancy-with-parent)

[ Snip ]

;;; --------------------------------------------------- BBDB Split ---
	(: (lambda ()
	     (car (bbdb/gnus-split-method))))
;;; ------------------------------------------------------- Usenet ---
	(to ".*\\(mtr-usenet@gmx.de\\)" "Usenet")
	(any ,gnus-ignored-from-addresses "GnusMail")
;;; ----------------------------------------------------- Der Rest ---
	"Spam"))
--8<----------------------- schnapp ------------------------>8---

TIA

Bye
	 Mark
-- 
Mark Trettin ------- *Aachen* -- Wo ist das? ------> N: 50°46' O: 06°05'
*Now Playing*: Qntal's "Virgo Splendens"
Album: Qntal II




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

* Re: spam-stat-split-fancy: (wrong-type-argument stringp nil)
  2003-04-08  5:57 spam-stat-split-fancy: (wrong-type-argument stringp nil) Mark Trettin
@ 2003-04-12 22:08 ` Lars Magne Ingebrigtsen
  2003-04-16  7:11   ` Mark Trettin
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-04-12 22:08 UTC (permalink / raw)


Mark Trettin <mtr-dev0@gmx.de> writes:

> Could somebody give me a hint why the following configuration yields the
> Error: `spam-stat-split-fancy: (wrong-type-argument stringp nil)' 

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

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



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

* Re: spam-stat-split-fancy: (wrong-type-argument stringp nil)
  2003-04-12 22:08 ` Lars Magne Ingebrigtsen
@ 2003-04-16  7:11   ` Mark Trettin
  2003-04-16  9:30     ` Alex Schroeder
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Trettin @ 2003-04-16  7:11 UTC (permalink / raw)


On Sun, 13 Apr 2003, Lars Magne Ingebrigtsen told this:
> Mark Trettin <mtr-dev0@gmx.de> writes:
> 
>> Could somebody give me a hint why the following configuration yields the
>> Error: `spam-stat-split-fancy: (wrong-type-argument stringp nil)' 
> 
> `(setq debug-on-error t)', repeat the bug and mail us the resulting
> backtrace.

I don't get any backtraces, that's my problem.  It's only in the
*Messages* Buffer (and in the echo-Area).  This is what I have in the
*Messages* Buffer:

,----
| Debug on Error enabled
| call-interactively: Quit
???
| Loading /home/mark/.spam-stat.el (source)...done
| Reading active file from localhost via nntp...
| Reading active file via nnml...
| nnml: Reading incoming mail from file...
| Error in spam-stat-split-fancy: (wrong-type-argument stringp nil)
`----

Bye
	 Mark
-- 
Mark Trettin ------- *Aachen* -- Wo ist das? ------> N: 50°46' O: 06°05'
BOFH excuse #348:

We're on Token Ring, and it looks like the token got loose.




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

* Re: spam-stat-split-fancy: (wrong-type-argument stringp nil)
  2003-04-16  7:11   ` Mark Trettin
@ 2003-04-16  9:30     ` Alex Schroeder
  2003-04-16 22:29       ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Schroeder @ 2003-04-16  9:30 UTC (permalink / raw)


Mark Trettin <mtr-dev0@gmx.de> writes:

> I don't get any backtraces, that's my problem.  It's only in the
> *Messages* Buffer (and in the echo-Area).  This is what I have in the
> *Messages* Buffer:
>
> ,----
> | Debug on Error enabled
> | call-interactively: Quit
> ???
> | Loading /home/mark/.spam-stat.el (source)...done
> | Reading active file from localhost via nntp...
> | Reading active file via nnml...
> | nnml: Reading incoming mail from file...
> | Error in spam-stat-split-fancy: (wrong-type-argument stringp nil)
> `----

Yeah, I remember faintly that all errors while splitting are caught
by the code somewhere...  :(

Alex.



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

* Re: spam-stat-split-fancy: (wrong-type-argument stringp nil)
  2003-04-16  9:30     ` Alex Schroeder
@ 2003-04-16 22:29       ` Lars Magne Ingebrigtsen
  2003-04-17  5:50         ` Mark Trettin
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-04-16 22:29 UTC (permalink / raw)


Alex Schroeder <alex@gnu.org> writes:

> Yeah, I remember faintly that all errors while splitting are caught
> by the code somewhere...  :(

The error catching should be switched off when `debug-on-error' is
set, in general.

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



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

* Re: spam-stat-split-fancy: (wrong-type-argument stringp nil)
  2003-04-16 22:29       ` Lars Magne Ingebrigtsen
@ 2003-04-17  5:50         ` Mark Trettin
  2003-04-27  3:01           ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Trettin @ 2003-04-17  5:50 UTC (permalink / raw)


On Thu, 17 Apr 2003, Lars Magne Ingebrigtsen stated:
> Alex Schroeder <alex@gnu.org> writes:
> 
>> Yeah, I remember faintly that all errors while splitting are caught
>> by the code somewhere...  :(
> 
> The error catching should be switched off when `debug-on-error' is
> set, in general.

Well, I've put:

(setq debug-on-error t)

into my ~/.emacs but I still don't get any backtraces.  (Debugging is
working. Pasting an empty killring produces a backtrace.)

Bye

	 Mark
-- 
Mark Trettin ------- *Aachen* -- Wo ist das? ------> N: 50°46' O: 06°05'
*Now Playing*: Theatre of Tragedy's "A Hamlet for a Slothful Vassal"
Album: Theatre of Tragedy




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

* Re: spam-stat-split-fancy: (wrong-type-argument stringp nil)
  2003-04-17  5:50         ` Mark Trettin
@ 2003-04-27  3:01           ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-04-27  3:01 UTC (permalink / raw)


Mark Trettin <mtr-dev0@gmx.de> writes:

>>> Yeah, I remember faintly that all errors while splitting are caught
>>> by the code somewhere...  :(
>> 
>> The error catching should be switched off when `debug-on-error' is
>> set, in general.
>
> Well, I've put:
>
> (setq debug-on-error t)

So there might be a bug in the spam-stat code that ignores errors
even when debug-on-error is set.

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



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

end of thread, other threads:[~2003-04-27  3:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-08  5:57 spam-stat-split-fancy: (wrong-type-argument stringp nil) Mark Trettin
2003-04-12 22:08 ` Lars Magne Ingebrigtsen
2003-04-16  7:11   ` Mark Trettin
2003-04-16  9:30     ` Alex Schroeder
2003-04-16 22:29       ` Lars Magne Ingebrigtsen
2003-04-17  5:50         ` Mark Trettin
2003-04-27  3:01           ` Lars Magne Ingebrigtsen

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