[Spambayes] FW: Windows 7 x64 - Problems

Ocean Ocean at cobaltnight.com
Fri Jan 8 18:28:33 CET 2010


	The log file would be written to the directory specified by the
environment variable as the Temp directory.  On my system, that points to a
directory that's not even on C:\, so that shouldn't be the issue.




> -----Original Message-----
> From: Doug Behm [mailto:dbehm at fa.ua.edu]
> Sent: Friday, January 08, 2010 12:13 PM
> To: Ocean
> Subject: RE: [Spambayes] FW: Windows 7 x64 - Problems
> 
> This is a thought on what may be the problem about logging. I had
installed a news reader in
> c:\program files as I had in XP and Vista, however, nothing was being
written in the files, it
> was as if I was using a new install each time I started the reader. I
searched the web and
> found that Win 7 won't write to files in program files and suggested
moving program to
> c:\reader which I did and things began to be saved.
> 
> ======================================================
> Douglas D. Behm, P.G.                      dbehm at fa.ua.edu
> University Geologist and Director - University Lands
> Office of Land Management and Real Estate Services
> University of Alabama
> 
> 
> -----Original Message-----
> From: spambayes-bounces+dbehm=fa.ua.edu at python.org [mailto:spambayes-
> bounces+dbehm=fa.ua.edu at python.org] On Behalf Of Ocean
> Sent: Thursday, January 07, 2010 1:09 PM
> To: 'Mark Hammond'
> Cc: spambayes at python.org
> Subject: Re: [Spambayes] FW: Windows 7 x64 - Problems
> 
> 
> 	Okay, since changing the source to allow normal logging wasn't
> working (even after you had confirmed that I did it correctly), I went
ahead
> and unregistered it, and installed the binary version.
> 
> 	So, as expected, the same problem exists when starting up Outlook.
> So, I go to grab the log file, and lo and behold - it's not there.  Okay,
> maybe SpamBayes isn't honoring the environment variable for the Temp
> directory and is storing it somewhere else, so I'll just go into the
> SpamBayes Manager, and pull it up from there.  I go to do that and get an
> error message - "The log file for this session could not be located."
> 
> 	Perhaps there was nothing wrong with my source code modification for
> the logging after all.  Obviously, SpamBayes has other issues with Outlook
> 2007 and Win 7 x64.
> 
> 	Since that didn't work, I uninstalled it and re-installed my
> original source version.
> 
> 	And, for what it's worth - I'm getting a message when I install or
> remove the addin from source:
> 
> 
> ------------------------------
> 
> D:\>"D:\Progs\SpamBayes 1.1a4\Outlook2000\addin.py" --unregister
> D:\Progs\SpamBayes 1.1a4\Outlook2000\addin.py:438: SyntaxWarning:
assertion
> is always true, perhaps remove parentheses?
>   assert(not self.manager.config.training.train_manual_spam,
> Unregistered: SpamBayes.OutlookAddin
> 
> D:\>
> 
> ------------------------------
> 
> D:\>"D:\Progs\SpamBayes 1.1a4\Outlook2000\addin.py"
> D:\Progs\SpamBayes 1.1a4\Outlook2000\addin.py:438: SyntaxWarning:
assertion
> is always true, perhaps remove parentheses?
>   assert(not self.manager.config.training.train_manual_spam,
> Registered: SpamBayes.OutlookAddin
> Registration complete.
> 
> D:\>
> 
> ------------------------------
> 
> 
> 	Don't know if it's important, but I thought I'd point it out.
> 
> 	So, it would now appear that we have two issues (three, if you count
> the message that comes up on install/uninstall from source) - whatever is
> causing SpamBayes to not enable when Outlook starts, and whatever is
causing
> it to be unable to create a log file.
> 
> 
> 	What now?
> 
> 
> 
> 
> > -----Original Message-----
> > From: Mark Hammond [mailto:mhammond at skippinet.com.au]
> > Sent: Wednesday, January 06, 2010 6:53 PM
> > To: Ocean
> > Cc: spambayes at python.org
> > Subject: Re: [Spambayes] FW: Windows 7 x64 - Problems
> >
> > On 7/01/2010 12:54 AM, Ocean wrote:
> > > 	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.
> >
> > That should be right - or just change the line:
> >
> >      if hasattr(sys, "frozen"):
> >
> > to something like:
> >
> >      if True or hasattr(sys, "frozen"):
> >
> > Also, ensure you don't register the addin with '--debug'
> >
> > HTH,
> >
> > Mark
> 
> _______________________________________________
> SpamBayes at 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
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.725 / Virus Database: 270.14.130/2607 - Release Date:
01/08/10 01:35:00
> 
> No virus found in this outgoing message.
> Checked by AVG - www.avg.com
> Version: 9.0.725 / Virus Database: 270.14.130/2607 - Release Date:
01/08/10 01:35:00



More information about the SpamBayes mailing list