[Spambayes] FW: Windows 7 x64 - Problems
Ocean at cobaltnight.com
Wed Jan 6 14:54:57 CET 2010
> -----Original Message-----
> From: Mark Hammond [mailto:mhammond at skippinet.com.au]
> Sent: Wednesday, January 06, 2010 4:58 AM
> To: Ocean
> Cc: spambayes at python.org
> Subject: Re: [Spambayes] FW: Windows 7 x64 - Problems
> On 6/01/2010 6:08 PM, Ocean wrote:
> > The binary version is my last resort, both due to the fact that
> > running from it would mean running from an older version, and also
> > it means I would lose the multiple profile capability.
> If you are correct that your changes have no impact on your current
> problem, you could just install the binary version for the sake of
> diagnostics - once the problem is found, your modified version will then
> also work fine.
If I can't modify the source files for logging, I'll do that.
> > I'd be happy modifying the source so I get normal log behavior. If
> > I may ask, has instructions for this been posted anywhere? Or do I need
> > try and figure it out myself?
> There is not much in the way of developer-specific information - and it
> is assumed only developers will run from source. Looking for references
> to sys.frozen should point you in the right direction though...
The only relevant section I could find was in addin.py. I made the
appropriate modifications (commenting out "import win32traceutil" and
copying the body of the IF statement above it in it's place), unregistered
the addin, and re-registered it - but that didn't seem to do the trick.
The comments in this section mentioned moving to a logging module
later, but I couldn't find any other relevant logging sections. I pored
through the source by looking for instances of "frozen", variations on
logging, "win32traceutil", and "spambayes%d.log", but I couldn't find any
other place that seemed to be what I was looking for. Either I'm blind, or
it's nicely hidden! :)
More information about the SpamBayes