Hi, I was trying to run autoconfigure.py, but it doesn't work for some reason:
Traceback (most recent call last): File "H:\Downloads\Console2\SpamBayes\autoconfigure.py", line 75, in <module> from spambayes import oe_mailbox File "H:\Python26\lib\site-packages\spambayes-1.1a6-py2.6.egg\spambayes\oe_mailbox.py", line 41, in <module> from spambayes import msgs File "H:\Python26\lib\site-packages\spambayes-1.1a6-py2.6.egg\spambayes\msgs.py", line 6, in <module> from spambayes.tokenizer import tokenize File "H:\Python26\lib\site-packages\spambayes-1.1a6-py2.6.egg\spambayes\tokenizer.py", line 25, in <module> cache = dnscache.cache(cachefile=options["Tokenizer", "lookup_ip_cache"]) File "H:\Python26\lib\site-packages\spambayes-1.1a6-py2.6.egg\spambayes\dnscache.py", line 120, in __init__ DNS.DiscoverNameServers() File "H:\Python26\lib\site-packages\DNS\Base.py", line 64, in DiscoverNameServers defaults['server']=win32dns.RegistryResolve() File "H:\Python26\lib\site-packages\DNS\win32dns.py", line 66, in RegistryResolve nameserver = _winreg.QueryValueEx(y, "NameServer")[0].split() WindowsError: [Error 2] System can't find the file indicated. (this line is translated to English, it could be a bit different on English Windows). I have Windows XP with Python 2.6.5, pydns-2.3.4. installed too. I was split between asking here and on dev list, but it's just running the script no development involved (but let me know if dev list was more suited). While I'm a Python noob I'll probably find a way around by ignoring SB modules and accessing the SB ini file directly which is fairly easy, still thought to ask here whether there is some cleaner solution. Thank you! Tomas _______________________________________________ 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