[Zope] socket.error: (10048, 'winsock error')
Michel Pelletier
michel@digicool.com
Fri, 9 Jul 1999 17:05:39 -0400
> -----Original Message-----
> From: O.l.i.v.e.r T.h.u.n.s [mailto:oliver.thuns@gmx.de]
> Sent: Friday, July 09, 1999 5:35 PM
> To: zope@zope.org
> Subject: [Zope] socket.error: (10048, 'winsock error')
>
>
> I tried to setup ZServer from the Zope-2.0.0a3-src.tgz archive. I
> untarred only the Zserver and the lib/python/ZPublisher directory
> (don't want to use Zope now, only ZPublisher). I get the following
> error when I execute the start.py (renamed to zserver.py).
>
> Any idea what could be wrong with my configuration?
>
> D:\opt\zope>python zserver.py
> log: adding channel <select-trigger (loopback) at 8409b0>
> Traceback (innermost last):
> File "zserver.py", line 84, in ?
> from HTTPServer import zhttp_server, zhttp_handler
> File "ZServer\HTTPServer.py", line 115, in ?
> from HTTPResponse import make_response
> File "ZServer\HTTPResponse.py", line 97, in ?
> from PubCore.ZEvent import Wakeup
> File "PubCore\ZEvent.py", line 91, in ?
> File "ZServer\medusa\select_trigger.py", line 102, in __init__
> a.bind (self.address)
> File "<string>", line 1, in bind
> socket.error: (10048, 'winsock error')
>
I've never used Windows but I suspect you don't have access rights to
bind to whatever port your using. This is what the 'bind' call does, at
least on UNIX.
-Michel
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>