[spambayes-bugs] [ spambayes-Support Requests-1178600 ] 1.1 alpha
storage conversion issue
SourceForge.net
noreply at sourceforge.net
Thu Apr 7 16:49:49 CEST 2005
Support Requests item #1178600, was opened at 2005-04-07 10:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=1178600&group_id=61702
Category: Install Problem (example)
Group: None
Status: Open
Priority: 5
Submitted By: Mike Hacker (mphacker)
Assigned to: Nobody/Anonymous (nobody)
Summary: 1.1 alpha storage conversion issue
Initial Comment:
I am running the Outlook version of Spambayes. I
unregistered version 1.0.x and I have registered
version 1.1 alpha. I would like to try the new
database format zodb.
I was able to run the command:
sb_dbexpimp.py -e -d default_bayes_database.db -f
bayes.csv to export the data from the existing datbase
file
When I try to run the following command I get an error.
sb_dbexpimp.py -i -f bayes.csv
-o Storage:persistent_use_database:zodb
-o
Storage:persistent_storage_file:default_bayes_database.fs
The error is:
Traceback (most recent call last):
File
"C:\Development\spambayes-1.1a1\scripts\sb_dbexpimp.py",
line 248, in ?
runImport(dbFN, useDBM, newDBM, flatFN)
File
"C:\Development\spambayes-1.1a1\scripts\sb_dbexpimp.py",
line 164, in runImport
bayes = spambayes.storage.open_storage(dbFN, useDBM)
File
"C:\Python24\Lib\site-packages\spambayes\storage.py",
line 891, in open_storage
return klass(data_source_name)
File
"C:\Python24\Lib\site-packages\spambayes\storage.py",
line 676, in __init__
self.load()
File
"C:\Python24\Lib\site-packages\spambayes\storage.py",
line 699, in load
import ZODB
ImportError: No module named ZODB
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=1178600&group_id=61702
More information about the Spambayes-bugs
mailing list