[spambayes-bugs] [ spambayes-Support Requests-812076 ] Pop3Proxy won't run: no module 'win32api'

SourceForge.net noreply at sourceforge.net
Wed Sep 24 21:55:15 EDT 2003


Support Requests item #812076, was opened at 2003-09-25 10:01
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=812076&group_id=61702

>Category: None
>Group: None
>Status: Open
Priority: 5
Submitted By: Bob Swerdlow (swerdlow)
Assigned to: Nobody/Anonymous (nobody)
Summary: Pop3Proxy won't run: no module 'win32api'

Initial Comment:
Downloaded 1.0a6 and ran "python setup.py install" 

without problems.  



The readme then says: "Now launch pop3proxy, either 

by running the "pop3proxy_service.py" script (for those 

using Windows 2000, Windows NT or Windows XP), or 

the "sb_server.py" script (for everyone else)."



I'm running Windows XP, so I did "python 

pop3proxy_service.py" and got:



Traceback (most recent call last):

  File "pop3proxy_service.py", line 24, in ?

    import win32api

ImportError: No module named win32api



I've got Python 2.3.  How do I get past this?

----------------------------------------------------------------------

>Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-25 13:55

Message:
Logged In: YES 
user_id=552329

When you ran with "install", did you get something 

like "Installing service pop3proxy to Python class 

C:\spambayes_1_0\windows\pop3proxy_

service.Service

Service installed"?  (your path will be different, obviously).



Did you get "Starting service pop3proxy" after running 

with "start"?



If you look in the Services control panel (via the 

Administrative Tools one), you should see the 

pop3proxy/spambayes service listed.  It should say that it is 

started.



If you run "pop3proxy_service.py debug" you should get the 

service starting but printing out debugging information into 

the console.  Could you let us know what you get then?  It 

might be that the service has started, but can't use port 

8880 for some reason.

----------------------------------------------------------------------

Comment By: Bob Swerdlow (swerdlow)
Date: 2003-09-25 13:48

Message:
Logged In: YES 
user_id=873906

Okay, I installed win32all, but I'm not understanding how to 

start the service properly.  "python pop3proxy_service.py" 

gives me parameter information, so I tried "python 

pop3proxy_service.py install" followed by "python 

pop3proxy_service.py start" from the download directory.  

However, http://localhost:8880 produced no page.  Do I need 

to run this script from somewhere else, or as some particular 

user?  I feel like I'm being dense, but I don't see any more 

information in the ReadMe to help me get this set up.  Thanks 

for your help.

    

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-25 12:49

Message:
Logged In: YES 
user_id=552329

I'll update the readme to reflect the additional dependancy.

----------------------------------------------------------------------

Comment By: Adam Walker (xenogeist)
Date: 2003-09-25 12:01

Message:
Logged In: YES 
user_id=583713

You need to install win32all.

http://starship.python.net/crew/mhammond/win32/Downloads.html

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=812076&group_id=61702



More information about the Spambayes-bugs mailing list