[Spambayes] convert databaseto csv

Tony Meyer tameyer at ihug.co.nz
Sun May 28 22:41:57 CEST 2006


> i'm trying to convert database with sb_dbexpimp.py i get
> this error:
>
> D:\spambayes-1.1a2\scripts>sb_dbexpimp.py -e -p  
> default_bayes_database.db -f
> xyx.db.exporte
> [...]
> tempbayes = pickle.load(fp)

The database probably isn't a pickle.  Try:

D:\spambayes-1.1a2\scripts>sb_dbexpimp.py -e -d  
default_bayes_database.db -f xyx.db.exporte

=Tony.Meyer

-- 
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.




More information about the SpamBayes mailing list