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

SourceForge.net noreply at sourceforge.net
Wed Oct 1 21:15:12 EDT 2003


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

Category: None
Group: None
Status: Closed
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: Andy Knowles (andykn)
Date: 2003-10-02 01:15

Message:
Logged In: YES 
user_id=878540

Thanks for the prompt reply.



I Already had the Win32 extensions, thanks.



I have now realised that Outlook Express, 'Tools' 

menu, 'Accounts' option, 'Properties', 'Advanced' tab lists the 

SMTP port first, above the POP3 port, whereas the 

Spambayes config page list them in the same order as 

the 'Servers' tab. POP3 first. It now all works - training 

commences.

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

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-10-02 00:32

Message:
Logged In: YES 
user_id=552329

To use the service you need to also install the Python win32 

extensions.  You can get those from 

<http://starship.python.net/crew/mhammond>.



The readme has been corrected so that the next release will 

also include this information.  Apologies for the inconvenience.

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

Comment By: Andy Knowles (andykn)
Date: 2003-10-02 00:26

Message:
Logged In: YES 
user_id=878540

I have just tried to get all this to work and have managed to 

get a bit further.



I think the readme has been changed to say you need to run 

the command "net start pop3proxy"



If this does not start, look in Event Viewer, Applications for 

error messages. I searched for any files listed as missing in 

the error message and copied them into the root of the 

python23 directory. The service then started (Using the 

Services section of Manage Computer).



I can now open the configuration page and enter my mail 

servers but Outlook Express will not connect to them, 

reporting a No. Socket Error.



If you get any further than me Id love to hear how!

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

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-25 01: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 01: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 00: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 00: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