[Spambayes] RE: export training?
Meyer, Tony
T.A.Meyer at massey.ac.nz
Wed Jul 9 17:54:17 EDT 2003
> OK, more strangeness: the error is this:
>
> Attempted to set [General] data_directory with invalid value
> \\bwtestxp\c$\data\Mail\SpamBayes (<type 'str'>)
Ha! It's got nothing to do with the fact that it's not local, then,
it's the '$' in the pathname. I'll correct this, so that pathnames can
have $'s in them. If you want to do this, you need to change the
definition of PATH in spambayes/OptionsClass.py to:
PATH = r"[\w\$\.\-~:\\/\*]+"
I presume all will be well, then.
=Tony Meyer
More information about the Spambayes
mailing list