Can't connect to ZEO server on Solaris / Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ZODB |
Confirmed
|
Medium
|
Jim Fulton |
Bug Description
Hi,
I'm using ZODB-3.10.5 with Python-2.7.3 on SunOS 5.10 for i386.
When trying to connect to a local ZEO server, I get an error:
>>> from ZEO import ClientStorage
>>> cs = ClientStorage.
Exception in thread Connect([(2, ('localhost', 8100))]):
Traceback (most recent call last):
File "/usr/local/
self.run()
File "/var/local/
success = self.try_
File "/var/local/
wrappers = self._create_
File "/var/local/
for domain, addr in self._expand_
File "/var/local/
) in socket.
gaierror: [Errno 9] service name not available for the specified socket type
Actually, it seems that changing line 446 of ZEO/zrpc/client.py to:
) in socket.
solves the problem (at least on Solaris; I didn't checked on other platforms).
Regards,
Thierry
summary: |
- Can't connect to ZEO server on Solaris + Can't connect to ZEO server on Solaris / Windows |
Little mistake... ClientStorage( ('localhost' ,8100), 'mystorage')"
Of course, the correct syntax in my example is "cs = ClientStorage.
Regards,
Thierry