on Mon Jul 23 2007, David Abrahams <dave-AT-boost-consulting.com> wrote:
> Persisting /home/dave/spambayes/hammie.fs state in database > Exception bsddb._db.DBAccessError: (13, 'Permission denied -- put: attempt > to modify a read-only tree') in <bound method HammieFilter.close of > <__main__.HammieFilter object at 0x8638c4c>> ignored This same error seemed to come up in https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1387699&group_id=61702 but at least in that case, there was a helpful backtrace. In my case: $ echo | sb_filter.py opened existing cache with 802 A records and 0 PTR records Loading state from /home/dave/spambayes/hammie.fs database /home/dave/spambayes/hammie.fs is an existing database, with 728 spam and 128 ham X-Spambayes-Classification: spam; 0.93 Persisting /home/dave/spambayes/hammie.fs state in database Exception bsddb._db.DBAccessError: (13, 'Permission denied -- put: attempt to modify a read-only tree') in <bound method HammieFilter.close of <__main__.HammieFilter object at 0x857cc2c>> ignored saving 124 items to /home/dave/spambayes/imagecache.pck I don't have train_on_filter=True, as in the SF ticket. I'm using Spambayes' CVS head. My .spambayesrc is attached.
[imap] server:localhost username:dave password:CeNsOrEd use_ssl:True spam_folder:INBOX.spam unsure_folder:INBOX.unsure ham_train_folders:INBOX.sb-training.ham spam_train_folders:INBOX.sb-training.spam [html_ui] port:8004 display_adv_find:True allow_remote_connections:localhost http_authentication:Basic http_password:CeNsOrEd [Storage] messageinfo_storage_file:/home/dave/spambayes/messageinfo.fs persistent_storage_file:/home/dave/spambayes/hammie.fs persistent_use_database:dbm [Headers] include_evidence:False include_score:True [Tokenizer] x-search_for_habeas_headers:True x-lookup_ip:True lookup_ip_cache:/home/dave/spambayes/dnscache x-pick_apart_urls:True x-ocr_engine:gocr max_image_size:100000 crack_images:True crack_image_cache:/home/dave/spambayes/imagecache.pck image_size:True record_header_absence:True summarize_email_prefixes:True summarize_email_suffixes:True mine_received_headers:True [URLRetriever] x-cache_directory:/home/dave/spambayes/url-cache [globals] verbose:True
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
_______________________________________________ SpamBayes@python.org http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.html