Menu

#86 Vista compatibility patch

open
Outlook (17)
5
2007-05-11
2007-05-10
No

The source version of SpamBayes does not work properly under Vista so far.

A simple 'import win32trace' fails under Vista because normal users have not enough rights to create the FileMapping used to communicate with the trace collector.

If you start the trace collector with higher rights (start as administrator) before starting SpamBayes everyone goes well.

With this patch SpamBayes tries to load win32traceutil. If that fails it goes back to the mechanism used by the binary release and simply writes a log file in temp directory.

Discussion

  • Marko von Oppen

    Marko von Oppen - 2007-05-10
     
  • Skip Montanaro

    Skip Montanaro - 2007-05-11
    • assigned_to: nobody --> mhammond
     
  • Mark Hammond

    Mark Hammond - 2007-05-18

    Logged In: YES
    user_id=14198
    Originator: NO

    FYI, I will end up rejecting this patch after we manage to cut a new release - pywin32's win32trace module should now work fine on Vista (but you will need to build your own from CVS to confirm that until a build 211 appears). Thanks though :)

     

Log in to post a comment.