[Spambayes] Win7 and Outlook 2010 64-bit
mhammond at skippinet.com.au
Tue Jun 8 03:26:03 CEST 2010
On 8/06/2010 11:21 AM, Greg Bahns wrote:
> I was able to capture the error below when trying to enable the add-in.
> Looks like write permissions in the win32com folder. I changed
> directory to the parent folder "C:\\Program
> Files\\Python26\\lib\\site-packages\\win32com\\gen_py\\" and ran this:
> C:\Program Files\Python26\Lib\site-packages> *C:\Program
> After this, I seem to have gotten past the write permissions, because I
> see the dicts.dat file now, with the current date and time.
Right - permissions is one reason Python doesn't install in Program
Files by default.
> But now it just crashes Outlook. I’m going to try to figure out what’s
> happening. Any troubleshooting tips would be appreciated. I’m a
> developer, but haven’t done Python in years, and have never done Outlook
> add-ins. For starters it would help to know what the entry point is when
> Outlook tries to load the add-in. In the Outlook add-in dialog it shows
> that the add-in is pythoncom26.dll, but I don’t see what script it’s
Outlook2000\addin.py is the 'entry-point' - although the entry-point is
actually the COM classes in that file, hence there is no __main__ block.
You will notice all the initialization done in the mainline (eg, the
code-block I mentioned yesterday) which would be a good place to start.
Sadly, crashers like this can be hard to pin down without a debugger and
debug versions of Python installed...
More information about the SpamBayes