[spambayes-bugs] [ spambayes-Bugs-803819 ] Outlook from source reverts to old source location

SourceForge.net noreply at sourceforge.net
Sun Oct 26 20:43:36 EST 2003


Bugs item #803819, was opened at 2003-09-11 01:59
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=803819&group_id=61702

Category: Outlook
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Franz Nisswandt (fln)
Assigned to: Mark Hammond (mhammond)
Summary: Outlook from source reverts to old source location

Initial Comment:
I've been running this excellent add-in for Outlook 2000 
(from source, not the DLL) for a couple of months. I had 
not originally followed the directions :: I had merely 
extracted the source zip to C:\python\spambayes-1.0a5
\Outlook2000 and registered the addin (v1.0a4) by 
running addin.py from that folder.

I downloaded 1.0a5 source and followed the setup 
instructions more thoroughly and letting it install 
spambayes in the c:\python22\lib\site-packages folder, 
etc... I then moved the Outlook2000 folder from the 
extract location to c:\python22\lib\site-
packages\spambayes and unregistered and reregistered 
the addin:

addin.py --unregister 
addin.py 

from that folder. 

At this point, the plugin will no longer load. If I run 
manager.py from a cmd prompt, I get the attached 
output - in which it is referencing (from somewhere in 
the registry or outlook) the old 
c:\python\spambayes1.0a5\Outlook2000 folder where it 
was originally found. I can't seem to make Outlook (or 
python?) look for the new location and new version!

I've checked the registry and used regmon and filemon - 
sure enough, filemon checks both the old 1.0a4 and 
1.0a5 extract folders for the files. I'm running Python 
2.2.3 and the Win32com extensions 1.56.

I've even unregistered, deleted the Application 
Data\Spambayes stuff, reregistered, viewed the newly 
created .ini and .pck files, etc... to no avail.

Thanks,

FLN


----------------------------------------------------------------------

>Comment By: Mark Hammond (mhammond)
Date: 2003-10-27 12:43

Message:
Logged In: YES 
user_id=14198

Actually, the new location is almost certainly being used -
but the old location still referenced in the .pyc files that
were created in the original location.

You have struck a bug that we have sinced fixed.  You can
change line 33 of outlook2000\dialogs\__init__.py to read:

            rc_mtime = rc_size = None

(rc_size was not previously there), and it should fix it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=803819&group_id=61702



More information about the Spambayes-bugs mailing list