[Spambayes] A most peculair problem with SB 1

Tony Meyer tameyer at ihug.co.nz
Mon Nov 15 05:09:25 CET 2004


> Tried that: sadly it's not working. Perhaps I'm doing 
> something wrong. 
> Stopped the running non-functional service, replaced the file in 
> python/scripts with your version, restarted the service and got the 
> following
> 
> C:\Python23\Scripts>pop3proxy_service.py start
> Traceback (most recent call last):
>   File "C:\Python23\Scripts\pop3proxy_service.py", line 157, in ?
>     sys32path = shell.SHGetFolderPath(0, shellcon.CSIDL_SYSTEM, 0, 0)
> AttributeError: 'module' object has no attribute 'CSIDL_SYSTEM'

What version of pywin32 are you using?  Mine (203) has
shellcon.CSIDL_SYSTEM, but it seems yours doesn't.

If you go to line 157 of "C:\Python23\Scripts\pop3proxy_service.py" and
change "shellcon.CSIDL_SYSTEM" to "37" (no quotes), that should fix it (so
that you can try the new script, at least).

=Tony.Meyer

-- 
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.



More information about the Spambayes mailing list