确实是mac,我吧mac的防火墙关掉,现在能发文本了,但是2M多的图片还是set失败,报了下面错误:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/eventlet/hubs/selects.py",
line 52, in wait
listeners.get(fileno, noop).cb(fileno)
File "/Library/Python/2.7/site-packages/eventlet/greenthread.py",
line 192, in main
result = function(*args, **kwargs)
File "proxy.py", line 153, in handler
if store.set(key, buf, flag, rev):
File "proxy.py", line 106, in set
for addr in self.get_hosts_by_key(key)]
File "proxy.py", line 94, in _set
writer.write(value)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/
lib/python2.7/socket.py", line 324, in write
self.flush()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/
lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
Removing descriptor: 9
On Feb 6, 9:50 am, Davies Liu <
davies....@gmail.com> wrote:
> 看起来你是在Mac系统中碰到问题吧,那个Python的异常看起来是连接意外关闭,
> 是不是有什么外部原因(比如防火墙)导致连接强制关闭?
>
> 能不能描述一个能复现这个问题的方法?包括所处的环境等。
>
> 2012/2/4 amyth0s <
beyond.s...@gmail.com>: