[Spambayes] *nix error after upgrade

Atom 'Smasher' atom at suspicious.org
Sun Nov 23 21:35:08 EST 2003


does anyone know what's going on?
does anyone know which app is causing the problem?
does anyone have spambayes-1.0a7 working on a *nix box with python-2.3?


ok... i just tore out all of the bsddb, python and spambayes packages, and
started over.

i now have:
   db3-3.3.11,1        The Berkeley DB package, revision 3.3
   db4-4.0.14_1,1      The Berkeley DB package, revision 4
   db41-4.1.25_1       The Berkeley DB package, revision 4.1
   py23-bsddb-2.3.2_1  Python bindings to the Berkeley DB library
   python-2.3.2_3      An interpreted object-oriented programming language
   spambayes-1.0a7

also, i tried building py23-bsddb with both "WITH_DB3" and "WITH_DB4" (one
at a time, and together) and it doesn't make any difference.

this is the type of error i'm getting:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$ sb_filter.py -n -d .hammiedb
Traceback (most recent call last):
  File "/usr/local/bin/sb_filter.py", line 186, in ?
    main()
  File "/usr/local/bin/sb_filter.py", line 174, in main
    h.newdb()
  File "/usr/local/bin/sb_filter.py", line 114, in newdb
    h.store()
  File "/usr/local/lib/python2.3/site-packages/spambayes/hammie.py", line 247, in store
    self.bayes.store()
AttributeError: 'NoneType' object has no attribute 'store'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


like i said earlier, i don't do any python scripting, so this is not so
intuitive to me. it still works fine with python 2.2... as soon is i
upgrade to python 2.3 i have problems.



	...atom

_______________________________________________
PGP key - http://smasher.suspicious.org/pgp.txt
3EBE 2810 30AE 601D 54B2 4A90 9C28 0BBF 3D7D 41E3
-------------------------------------------------

	"But I don't want to go among mad people," Alice remarked.
	"Oh, you can't help that," said the Cat.
		"We're all mad here. I'm mad. You're mad."
	"How do you know I'm mad?" said Alice.
	"You must be," said the Cat,
		"or you wouldn't have come here."

	    -- Lewis Carroll, Alice's Adventures in Wonderland




More information about the Spambayes mailing list