[Spambayes]
[ spambayes-Bugs-697120 ] Manual filtering in Outlook (still) fails
SourceForge.net
noreply at sourceforge.net
Tue Mar 4 02:45:47 EST 2003
Bugs item #697120, was opened at 2003-03-04 09:24
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=697120&group_id=61702
Category: Outlook
Group: None
>Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Fredrik Rodland (fmmr)
Assigned to: Mark Hammond (mhammond)
Summary: Manual filtering in Outlook (still) fails
Initial Comment:
also see bug #696476 which is very similar to this one
(but has status: closed).
When trying to filter manually in outlook, I get this error.
I've tried to filter multiple folders, both with and wiothout
the "include subfolder-checkbox" set, and also ensured
that there was a message in the folder I trie3d to filter.
Traceback (most recent call last):
File "c:\Programfiler\_UTIL\spambayes_cvs\Outlook2000
\dialogs\AsyncDialog.py", line 98, in OnStart
self.StartProcess()
File "c:\Programfiler\_UTIL\spambayes_cvs\Outlook2000
\dialogs\FilterDialog.py", line 366, in StartProcess
self.mgr.EnsureOutlookFieldsForFolder(folder_id,
config.include_sub)
File "c:\Programfiler\_UTIL\spambayes_cvs\Outlook2000
\manager.py", line 290, in EnsureOutlookFieldsForFolder
folders = item.Folders
File "C:\PROGRA~1\_DEV\Python22\lib\site-
packages\win32com\client\__init__.py", line 402, in
__getattr__
if d is not None: return getattr(d, attr)
File "C:\PROGRA~1\_DEV\Python22\lib\site-
packages\win32com\client\__init__.py", line 368, in
__getattr__
raise AttributeError, "'%s' object has no attribute '%s'"
% (repr(self), attr)
AttributeError: '<win32com.gen_py.Microsoft Outlook
9.0 Object Library._MailItem>' object has no
attribute 'Folders'
win32ui: Error in Command Message handler for
command ID 1100, Code 0
----------------------------------------------------------------------
>Comment By: Fredrik Rodland (fmmr)
Date: 2003-03-04 11:45
Message:
Logged In: YES
user_id=724871
Well - i still get an error - bug reopened:
Traceback (most recent call last):
File "c:\Programfiler\_UTIL\spambayes_cvs\Outlook2000
\dialogs\AsyncDialog.py", line 98, in OnStart
self.StartProcess()
File "c:\Programfiler\_UTIL\spambayes_cvs\Outlook2000
\dialogs\FilterDialog.py", line 366, in StartProcess
self.mgr.EnsureOutlookFieldsForFolder(folder_id,
config.include_sub)
File "c:\Programfiler\_UTIL\spambayes_cvs\Outlook2000
\manager.py", line 293, in EnsureOutlookFieldsForFolder
self.EnsureOutlookFieldsForFolder(folder.EntryID, True)
File "c:\Programfiler\_UTIL\spambayes_cvs\Outlook2000
\manager.py", line 245, in EnsureOutlookFieldsForFolder
msgstore_folder = self.message_store.GetFolder(folder_id)
File "c:\Programfiler\_UTIL\spambayes_cvs\Outlook2000
\msgstore.py", line 232, in GetFolder
folder_id = self.NormalizeID(folder_id)
File "c:\Programfiler\_UTIL\spambayes_cvs\Outlook2000
\msgstore.py", line 186, in NormalizeID
assert False, "We expect fully qualified IDs"
AssertionError: We expect fully qualified IDs
win32ui: Error in Command Message handler for command ID
1100, Code 0
----------------------------------------------------------------------
Comment By: Mark Hammond (mhammond)
Date: 2003-03-04 11:33
Message:
Logged In: YES
user_id=14198
OK, finally fixed:
/cvsroot/spambayes/spambayes/Outlook2000/manager.py,v <--
manager.py
new revision: 1.52; previous revision: 1.51
I was tricked by the original traceback, which had an
appointment item. My previous checkin made sure *that*
couldn't happen again <wink>
Note that if you comment in the bug that it still fails, I
will simply re-open the old bug, rather than creating a new
one. Do that if this fix doesn't work :(
----------------------------------------------------------------------
Comment By: Fredrik Rodland (fmmr)
Date: 2003-03-04 11:11
Message:
Logged In: YES
user_id=724871
I've tested this some more. It seems like I was wrong in my
initial bug-report. everything seems to be working fine
if "include subfolder" is UNCHECKED. The filtering then both
handles empty and non-empty folders.
However if the "include subfolder" is CHECKED, the filtering
fails - also if all folders filtered contain mails.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=697120&group_id=61702
More information about the Spambayes
mailing list