> -----Original Message----- > From: Mark Hammond [mailto:mhamm...@skippinet.com.au] > Sent: Wednesday, January 06, 2010 4:58 AM > To: Ocean > Cc: spambayes@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 because > > 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 to > > 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... > > Cheers, > > Mark 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! :) _______________________________________________ SpamBayes@python.org http://mail.python.org/mailman/listinfo/spambayes Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.html