[spambayes-bugs] [ spambayes-Bugs-1550228 ] 1.1a2-1.1a3: nonstandard characters in db path cause error
SourceForge.net
noreply at sourceforge.net
Fri Sep 1 02:22:44 CEST 2006
Bugs item #1550228, was opened at 2006-09-01 01:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1550228&group_id=61702
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Outlook
Group: 1.1.x
Status: Open
Resolution: None
Priority: 5
Submitted By: 2012 (twentytwelve)
Assigned to: Nobody/Anonymous (nobody)
Summary: 1.1a2-1.1a3: nonstandard characters in db path cause error
Initial Comment:
Windows XP Pro SP2. Outlook 2003 SP2. Clean install of
SB Outlook plugin.
1.0.4 works well. Both 1.1a2 and 1.1a3 seem to have
this problem. (1.0.4 and earlier versions have also
been used earlier on this sytem with no problems for
years.)
Assumption:
When the path to the db contains nonstandard
characters, the plugin fails to load the database with
"Failed to load bayes database" error at Outlook start.
Since the path by default includes the Windows profile
name, example "C:\Documents and Settings\Kristoffer
Björkman\Application Data\SpamBayes\[etc]", this should
be a very common problem for users in many countries.
I can't find a workaround for this with the Outlook
plugin version of SB. If there's no way to set the db
path to somewhere outside of the Windows profile
directory, this behaviour makes the application unusable.
See log (from v1.1a2) included below, also see what
seems a similar issue reported (with log) earlier at
<http://www.mail-archive.com/spambayes-bugs@python.org/msg00824.html>.
-----
ERROR: 'There was an error initializing the Spam
plugin.\r\n\r\nSpam filtering has been disabled.
Please re-configure\r\nand re-enable this
plugin\r\n\r\nError details:\r\nFailed to load bayes
database'
Traceback (most recent call last):
File "manager.pyc", line 457, in __init__
File "manager.pyc", line 258, in Load
UnicodeDecodeError: 'ascii' codec can't decode byte
0xf6 in position 39: ordinal not in range(128)
Error connecting to Outlook!
Traceback (most recent call last):
File "addin.pyc", line 1281, in OnConnection
File "manager.pyc", line 992, in GetManager
File "manager.pyc", line 460, in __init__
File "manager.pyc", line 283, in InitNew
File "manager.pyc", line 194, in new_bayes
OSError: [Errno 13] Permission denied: 'C:\\Documents
and Settings\\Kristoffer Bj\xf6rkman\\Application
Data\\SpamBayes\\default_bayes_database.db'
ERROR: 'There was an error initializing the SpamBayes
addin\r\n\r\nPlease re-start Outlook and try again.'
Traceback (most recent call last):
File "addin.pyc", line 1281, in OnConnection
File "manager.pyc", line 992, in GetManager
File "manager.pyc", line 460, in __init__
File "manager.pyc", line 283, in InitNew
File "manager.pyc", line 194, in new_bayes
OSError: [Errno 13] Permission denied: 'C:\\Documents
and Settings\\Kristoffer Bj\xf6rkman\\Application
Data\\SpamBayes\\default_bayes_database.db'
pythoncom error: Failed to call the universal dispatcher
Traceback (most recent call last):
File "win32com\universal.pyc", line 177, in dispatch
File "win32com\server\policy.pyc", line 332, in
_InvokeEx_
File "win32com\server\policy.pyc", line 654, in
_invokeex_
File "win32com\server\policy.pyc", line 588, in
_invokeex_
File "addin.pyc", line 1320, in OnStartupComplete
exceptions.AttributeError: 'NoneType' object has no
attribute 'never_configured'
pythoncom error: Unexpected gateway error
Traceback (most recent call last):
File "win32com\universal.pyc", line 177, in dispatch
File "win32com\server\policy.pyc", line 332, in
_InvokeEx_
File "win32com\server\policy.pyc", line 654, in
_invokeex_
File "win32com\server\policy.pyc", line 588, in
_invokeex_
File "addin.pyc", line 1320, in OnStartupComplete
exceptions.AttributeError: 'NoneType' object has no
attribute 'never_configured'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1550228&group_id=61702
More information about the Spambayes-bugs
mailing list